/* RESET AND BASE */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #e0e7ff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #1e1b4b;
  --text: #374151;
  --text-light: #6b7280;
  --bg: #f5f7ff;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-dark);
}

/* NAVBAR */

.navbar {
  background: var(--dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-brand {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.logout-btn {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #fca5a5 !important;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.4) !important;
  color: var(--white) !important;
}

/* Hamburger button - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* MAIN CONTENT */

.main-content {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* PAGE HEADER */

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1rem;
}

/* CARDS */

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-light);
}

/* STATS GRID */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--primary);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 2rem;
}

.stat-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* DASHBOARD GRID */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* QUICK ACTIONS */

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.2s;
}

.action-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateX(4px);
}

.action-btn span {
  font-size: 1.8rem;
}

.action-btn strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.action-btn p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

/* AUTH PAGES */

.auth-container {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
}

.auth-logo {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* FORMS */

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group small {
  display: block;
  color: var(--text-light);
  font-size: 0.82rem;
  margin-top: 0.4rem;
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary:disabled {
  background: #a5b4fc;
  cursor: not-allowed;
  transform: none;
}

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

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

.btn-full {
  width: 100%;
  text-align: center;
}

/* ALERTS */

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* CHAT */

.chat-container {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 260px);
  min-height: 400px;
}

.chat-box {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.user-message {
  flex-direction: row-reverse;
}

.message-avatar {
  min-width: 36px;
  width: 36px;
  flex-shrink: 0;
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-user {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-bubble {
  max-width: 70%;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.bot-message .message-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
  color: var(--text);
}

.user-message .message-bubble {
  background: var(--primary);
  color: var(--white);
  border-top-right-radius: 4px;
}

.typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 1rem 1.2rem !important;
}

.typing-bubble span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-light);
  animation: typing 1.2s infinite;
}

.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.chat-input-wrapper {
  display: flex;
  gap: 0.75rem;
}

.chat-input-wrapper input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.chat-input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-input-wrapper button {
  padding: 0.75rem 1.4rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.chat-input-wrapper button:hover {
  background: var(--primary-dark);
}

.chat-input-wrapper button:disabled {
  background: #a5b4fc;
  cursor: not-allowed;
}

.chat-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* STUDY PLAN */

.plan-container {
  max-width: 800px;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-light);
}

.plan-header .card-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.plan-content {
  line-height: 1.9;
  font-size: 0.95rem;
  color: var(--text);
  white-space: pre-wrap;
}

.plan-print-row {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* MARKDOWN */

.markdown-body p { margin-bottom: 0.6rem; }
.markdown-body p:last-child { margin-bottom: 0; }
.markdown-body strong { font-weight: 700; }
.markdown-body em { font-style: italic; }
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
  font-weight: 700;
  margin: 0.75rem 0 0.4rem;
  color: var(--dark);
  font-size: 1rem;
}
.markdown-body ul, .markdown-body ol {
  padding-left: 1.25rem;
  margin: 0.4rem 0;
}
.markdown-body li { margin-bottom: 0.25rem; }
.markdown-body code {
  background: rgba(0,0,0,0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: monospace;
}
.markdown-body pre {
  background: rgba(0,0,0,0.06);
  padding: 0.75rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 0.5rem 0;
}

/* PERFORMANCE */

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.summary-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.summary-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.progress-bar-wrapper {
  background: var(--border);
  border-radius: 99px;
  height: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  transition: width 0.6s ease;
  min-width: 4px;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-green { background: #d1fae5; color: #065f46; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
}

.empty-state p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* FOOTER */

.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.85rem;
}

/* SCROLLBAR */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ONBOARDING MODAL */

.onboarding-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

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

.onboarding-modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.35s ease;
}

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

.onboarding-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.onboarding-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.onboarding-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.onboarding-header p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.onboarding-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.step-favicon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-icon-text {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.step-text strong {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 700;
}

.step-text span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

.onboarding-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
}

.onboarding-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* SCHEDULE GRID (Study Plan page) */

.schedule-grid {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.schedule-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.schedule-row:last-child { border-bottom: none; }
.schedule-row.active { background: var(--primary-light); }

.day-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  min-width: 110px;
  font-weight: 600;
  color: var(--dark);
}

.day-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.time-inputs {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.time-pair {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.time-pair input[type="time"] {
  padding: 0.35rem 0.6rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}

.time-pair input[type="time"]:focus {
  outline: none;
  border-color: var(--primary);
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* Navbar */
  .navbar {
    padding: 0 1rem;
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.3rem;
    z-index: 200;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  /* Main content */
  .main-content {
    padding: 1.2rem 1rem;
    width: 100%;
    overflow-x: hidden;
  }

  /* Page header */
  .page-header h1 {
    font-size: 1.3rem;
  }

  .page-header p {
    font-size: 0.9rem;
  }

  /* Stats - single column */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Dashboard - single column */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Chat */
  .chat-container {
    height: calc(100vh - 200px);
    min-height: 350px;
  }

  .chat-box {
    padding: 0.75rem;
  }

  .message-bubble {
    max-width: 80%;
    font-size: 0.88rem;
    padding: 0.7rem 0.9rem;
  }

  .chat-input-area {
    padding: 0.75rem;
  }

  .chat-input-wrapper {
    gap: 0.5rem;
  }

  .chat-input-wrapper input {
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
  }

  .chat-input-wrapper button {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }

  /* Study plan */
  .plan-container {
    max-width: 100%;
  }

  .plan-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .plan-print-row {
    justify-content: stretch;
  }

  .plan-print-row .btn {
    width: 100%;
    text-align: center;
  }

  .schedule-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .day-checkbox-label {
    min-width: unset;
  }

  /* Auth */
  .auth-container {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .auth-box {
    padding: 1.75rem 1.25rem;
  }

  /* Performance */
  .summary-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer {
    padding: 1rem;
    font-size: 0.8rem;
  }

  /* Onboarding */
  .onboarding-modal {
    padding: 1.5rem 1.25rem;
  }

  .onboarding-header h2 {
    font-size: 1.25rem;
  }
}

/* ERROR PAGES */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  min-height: calc(100vh - 200px);
}

.error-code {
  font-size: 7rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -4px;
}

.error-favicon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.error-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.error-message {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }
  .error-title {
    font-size: 1.3rem;
  }
}

/* PROFILE PAGE */

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.profile-info-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.profile-info-text strong {
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 700;
}

.profile-info-text span {
  font-size: 0.88rem;
  color: var(--text-light);
}

.profile-joined {
  font-size: 0.78rem !important;
  color: var(--text-light);
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

@media (min-width: 769px) {
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }
}
