/* =========================================================
 * AOSO Branding Styles
 * Brain Box CRM System
 * ========================================================= */

/* AOSO Brand Colors */
:root {
  --aoso-red: #c60c30; /* AOSO Red - RGB: 198, 12, 48 */
  --aoso-green: #009b3a; /* AOSO Green - RGB: 0, 155, 58 */
  --aoso-red-hover: #a50928; /* Darker shade for hover */
  --aoso-green-hover: #007a2e; /* Darker shade for hover */
}

/* =========================================================
 * SIDEBAR STYLES
 * ========================================================= */

/* Sidebar Brand Styling */
.app-brand {
  background-color: #ffffff;
  border-bottom: 2px solid var(--aoso-red);
}

.app-brand-link {
  color: var(--aoso-red) !important;
}

.app-brand-link:hover {
  color: var(--aoso-red-hover) !important;
}

/* Menu Header Styling */
.menu-header {
  background-color: var(--aoso-red) !important;
  color: white !important;
  font-weight: bold;
}

.menu-header-text {
  color: white !important;
}

/* Active Menu Item Styling */
.menu-item.active > .menu-link {
  background: linear-gradient(135deg, var(--aoso-green) 0%, #00b33a 100%) !important;
  color: white !important;
  border-left: 4px solid var(--aoso-red);
  box-shadow: 0 2px 4px rgba(0, 155, 58, 0.3);
  font-weight: 600;
}

.menu-item.active > .menu-link:hover {
  background: linear-gradient(135deg, var(--aoso-green-hover) 0%, #008a2a 100%) !important;
  box-shadow: 0 3px 6px rgba(0, 155, 58, 0.4);
}

/* Menu Link Hover Effects */
.menu-link:hover {
  background-color: rgba(198, 12, 48, 0.15) !important;
  color: var(--aoso-red) !important;
  font-weight: 500;
}

/* Submenu Active Items */
.menu-sub .menu-item.active > .menu-link {
  background: rgba(0, 155, 58, 0.15) !important;
  color: var(--aoso-green) !important;
  border-left: 3px solid var(--aoso-green);
  font-weight: 600;
}

.menu-sub .menu-item.active > .menu-link:hover {
  background: rgba(0, 155, 58, 0.25) !important;
  color: var(--aoso-green-hover) !important;
}

/* Menu Toggle Button */
.menu-toggle:hover {
  background-color: rgba(198, 12, 48, 0.1) !important;
  color: var(--aoso-red) !important;
}

/* Icon Colors */
.menu-icon {
  color: var(--aoso-red) !important;
}

.menu-item.active .menu-icon {
  color: white !important;
}

.menu-sub .menu-item.active .menu-icon {
  color: var(--aoso-green) !important;
}

/* Badge Styling */
.badge.bg-danger {
  background-color: var(--aoso-red) !important;
}

/* Menu Shadow */
.menu-inner-shadow {
  background: linear-gradient(180deg, rgba(198, 12, 48, 0.1) 0%, transparent 100%);
}

/* Overall Menu Background */
.layout-menu {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Hover Transitions */
.menu-link, .menu-toggle {
  transition: all 0.3s ease;
}

/* Focus States */
.menu-link:focus, .menu-toggle:focus {
  outline: none;
}

/* =========================================================
 * LOGIN PAGE STYLES
 * ========================================================= */

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  max-width: 450px;
  width: 100%;
}

.login-header {
  background-color: #ffffff;
  padding: 40px 30px;
  text-align: center;
  color: var(--aoso-red);
  position: relative;
  border-bottom: 2px solid #e9ecef;
}

.logo-container {
  position: relative;
  z-index: 2;
}

.logo {
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.welcome-text {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--aoso-red);
}

.subtitle {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 400;
}

.login-body {
  padding: 40px 30px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 15px 20px 15px 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  width: 100%;
}

.form-control:focus {
  border-color: var(--aoso-red);
  box-shadow: 0 0 0 0.2rem rgba(198, 12, 48, 0.25);
  background: white;
}

.form-control-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--aoso-red);
  font-size: 1.2rem;
  z-index: 3;
}

.btn-login {
  background: linear-gradient(135deg, var(--aoso-red) 0%, var(--aoso-green) 100%);
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(198, 12, 48, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 12, 48, 0.4);
  color: white;
}

.btn-login:active {
  transform: translateY(0);
}

.alert {
  border-radius: 12px;
  border: none;
  padding: 15px 20px;
  margin-bottom: 25px;
  font-weight: 500;
}

.alert-danger {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
}

.alert-success {
  background: linear-gradient(135deg, var(--aoso-green) 0%, #00b33a 100%);
  color: white;
}

.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.powered-by {
  text-align: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.powered-by strong {
  color: white;
}

/* =========================================================
 * CHANGE PASSWORD PAGE STYLES
 * ========================================================= */

.change-password-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.change-password-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  max-width: 500px;
  width: 100%;
}

.change-password-header {
  background-color: #ffffff;
  padding: 40px 30px;
  text-align: center;
  color: var(--aoso-red);
  position: relative;
  border-bottom: 2px solid #e9ecef;
}

.change-password-body {
  padding: 40px 30px;
}

.form-label {
  font-weight: 600;
  color: var(--aoso-red);
  margin-bottom: 8px;
  display: block;
}

.btn-change-password {
  background: linear-gradient(135deg, var(--aoso-red) 0%, var(--aoso-green) 100%);
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(198, 12, 48, 0.3);
}

.btn-change-password:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 12, 48, 0.4);
  color: white;
}

.btn-change-password:active {
  transform: translateY(0);
}

.password-requirements {
  background: rgba(198, 12, 48, 0.05);
  border: 1px solid rgba(198, 12, 48, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.password-requirements h6 {
  color: var(--aoso-red);
  font-weight: 600;
  margin-bottom: 15px;
}

.password-requirements ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.password-requirements li {
  color: #6c757d;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

/* =========================================================
 * RESPONSIVE DESIGN
 * ========================================================= */

@media (max-width: 768px) {
  /* Login Page Mobile */
  .login-container {
    padding: 10px;
  }

  .login-card {
    margin: 10px;
    max-width: 100%;
    border-radius: 15px;
  }

  .login-header {
    padding: 25px 20px;
  }

  .login-body {
    padding: 25px 20px;
  }

  .welcome-text {
    font-size: 1.4rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .logo {
    height: 50px;
  }

  .form-control {
    height: 45px;
    padding: 12px 15px 12px 45px;
    font-size: 0.95rem;
  }

  .form-control-icon {
    left: 15px;
    font-size: 1.1rem;
  }

  .btn-login {
    padding: 12px 25px;
    font-size: 1rem;
  }

  /* Change Password Page Mobile */
  .change-password-container {
    padding: 10px;
  }

  .change-password-card {
    margin: 10px;
    max-width: 100%;
    border-radius: 15px;
  }

  .change-password-header {
    padding: 25px 20px;
  }

  .change-password-body {
    padding: 25px 20px;
  }

  .btn-change-password {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .password-requirements {
    padding: 15px;
  }

  .password-requirements h6 {
    font-size: 0.95rem;
  }

  .password-requirements li {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  /* Login Page Small Mobile */
  .login-container {
    padding: 5px;
  }

  .login-card {
    margin: 5px;
  }

  .login-header {
    padding: 20px 15px;
  }

  .login-body {
    padding: 20px 15px;
  }

  .welcome-text {
    font-size: 1.3rem;
  }

  .subtitle {
    font-size: 0.85rem;
  }

  .logo {
    height: 45px;
  }

  .form-control {
    height: 42px;
    padding: 10px 12px 10px 42px;
    font-size: 0.9rem;
  }

  .form-control-icon {
    left: 12px;
    font-size: 1rem;
  }

  .btn-login {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* Change Password Page Small Mobile */
  .change-password-container {
    padding: 5px;
  }

  .change-password-card {
    margin: 5px;
  }

  .change-password-header {
    padding: 20px 15px;
  }

  .change-password-body {
    padding: 20px 15px;
  }

  .btn-change-password {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .password-requirements {
    padding: 12px;
  }

  .password-requirements h6 {
    font-size: 0.9rem;
  }

  .password-requirements li {
    font-size: 0.8rem;
  }
}

.tasks-page {
  padding: 20px 0;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #c60c30 0%, #009b3a 100%);
  border-radius: 24px;
  padding: 2rem;
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(198, 12, 48, 0.2);
}

.header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.title-icon {
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.stats-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
}

.stat-badge i {
  font-size: 1rem;
}

.btn-add-task {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: none;
}

.btn-add-task:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Kanban Board */
.kanban-board {
  margin-top: 2rem;
}

.kanban-column {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.column-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #f1f3f4;
}

.column-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.todo-column .column-icon {
  background: linear-gradient(135deg, #c60c30, #ff6b6b);
}

.progress-column .column-icon {
  background: linear-gradient(135deg, #fd7e14, #ffc107);
}

.completed-column .column-icon {
  background: linear-gradient(135deg, #009b3a, #00d4aa);
}

.column-info {
  flex: 1;
}

.column-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.task-count {
  font-size: 0.9rem;
  color: #6c757d;
}

.column-content {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
}

/* Task Cards */
.task-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f3f4;
  transition: all 0.3s ease;
}

.task-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.task-card.completed {
  opacity: 0.8;
  background: #f8f9fa;
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.task-priority {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.priority-high {
  background: linear-gradient(135deg, #c60c30, #ff6b6b);
  color: white;
}

.priority-medium {
  background: linear-gradient(135deg, #fd7e14, #ffc107);
  color: white;
}

.priority-low {
  background: linear-gradient(135deg, #009b3a, #00d4aa);
  color: white;
}

.action-btn {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: rgba(198, 12, 48, 0.1);
  color: #c60c30;
}

.task-content {
  margin-bottom: 1rem;
}

.task-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.task-description {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.task-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.due-date, .completed-date, .assigned-users {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.due-date i, .completed-date i, .assigned-users i {
  color: #c60c30;
  font-size: 1rem;
}

.task-footer {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-status {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-todo {
  background: linear-gradient(135deg, #c60c30, #ff6b6b);
  color: white;
}

.btn-todo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(198, 12, 48, 0.3);
  color: white;
}

.btn-complete {
  background: linear-gradient(135deg, #009b3a, #00d4aa);
  color: white;
}

.btn-complete:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 155, 58, 0.3);
  color: white;
}

.btn-back, .btn-reopen {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
  color: white;
}

.btn-back:hover, .btn-reopen:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
  color: white;
}

.btn-progress {
  background: linear-gradient(135deg, #fd7e14, #ffc107);
  color: white;
}

.btn-progress:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
  color: white;
}

/* Modal Styling */
.modern-modal {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modern-modal .modal-header {
  background: linear-gradient(135deg, #c60c30, #009b3a);
  color: white;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

.modern-modal .modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-input, .modern-select, .modern-textarea {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.modern-input:focus, .modern-select:focus, .modern-textarea:focus {
  border-color: #c60c30;
  box-shadow: 0 0 0 0.2rem rgba(198, 12, 48, 0.25);
  outline: none;
}

.modern-btn {
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modern-btn:hover {
  transform: translateY(-2px);
}

/* Select2 Dropdown Fix */
.select2-container--bootstrap-5 {
  z-index: 9999 !important;
}

.select2-dropdown {
  z-index: 9999 !important;
  border: 2px solid #c60c30 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.select2-container--bootstrap-5 .select2-selection {
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
  border-color: #c60c30 !important;
  box-shadow: 0 0 0 0.2rem rgba(198, 12, 48, 0.25) !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
  background: linear-gradient(135deg, #c60c30, #009b3a) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.25rem 0.5rem !important;
  margin: 0.25rem !important;
}

.select2-container--bootstrap-5 .select2-selection__choice__remove {
  color: white !important;
  margin-right: 0.5rem !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
  background: linear-gradient(135deg, #c60c30, #009b3a) !important;
  color: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
      font-size: 2rem;
  }

  .title-icon {
      font-size: 1.5rem;
  }

  .page-subtitle {
      font-size: 1rem;
  }

  .stats-badges {
      gap: 0.5rem;
  }

  .stat-badge {
      font-size: 0.8rem;
      padding: 0.4rem 0.8rem;
  }

  .btn-add-task {
      width: 100%;
      justify-content: center;
      margin-top: 1rem;
  }

  .kanban-column {
      margin-bottom: 2rem;
  }

  .task-card {
      padding: 1rem;
  }

  .task-footer {
      flex-direction: column;
  }

  .btn-status {
      width: 100%;
  }
}

@media (max-width: 576px) {
  .page-header {
      padding: 1.5rem;
  }

  .page-title {
      font-size: 1.5rem;
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
  }

  .title-icon {
      font-size: 1.25rem;
  }

  .page-subtitle {
      font-size: 0.9rem;
      text-align: center;
  }

  .stats-badges {
      flex-direction: column;
      gap: 0.5rem;
      justify-content: center;
  }

  .stat-badge {
      font-size: 0.75rem;
      padding: 0.3rem 0.6rem;
      justify-content: center;
  }

  .btn-add-task {
      padding: 0.6rem 0.8rem;
      font-size: 0.85rem;
  }

  .column-header {
      padding: 1rem;
  }

  .column-icon {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
  }

  .column-title {
      font-size: 1.1rem;
  }

  .task-title {
      font-size: 1rem;
  }

  .task-description {
      font-size: 0.85rem;
  }
}

.notifications-page {
  padding: 20px 0;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #c60c30 0%, #009b3a 100%);
  border-radius: 24px;
  padding: 2rem;
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(198, 12, 48, 0.2);
}

.header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.title-icon {
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.stats-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
}

.stat-badge i {
  font-size: 1rem;
}

.btn-mark-all-read {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: none;
}

.btn-mark-all-read:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Filters Section */
.filters-section {
  margin-bottom: 2rem;
}

.filter-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-options {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  color: #6c757d;
  background: white;
}

.filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #c60c30;
  border-color: #c60c30;
}

.filter-btn.active {
  background: linear-gradient(135deg, #c60c30, #009b3a);
  color: white;
  border-color: transparent;
}

.notification-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #009b3a, #00d4aa);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Notifications Container */
.notifications-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Notification Cards */
.notification-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f3f4;
  transition: all 0.3s ease;
}

.notification-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.notification-card.unread {
  border-left: 4px solid #c60c30;
  background: linear-gradient(135deg, rgba(198, 12, 48, 0.05) 0%, rgba(0, 155, 58, 0.05) 100%);
}

.notification-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notification-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.notification-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notification-card.unread .notification-icon {
  background: linear-gradient(135deg, #c60c30, #ff6b6b);
}

.notification-card:not(.unread) .notification-icon {
  background: linear-gradient(135deg, #009b3a, #00d4aa);
}

.notification-info {
  flex: 1;
}

.notification-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.notification-message {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 0;
}

.notification-status {
  flex-shrink: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.unread-badge {
  background: linear-gradient(135deg, #c60c30, #ff6b6b);
  color: white;
}

.read-badge {
  background: linear-gradient(135deg, #009b3a, #00d4aa);
  color: white;
}

/* Notification Meta */
.notification-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.meta-info {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.timestamp, .initiator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.85rem;
}

.notification-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.btn-view {
  background: linear-gradient(135deg, #c60c30, #ff6b6b);
  color: white;
}

.btn-view:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(198, 12, 48, 0.3);
  color: white;
}

.btn-mark-read {
  background: linear-gradient(135deg, #009b3a, #00d4aa);
  color: white;
}

.btn-mark-read:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 155, 58, 0.3);
  color: white;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6c757d;
}

.empty-icon {
  font-size: 4rem;
  color: #c60c30;
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.empty-description {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.modern-pagination .pagination {
  gap: 0.5rem;
}

.modern-pagination .page-link {
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #6c757d;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.modern-pagination .page-link:hover {
  background: linear-gradient(135deg, #c60c30, #009b3a);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(198, 12, 48, 0.3);
}

.modern-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #c60c30, #009b3a);
  color: white;
  box-shadow: 0 4px 15px rgba(198, 12, 48, 0.3);
}

.modern-pagination .page-item.disabled .page-link {
  background: #f8f9fa;
  color: #adb5bd;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
      font-size: 2rem;
  }

  .title-icon {
      font-size: 1.5rem;
  }

  .page-subtitle {
      font-size: 1rem;
  }

  .stats-badges {
      gap: 0.5rem;
  }

  .stat-badge {
      font-size: 0.8rem;
      padding: 0.4rem 0.8rem;
  }

  .btn-mark-all-read {
      width: 100%;
      justify-content: center;
      margin-top: 1rem;
  }

  .filter-options {
      flex-direction: column;
      align-items: stretch;
  }

  .filter-btn {
      justify-content: center;
  }

  .notification-counter {
      justify-content: center;
  }

  .notification-meta {
      flex-direction: column;
      align-items: stretch;
  }

  .meta-info {
      justify-content: center;
  }

  .notification-actions {
      justify-content: center;
  }
}

@media (max-width: 576px) {
  .page-header {
      padding: 1.5rem;
  }

  .page-title {
      font-size: 1.5rem;
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
  }

  .title-icon {
      font-size: 1.25rem;
  }

  .page-subtitle {
      font-size: 0.9rem;
      text-align: center;
  }

  .stats-badges {
      flex-direction: column;
      gap: 0.5rem;
      justify-content: center;
  }

  .stat-badge {
      font-size: 0.75rem;
      padding: 0.3rem 0.6rem;
      justify-content: center;
  }

  .btn-mark-all-read {
      padding: 0.6rem 0.8rem;
      font-size: 0.85rem;
  }

  .notification-card {
      padding: 1rem;
  }

  .notification-header {
      flex-direction: column;
      gap: 0.5rem;
  }

  .notification-icon {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
  }

  .notification-title {
      font-size: 1rem;
  }

  .notification-message {
      font-size: 0.9rem;
  }

  .btn-action {
      padding: 0.4rem 0.8rem;
      font-size: 0.8rem;
  }

  .empty-state {
      padding: 2rem 1rem;
  }

  .empty-icon {
      font-size: 3rem;
  }

  .empty-title {
      font-size: 1.25rem;
  }

  .empty-description {
      font-size: 0.9rem;
  }
}
