/* PPIM Booking — Calendly-style UI */

:root {
  --primary: #1e2a5e;
  --primary-dark: #141c42;
  --primary-light: #e8eaf5;
  --accent: #2e4ac9;
  --text-dark: #1a2b49;
  --text-muted: #6b7385;
  --border: #e1e4ea;
  --bg-soft: #f8fafd;
  --cmb-color: #1e2a5e;
  --cmb-bg: #e8eaf5;
  --kdy-color: #d4791a;
  --kdy-bg: #fff3e3;
}

body { color: var(--text-dark); }
body.bg-light-custom { background: var(--bg-soft); }
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }

/* Logo */
.navbar-logo {
  height: 36px;
  width: auto;
  border-radius: 4px;
}
.landing-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}
.booking-centre-logo {
  height: 32px;
  width: auto;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}
.btn-primary-custom {
  background-color: var(--primary); color: #fff; border: none;
  font-weight: 500;
}
.btn-primary-custom:hover { background-color: var(--primary-dark); color: #fff; }

/* ----------- Landing ----------- */
.centre-card { transition: all 0.2s; border: 1px solid var(--border); }
.centre-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important; }

/* ----------- Booking card ----------- */
.booking-card { border-radius: 12px; border: 1px solid var(--border); }
.booking-info { background: #fff; }

/* ----------- Calendly calendar ----------- */
.calendar-table { border-collapse: separate; border-spacing: 0; }
.calendar-table th { border: none; font-size: 11px; letter-spacing: 0.03em; padding: 6px 0; color: var(--text-muted); }
.calendar-table td { border: none; padding: 3px; }
.cal-cell { width: 14.28%; }
.cal-day {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 14px; text-decoration: none; position: relative;
  transition: all 0.15s;
}
.cal-day.available {
  background: var(--primary-light); color: var(--primary); font-weight: 500;
  cursor: pointer;
}
.cal-day.available:hover { background: var(--primary); color: #fff; }
.cal-day.selected { background: var(--primary) !important; color: #fff !important; }
.cal-day.today { font-weight: 700; }
.cal-day.empty { color: #c5c9d2; cursor: not-allowed; }
.cal-day.disabled { color: #c5c9d2; }
.cal-dot {
  position: absolute; bottom: 3px; width: 3px; height: 3px;
  border-radius: 50%; background: currentColor;
}

/* ----------- Time slots ----------- */
.time-slots-panel { background: #fff; }
.slot-list { display: flex; flex-direction: column; gap: 8px; }
.slot-btn {
  display: block; text-decoration: none; color: var(--primary);
  border: 1.5px solid var(--primary); border-radius: 6px; padding: 12px;
  text-align: center; font-weight: 500; transition: all 0.15s; background: #fff;
}
.slot-btn:hover { background: var(--primary); color: #fff; }
.slot-btn.disabled {
  border-color: var(--border); color: #aaa; cursor: not-allowed;
  background: var(--bg-soft);
}
.slot-btn.disabled:hover { background: var(--bg-soft); color: #aaa; }
.slot-time { font-size: 15px; font-weight: 600; }
.slot-status { font-size: 11px; margin-top: 2px; opacity: 0.85; }
.slot-btn:hover .slot-status { opacity: 1; }
.slot-status.full { color: #b33; }

/* ----------- Payment option radios ----------- */
.payment-option {
  display: inline-block; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 6px;
  padding: 8px 16px; transition: all 0.15s;
  user-select: none;
}
.payment-option input { display: none; }
.payment-option:hover { border-color: var(--primary); }
.payment-option:has(input:checked) {
  border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 500;
}

/* ----------- Forms ----------- */
.form-control, .form-select {
  border-color: var(--border); border-radius: 6px; padding: 10px 12px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}

/* ----------- Google Calendar-style ----------- */
.gcal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
}
.gcal-header {
  padding: 8px; text-align: center; font-size: 11px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.03em;
  background: #fafbfd; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.gcal-cell {
  min-height: 110px; padding: 6px; position: relative;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: #fff;
}
.gcal-cell.out-of-month { background: #fafbfd; color: #c5c9d2; }
.gcal-cell.today { background: #f0f7ff; }
.gcal-date { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.today-badge {
  display: inline-block; background: var(--primary); color: #fff;
  border-radius: 50%; width: 24px; height: 24px; line-height: 24px;
  text-align: center; font-weight: 700;
}
.gcal-event {
  display: block; font-size: 11px; padding: 3px 6px; margin-bottom: 2px;
  border-radius: 4px; text-decoration: none; color: inherit;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-left: 3px solid;
}
.gcal-event:hover { filter: brightness(0.95); }
.gcal-event.centre-cmb { background: var(--cmb-bg); color: var(--cmb-color); border-left-color: var(--cmb-color); }
.gcal-event.centre-kdy { background: var(--kdy-bg); color: var(--kdy-color); border-left-color: var(--kdy-color); }
.gcal-event.centre-cmb_mock { background: var(--cmb-bg); color: var(--cmb-color); border-left-color: var(--cmb-color); }
.gcal-event.centre-kdy_mock { background: var(--kdy-bg); color: var(--kdy-color); border-left-color: var(--kdy-color); }
.gcal-event.event-mock {
  background: #fff8e1;
  color: #b8860b;
  border-left-color: #f4b400;
  border-left-width: 4px;
  font-style: italic;
}
.gcal-event .mock-dot {
  color: #f4b400;
  font-size: 10px;
  margin-right: 3px;
}
.gcal-more { font-size: 10px; color: var(--text-muted); padding: 2px 6px; }

/* Mock centre card styling */
.centre-card-mock {
  border-left: 4px solid #f4b400 !important;
  background: linear-gradient(to right, #fffbf0 0%, #fff 20%);
}

/* Week view */
.gcal-week td, .gcal-week th { vertical-align: top; padding: 6px; }
.gcal-week .today-col { background: #f0f7ff; }
.gcal-week-cell { min-height: 60px; min-width: 110px; }

.legend-dot { display:inline-block; width:12px; height:12px; border-radius:2px; margin-right:4px; vertical-align:middle; }
.legend-dot.centre-cmb { background: var(--cmb-color); }
.legend-dot.centre-kdy { background: var(--kdy-color); }

/* ----------- Option cards for old pages ----------- */
.option-card {
  display: block; border: 1px solid var(--border); border-radius: 6px;
  padding: 0; cursor: pointer; transition: all 0.15s; background: #fff; position: relative;
}
.option-card:hover { border-color: var(--primary); }
.option-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.option-card .option-body { padding: 12px; }
.option-card:has(input:checked) {
  border-color: var(--primary); border-width: 2px; background: var(--primary-light);
}
.option-card.disabled, .option-card:has(input:disabled) {
  opacity: 0.5; cursor: not-allowed; background: var(--bg-soft);
}

.capacity-grid th, .capacity-grid td { vertical-align: middle; }
.capacity-grid .badge { font-size: 0.8rem; padding: 0.35em 0.6em; }

@media print {
  nav, footer, .d-print-none { display: none !important; }
  .card { border: 1px solid #ccc !important; box-shadow: none !important; }
}

/* ======================================================================
   PLATFORM HUB CARDS
   ====================================================================== */
.hub-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  color: var(--text-dark);
}
.hub-card:not(.hub-card-soon):hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.09) !important;
  border-color: var(--primary);
}
.hub-card-soon {
  opacity: 0.65;
  cursor: default;
}
.hub-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 14px;
}
.hub-card-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}
.hub-card-badge.active { background: #d1fae5; color: #065f46; }
.hub-card-badge.soon   { background: #f1f5f9; color: #64748b; }
.hub-card-badge.off    { background: #fee2e2; color: #991b1b; }
.hub-card-arrow {
  position: absolute;
  bottom: 1rem; right: 1.25rem;
  font-size: 1.1rem;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-4px);
}
.hub-card:not(.hub-card-soon):hover .hub-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Hub icon background colours */
.bg-primary-light   { background: var(--primary-light); }
.bg-success-light   { background: #d1fae5; }
.bg-warning-light   { background: #fef3c7; }
.bg-purple-light    { background: #ede9fe; }
.bg-info-light      { background: #e0f2fe; }
.bg-secondary-light { background: #f1f5f9; }
.bg-dark-light      { background: #e2e3e5; }

/* ======================================================================
   BOOK TYPE CARDS (books_landing.html)
   ====================================================================== */
.book-type-card { border-radius: 12px !important; }
.book-type-ppim { border-left: 4px solid var(--primary) !important; }
.book-type-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border-radius: 12px;
}

/* ======================================================================
   BOOK REQUEST FORM SECTIONS
   ====================================================================== */
.form-section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  scroll-margin-top: 80px;
}
.form-section-header {
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.section-title {
  font-weight: 600;
  font-size: 15px;
}
.form-section-body {
  padding: 1.5rem;
}

/* Animate newly revealed sections */
.section-animate-in {
  animation: sectionFadeIn 0.35s ease forwards;
}
@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Checkbox option cards */
.option-card.check-card:has(input:checked),
.option-card.option-card-checked {
  border-color: var(--primary); border-width: 2px; background: var(--primary-light);
}

/* ======================================================================
   SUPPORT TICKET STYLES
   ====================================================================== */

/* Kanban board */
.kanban-board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  align-items: flex-start;
}

.kanban-col {
  flex: 0 0 240px;
  background: #f8fafd;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  max-height: 78vh;
}

.kanban-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  border-radius: 10px 10px 0 0;
  font-size: 13px;
  position: sticky;
  top: 0;
}

.kanban-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-open       { background: #198754; }
.dot-inprogress { background: #0d6efd; }
.dot-waiting    { background: #ffc107; }
.dot-resolved   { background: #6c757d; }
.dot-closed     { background: #212529; }

.kanban-cards {
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.kanban-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  transition: box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
}
.kanban-card:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  border-color: var(--primary);
}

.kanban-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  padding: 20px 0;
}

.kanban-card-wrapper {
  cursor: grab;
}
.kanban-card-wrapper:active {
  cursor: grabbing;
}
.kanban-cards.dnd-over {
  background: rgba(13, 110, 253, 0.06);
  border-radius: 8px;
  outline: 2px dashed var(--primary);
  outline-offset: -4px;
}

/* Priority badges */
.ticket-priority-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.priority-low    { background: #e9ecef; color: #495057; }
.priority-normal { background: #cff4fc; color: #055160; }
.priority-high   { background: #fff3cd; color: #664d03; }
.priority-urgent { background: #f8d7da; color: #58151c; }

/* Ticket thread (student-facing + admin) */
.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ticket-message {
  border-radius: 8px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.ticket-student {
  background: #f8fafd;
  margin-right: 40px;
}

.ticket-staff {
  background: #eef2ff;
  border-color: #c7d2fe;
  margin-left: 40px;
}

.ticket-internal {
  background: #fffbeb;
  border-color: #fde68a;
  margin-left: 0;
}

.ticket-msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-msg-body {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ======================================================================
   MOBILE RESPONSIVE STYLES
   ====================================================================== */

/* Tablet and below */
@media (max-width: 991px) {
  .booking-info {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .time-slots-panel {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
  }
  .gcal-cell { min-height: 70px; }

  /* Navbar shrink */
  .navbar-brand { font-size: 1rem; }
}

/* Phone */
@media (max-width: 767px) {
  /* Booking card — stack panels vertically, less padding */
  .booking-card .p-lg-5,
  .booking-card .p-lg-4 {
    padding: 1.25rem !important;
  }

  /* Calendar — smaller day cells so all 7 columns fit on narrow screens */
  .calendar-table th {
    font-size: 10px;
    padding: 4px 0;
  }
  .cal-day {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  /* Booking info panel — smaller headings */
  .booking-info h2 {
    font-size: 1.4rem;
  }

  /* Forms — full-width, bigger tap targets */
  .form-control, .form-select {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 12px;
  }
  .payment-option {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 6px;
  }
  .btn-lg {
    width: 100%;
  }

  /* Dashboard — stack stat cards 2x2 instead of 4 wide */
  .dashboard-stats .col-md-3 { margin-bottom: 8px; }

  /* Capacity grid — horizontal scroll with sticky first column */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }
  .capacity-grid {
    font-size: 12px;
    min-width: 600px;
  }
  .capacity-grid th, .capacity-grid td {
    padding: 6px 4px;
  }

  /* Kanban — narrower columns on mobile */
  .kanban-col {
    flex: 0 0 200px;
  }
  .ticket-staff { margin-left: 16px; }
  .ticket-student { margin-right: 16px; }

  /* Bookings list table — hide less important columns, show essentials */
  .bookings-table {
    font-size: 12px;
  }
  .bookings-table .hide-on-mobile {
    display: none !important;
  }
  .bookings-table td, .bookings-table th {
    padding: 6px 4px !important;
  }

  /* Google Calendar — mobile shows a list instead of grid */
  .gcal-grid {
    display: block;
  }
  .gcal-header {
    display: none;
  }
  .gcal-cell {
    border: 0.5px solid var(--border);
    border-radius: 6px;
    margin-bottom: 8px;
    min-height: auto;
    padding: 10px;
  }
  .gcal-cell.out-of-month {
    display: none; /* hide non-current-month days on mobile */
  }
  .gcal-cell::before {
    content: attr(data-day-label);
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
  }
  .gcal-cell.today {
    border-color: var(--primary);
    border-width: 2px;
  }
  .gcal-event {
    font-size: 12px;
    padding: 6px 8px;
  }
  .gcal-date {
    font-size: 14px;
  }

  /* Week view — horizontal scroll */
  .gcal-week {
    min-width: 700px;
    font-size: 11px;
  }

  /* Navbar — compact */
  .navbar-brand { font-size: 14px; }
  .navbar .nav-link { padding: 8px 12px; }

  /* Booking detail page */
  .booking-card .row > [class*="col-"] {
    margin-bottom: 16px;
  }

  /* Centre cards on landing */
  .centre-card { margin-bottom: 16px; }

  /* Alerts */
  .alert { font-size: 14px; }

  /* Container padding */
  .container, .container-xl, .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Details form — the left info column is less important on mobile,
     make it collapsible / smaller */
  .booking-info .text-muted.small {
    font-size: 13px;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .cal-day {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .booking-info h2 { font-size: 1.2rem; }
  .slot-btn { padding: 10px; }
  .slot-time { font-size: 14px; }
}

/* ======================================================================
   CHAT / THREAD ENHANCEMENTS
   ====================================================================== */

.chat-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.ticket-thread {
  max-height: 60vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.ticket-thread::-webkit-scrollbar {
  width: 6px;
}
.ticket-thread::-webkit-scrollbar-track {
  background: transparent;
}
.ticket-thread::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

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

.ticket-message.new-message {
  animation: messageSlideIn 0.3s ease forwards;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-light);
}

/* Nav unread indicator */
.nav-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
}

/* ======================================================================
   MODERN LOGIN PAGE
   ====================================================================== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafd 0%, #e8eaf5 100%);
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 440px;
}

.login-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(30, 42, 94, 0.12), 0 4px 16px rgba(30, 42, 94, 0.06);
  padding: 40px 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 68px rgba(30, 42, 94, 0.16), 0 8px 20px rgba(30, 42, 94, 0.08);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  height: 64px;
  width: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(30, 42, 94, 0.15);
}

.login-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Tabs */
.login-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  padding: 4px;
  background: var(--bg-soft);
  border-radius: 12px;
}

.login-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-tab:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.6);
}

.login-tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(30, 42, 94, 0.1);
}

.login-tab svg {
  flex-shrink: 0;
  pointer-events: none;
}

/* Forms */
.login-forms {
  position: relative;
}

.login-form {
  display: none;
  animation: fadeIn 0.3s ease;
}

.login-form.active {
  display: block;
}

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

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

.form-input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  transition: all 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: #b0b5c3;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--primary);
}

/* Sign In Buttons */
.btn-signin {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.btn-signin svg {
  transition: transform 0.2s ease;
}

.btn-signin:hover svg {
  transform: translateX(4px);
}

.btn-signin:active {
  transform: scale(0.98);
}

.btn-signin-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 42, 94, 0.25);
}

.btn-signin-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(30, 42, 94, 0.35);
  color: #fff;
}

.btn-signin-info {
  background: linear-gradient(135deg, #0dcaf0 0%, #0bb5d6 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 202, 240, 0.25);
}

.btn-signin-info:hover {
  background: linear-gradient(135deg, #0bb5d6 0%, #099db6 100%);
  box-shadow: 0 6px 20px rgba(13, 202, 240, 0.35);
  color: #fff;
}

.btn-signin-dark {
  background: linear-gradient(135deg, #1a2b49 0%, #0f1d33 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 43, 73, 0.25);
}

.btn-signin-dark:hover {
  background: linear-gradient(135deg, #0f1d33 0%, #080e18 100%);
  box-shadow: 0 6px 20px rgba(26, 43, 73, 0.35);
  color: #fff;
}

/* Footer */
.login-footer {
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .login-title {
    font-size: 22px;
  }

  .login-tabs {
    gap: 4px;
    padding: 3px;
  }

  .login-tab {
    padding: 8px 6px;
    font-size: 12px;
  }

  .login-tab svg {
    width: 14px;
    height: 14px;
  }
}
