@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Dynamic Theme Variable Configuration */
body[data-theme="combined"] {
  --primary: #475569;
  --primary-hover: #334155;
  --primary-bg: #f8fafc;
  --primary-light: #f1f5f9;
  --primary-border: #e2e8f0;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-light: #d1fae5;
  --theme-glow: rgba(16, 185, 129, 0.1);
  --header-gradient: linear-gradient(135deg, #1e293b 0%, #475569 100%);
}

body[data-theme="society_a"] {
  --primary: #0f766e;
  --primary-hover: #0d9488;
  --primary-bg: #fdfdfd;
  --primary-light: #f0fdfa;
  --primary-border: #ccfbf1;
  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-light: #fef3c7;
  --theme-glow: rgba(13, 148, 136, 0.1);
  --header-gradient: linear-gradient(135deg, #042f2e 0%, #0f766e 100%);
}

body[data-theme="society_bc"] {
  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --primary-bg: #fdfdfd;
  --primary-light: #eff6ff;
  --primary-border: #dbeafe;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-light: #ffedd5;
  --theme-glow: rgba(30, 58, 138, 0.08);
  --header-gradient: linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 100%);
}

body[data-theme="society_d"] {
  --primary: #581c87;
  --primary-hover: #6b21a8;
  --primary-bg: #fdfdfd;
  --primary-light: #faf5ff;
  --primary-border: #f3e8ff;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-light: #ccfbf1;
  --theme-glow: rgba(88, 28, 135, 0.08);
  --header-gradient: linear-gradient(135deg, #3b0764 0%, #581c87 100%);
}

/* Global Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f1f5f9;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: #0f172a;
}

/* Sidebar Styling */
.sidebar {
  width: 260px;
  background-color: #1e293b;
  color: #f8fafc;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 24px 12px;
  border-bottom: 1px solid #334155;
  margin-bottom: 24px;
}

.logo-icon {
  background-color: var(--accent, #10b981);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.logo-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.logo-text span {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links li a:hover {
  background-color: #334155;
  color: #f8fafc;
}

.nav-links li.active a {
  background-color: var(--primary);
  color: #ffffff;
}

.nav-links li.active a i {
  color: var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid #334155;
  padding-top: 16px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* Main Content Area */
.main-wrapper {
  margin-left: 260px;
  flex-grow: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Header Styling */
header {
  background: var(--header-gradient);
  color: #ffffff;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 99;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.society-switcher-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.society-select {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.society-select:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.society-select option {
  background-color: #1e293b;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: normal;
}

.header-reg-no {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-stat {
  text-align: right;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.header-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-stat-value {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

/* Content Container */
.content-container {
  padding: 32px;
  flex-grow: 1;
}

/* Tab Viewports Switcher */
.tab-viewport {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-viewport.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Metrics Cards Row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-border);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
}

.metric-card.accent::before {
  background-color: var(--accent);
}

.metric-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: #0f172a;
}

.metric-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.metric-card.accent .metric-icon {
  background-color: var(--accent-light);
  color: var(--accent);
}

/* Grid Layouts for Dashboards */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.dashboard-full-row {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-full-row {
    grid-column: span 1;
  }
}

/* Card Styling */
.panel-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.panel-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title i {
  color: var(--primary);
}

.panel-body {
  padding: 24px;
}

/* Search and Filters Bar */
.filter-bar {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.search-input-wrap {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px var(--theme-glow);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background-color: #ffffff;
  outline: none;
  cursor: pointer;
  min-width: 150px;
}

.filter-select:focus {
  border-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 10px -2px var(--theme-glow);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-danger {
  background-color: #ef4444;
  color: #ffffff;
}

.btn-danger:hover {
  background-color: #dc2626;
}

/* Tables and Lists */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.custom-table th {
  background-color: #f8fafc;
  padding: 14px 16px;
  font-weight: 600;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
}

.custom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background-color: #f8fafc;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 550;
  border-radius: 9999px;
  text-transform: capitalize;
}

.badge-success {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-warning {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-info {
  background-color: #e0f2fe;
  color: #075985;
}

.badge-neutral {
  background-color: #f1f5f9;
  color: #475569;
}

/* Pagination Controls */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.pagination-info {
  font-size: 14px;
  color: #64748b;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Document Grid */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.doc-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.doc-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: 0 8px 12px rgba(0,0,0,0.05);
}

.doc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.doc-card.completed .doc-icon-wrap {
  background-color: #d1fae5;
  color: #10b981;
}

.doc-card.missing .doc-icon-wrap {
  background-color: #fee2e2;
  color: #ef4444;
}

.doc-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.doc-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.doc-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

/* Modal Styling */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background-color: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 10;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  position: sticky;
  bottom: 0;
  background-color: #ffffff;
  z-index: 10;
}

/* Forms in Modals */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .form-group.full-width {
    grid-column: span 1;
  }
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--theme-glow);
}

.form-input:disabled {
  background-color: #f1f5f9;
  cursor: not-allowed;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.form-check input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Activity Logger List */
.activity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activity-item {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.activity-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  margin-top: 5px;
  flex-shrink: 0;
}

.activity-time {
  color: #94a3b8;
  white-space: nowrap;
  font-size: 11px;
}

/* Charts Containers */
.chart-container {
  position: relative;
  height: 280px;
  width: 100%;
}

/* Committee grid */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.committee-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: relative;
}

.committee-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.committee-name {
  font-weight: 600;
  color: #0f172a;
  font-size: 15px;
}

.committee-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  margin: 4px 0 12px 0;
}

.committee-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

/* Printable Elements and General CSS for Receipts */
.receipt-print-container {
  display: none;
  background-color: #ffffff;
  padding: 30px;
  color: #000;
  font-family: 'Inter', sans-serif;
  max-width: 650px;
  margin: 0 auto;
}

.receipt-header {
  text-align: center;
  border-bottom: 2px solid #000;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.receipt-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.receipt-reg-no {
  font-size: 11px;
  color: #555;
  margin-bottom: 6px;
}

.receipt-receipt-no {
  font-size: 16px;
  font-weight: 700;
  background-color: #eee;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  margin-top: 6px;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
}

.receipt-meta-item strong {
  display: inline-block;
  width: 120px;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 13px;
}

.receipt-table th, .receipt-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}

.receipt-table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.receipt-table th.amount, .receipt-table td.amount {
  text-align: right;
  width: 120px;
}

.receipt-table tr.total-row td {
  font-weight: 700;
  background-color: #f5f5f5;
  border-top: 2px solid #000;
}

.receipt-words {
  font-size: 12px;
  font-style: italic;
  margin-bottom: 30px;
  padding: 8px;
  background-color: #fafafa;
  border-radius: 4px;
  border: 1px dashed #ddd;
}

.receipt-signatures {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  font-size: 12px;
}

.receipt-sig-block {
  text-align: center;
  width: 150px;
}

.receipt-sig-line {
  border-top: 1px solid #000;
  margin-top: 30px;
  padding-top: 4px;
  font-weight: 600;
}

/* Printing styling configurations */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  .sidebar, header, .filter-bar, .pagination-container, .btn, .modal-overlay, .content-container {
    display: none !important;
  }
  .receipt-print-container {
    display: block !important;
    border: none !important;
    padding: 0 !important;
  }
}

/* Login Portal Styles */
.login-overlay-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0f172a;
  background-image: radial-gradient(circle at 10% 20%, rgba(15, 118, 110, 0.15) 0%, transparent 40%), 
                    radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.15) 0%, transparent 40%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.login-card {
  background-color: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  animation: fadeIn 0.4s ease;
}

.login-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.login-logo-icon {
  background-color: #10b981;
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.login-logo-text h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.login-logo-text span {
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 28px;
  font-weight: 500;
}

.login-form-group {
  margin-bottom: 20px;
}

.login-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.login-select, .login-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.login-select:focus, .login-input:focus {
  border-color: #10b981;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.login-error {
  color: #ef4444;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
}

.login-help-text {
  margin-top: 24px;
  padding: 12px;
  background-color: #f8fafc;
  border-radius: 8px;
  font-size: 12px;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.login-help-text p {
  margin-bottom: 4px;
}
.login-help-text p:last-child {
  margin-bottom: 0;
}

/* User profile header widget */
.header-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.header-user-text {
  text-align: right;
}

.header-user-name {
  font-size: 14px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

.header-user-role {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-logout {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ==================== GENERAL BODY MEETINGS STYLES ==================== */

@keyframes pulse-border-agm {
  0% { border-color: rgba(217, 119, 6, 0.4); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4); }
  70% { border-color: rgba(217, 119, 6, 1); box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
  100% { border-color: rgba(217, 119, 6, 0.4); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

@keyframes pulse-border-sgm {
  0% { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { border-color: rgba(239, 68, 68, 1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.meeting-notice-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.9) 0%, rgba(255, 241, 242, 0.9) 100%);
  border: 2px solid #ef4444;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.meeting-notice-card.sgm {
  animation: pulse-border-sgm 2s infinite;
}

.meeting-notice-card.agm {
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.9) 0%, rgba(254, 243, 199, 0.9) 100%);
  border-color: #d97706;
  animation: pulse-border-agm 2s infinite;
}

.meeting-notice-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meeting-badge-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
}

.meeting-notice-card.sgm .meeting-badge-pulse {
  background-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.meeting-notice-card.agm .meeting-badge-pulse {
  background-color: #d97706;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
}

.meeting-notice-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meeting-notice-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.meeting-notice-card.sgm .meeting-notice-type {
  color: #dc2626;
}

.meeting-notice-card.agm .meeting-notice-type {
  color: #b45309;
}

.meeting-notice-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.meeting-notice-schedule {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 12px;
}

.meeting-notice-schedule span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.meeting-notice-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Agenda styling in details modal */
.meeting-detail-agenda {
  white-space: pre-line;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}

