:root {
  --primary-color: #1e40af;
  --primary-hover: #2563eb;
  --secondary-color: #3b82f6;
  --tertiary-color: #93c5fd;
  --accent-color: #fbbf24;
  --success-color: #22c55e;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --light-bg: #f8fafc;
  --dark-bg: #1e293b;
  --card-bg: #ffffff;
  --text-color: #0f172a;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 0;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

header p {
  margin: 5px 0 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid var(--light-bg);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: white;
  margin-top: 20px;
  font-size: 1.1rem;
}

/* Demo Data Banner */
.demo-data-banner {
  background-color: var(--warning-color);
  color: white;
  padding: 10px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.demo-data-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.btn-clear-demo {
  background-color: white;
  color: var(--warning-color);
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-clear-demo:hover {
  background-color: var(--light-bg);
  transform: translateY(-2px);
}

/* Summary Strip */
.summary-strip {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  gap: 20px;
}

.balance-info {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.balance-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
}

.balance-label {
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
}

.summary-details {
  flex: 2;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.summary-item {
  text-align: center;
  min-width: 120px;
  flex: 1;
}

.summary-value {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.summary-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.positive {
  color: var(--success-color);
}

.negative {
  color: var(--danger-color);
}

/* Dashboard Cards */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.card {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-body {
  padding: 15px;
}

.card-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 5px;
}

.card-meta {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-light);
  gap: 5px;
  flex-wrap: wrap;
}

.card-icon {
  font-size: 1.2rem;
}

/* Mini Charts */
.mini-chart {
  height: 120px;
  width: 100%;
}

/* Progress Mini */
.progress-mini {
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
  width: 100%;
}

.progress-mini .progress-value {
  height: 100%;
  background-color: var(--success-color);
}

.progress-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

/* Top Expenses List */
.top-expenses {
  list-style: none;
  padding: 0;
}

.top-expenses li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.top-expenses li:last-child {
  border-bottom: none;
}

.expense-category {
  font-weight: 500;
}

.expense-amount {
  font-weight: 600;
}

/* Month Control */
.month-control {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: var(--card-bg);
  padding: 10px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.month-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

#current-month {
  margin: 0 15px;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 120px;
  text-align: center;
}

/* Tabs */
.tabs {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 15px;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 12px 20px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.tab.active {
  color: var(--primary-color);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-color);
}

.tab:hover:not(.active) {
  background-color: rgba(0, 0, 0, 0.03);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: flex-end;
}

.btn-primary,
.btn-outline,
.btn-add,
.btn-danger {
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

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

.btn-outline {
  /* background-color: transparent; */
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-add {
  background-color: var(--success-color);
  color: white;
  border: none;
}

.btn-add:hover {
  background-color: #16a34a;
}

.btn-danger {
  background-color: var(--danger-color);
  color: white;
  border: none;
}

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

.btn-icon {
  font-size: 1.1rem;
}

.btn-icon-small {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px;
  margin: 0 3px;
  transition: transform 0.2s ease;
}

.btn-icon-small:hover {
  transform: scale(1.2);
}

.btn-edit:hover {
  color: var(--primary-hover);
}

.btn-delete:hover {
  color: var(--danger-color);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Quick Add Form */
.quick-add {
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
}

.quick-add-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.quick-input {
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  flex: 1;
  min-width: 120px;
}

.quick-input.narrow {
  flex: 0 0 140px;
}

/* Tables */
.table-container {
  overflow-x: auto;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.data-table tfoot td {
  font-weight: 700;
  background-color: #f1f5f9;
}

/* Charts */
.charts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.chart-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chart-card.wide {
  grid-column: 1 / -1;
}

.chart-title {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.chart-wrapper {
  padding: 15px;
  height: 300px;
  position: relative;
}

/* Recurring Transactions */
.recurring-options {
  margin-top: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.recurring-toggle {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.recurring-toggle input[type='checkbox'] {
  margin-right: 10px;
}

.recurring-details {
  display: none;
  background-color: #f9fafb;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.recurring-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9rem;
}

.recurring-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--tertiary-color);
  color: var(--primary-color);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: 8px;
  font-weight: 600;
}

/* Goals */
.goals-section {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.goals-header {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.goals-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.goals-content {
  padding: 15px;
}

.goals-list {
  margin-bottom: 15px;
}

.goal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.goal-item:last-child {
  border-bottom: none;
}

.goal-info {
  flex: 1;
}

.goal-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.goal-meta {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light);
  gap: 10px;
}

.goal-progress {
  width: 100%;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 3px;
  margin-top: 5px;
  overflow: hidden;
}

.goal-progress-value {
  height: 100%;
  background-color: var(--success-color);
}

.goal-progress-value.warning {
  background-color: var(--warning-color);
}

.goal-progress-value.danger {
  background-color: var(--danger-color);
}

.goal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.goal-add-form {
  background-color: #f9fafb;
  padding: 15px;
  border-radius: 5px;
}

.goal-add-form h4 {
  margin-top: 0;
  margin-bottom: 15px;
}

/* Settings */
.settings-section {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.settings-header {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 15px;
}

.settings-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.settings-content {
  padding: 15px;
}

.settings-group {
  margin-bottom: 20px;
}

.settings-group:last-child {
  margin-bottom: 0;
}

.settings-title {
  font-weight: 600;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-label {
  display: flex;
  flex-direction: column;
}

.settings-description {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 3px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--success-color);
}

input:focus + .toggle-slider {
  box-shadow: 0 0 1px var(--success-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

/* Import/Export */
.import-export-content {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.import-card,
.export-card {
  flex: 1;
  min-width: 250px;
  background-color: #f9fafb;
  border-radius: 6px;
  padding: 15px;
}

.card-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.card-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.file-input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-input-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border: 2px dashed var(--border-color);
  border-radius: 6px;
  text-align: center;
  color: var(--text-light);
  transition: all 0.2s;
}

.file-input-label:hover,
.file-input:focus + .file-input-label {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(59, 130, 246, 0.05);
}

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

.export-options {
  margin-bottom: 15px;
}

.export-option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.export-option input[type='radio'] {
  margin-right: 10px;
}

.export-date-range {
  display: none;
  gap: 10px;
  margin-top: 10px;
}

.export-date-range.show {
  display: flex;
}

.export-date-input {
  flex: 1;
}

/* Categories Modal */
.categories-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
}

.category-tab {
  padding: 10px 15px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
}

.category-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.category-content {
  display: none;
}

.category-content.active {
  display: block;
}

.categories-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-color);
}

.category-item:last-child {
  border-bottom: none;
}

.category-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.category-actions button {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.category-actions button:hover {
  opacity: 1;
}

.add-category-form {
  display: flex;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.add-category-form input {
  flex: 1;
  margin-right: 10px;
}

.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.color-option {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
}

.color-option.selected {
  border-color: var(--text-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-body {
  padding: 15px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #333;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 300px;
}

.toast.show {
  opacity: 1;
}

.toast.success {
  background-color: var(--success-color);
}

.toast.error {
  background-color: var(--danger-color);
}

/* Info Section */
.info-section {
  margin: 30px 0;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.section-content {
  margin-bottom: 20px;
}

/* FAQ */
.faq-container {
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  padding: 12px 15px;
  background-color: #f8fafc;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 15px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 15px;
  max-height: 500px;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Empty State */
.empty-state {
  padding: 20px;
  text-align: center;
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .summary-strip {
    flex-direction: column;
  }

  .balance-info {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 15px;
    width: 100%;
  }

  .summary-details {
    width: 100%;
  }

  .quick-add-form {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-input.narrow {
    flex: 1;
    width: 100%;
  }

  .action-buttons {
    justify-content: center;
  }

  .chart-wrapper {
    height: 250px;
  }

  .goal-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .goal-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 10px;
  }

  .import-export-content {
    flex-direction: column;
  }

  .export-date-range {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .dashboard,
  .charts-container {
    grid-template-columns: 1fr;
  }

  .card-value {
    font-size: 1.4rem;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .modal-content {
    width: 95%;
  }
}

/* Add to your styles.css */

/* Login styles */
.login-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.login-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 400px;
  width: 90%;
}

.login-card h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.login-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.form-toggle-link {
  text-align: center;
  color: var(--primary-color);
  margin-top: 20px;
  cursor: pointer;
  font-size: 0.9rem;
}

.form-toggle-link:hover {
  text-decoration: underline;
}

.user-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.8rem;
}
