/****************************************************
 * FREELANCE NANA TOURS — ACCOUNT AREA THEME
 * Applies to: /public/account/*
 ****************************************************/

 :root {
  /* Public theme */
  --primary: #0B7285;
  --primary-soft: #E3FAFF;
  --accent: #F59F00;
  --dark: #0B1C2C;
  --bg-soft: #F5F7FB;
  --radius-xl: 1.5rem;

  /* Shared / account theme tokens */
  --fn-bg: #050816;
  --fn-surface: #0b1020;
  --fn-surface-soft: #111827;
  --fn-card: #ffffff;
  --fn-border-subtle: rgba(148, 163, 184, 0.35);

  --fn-text: #111827;
  --fn-text-muted: #6b7280;
  --fn-text-soft: #9ca3af;

  --fn-accent: #f97316;        /* Orange */
  --fn-accent-soft: rgba(249, 115, 22, 0.15);
  --fn-accent-deep: #ea580c;
  --fn-accent-alt: #22c55e;    /* Green */

  --fn-error: #ef4444;
  --fn-radius-lg: 1.6rem;
  --fn-radius-md: 1rem;
  --fn-radius-pill: 999px;
  --fn-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.16);
  --fn-shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.12);

  --fn-font-main: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/****************************************************
 * FREELANCE NANA TOURS — ACCOUNT MODULE THEME
 * Clean, AdminLTE-like UI for /public/account/*
 ****************************************************/

/* BODY & LAYOUT
   -------------------------------------------------- */

body.account-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Plus Jakarta Sans", sans-serif;
  background-color: #f4f6f9; /* AdminLTE style */
  color: #212529;
}

/* Standard section spacing on account pages */
.section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

@media (max-width: 575.98px) {
  .section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}

/* Slightly wider container for dashboard feel */
@media (min-width: 1200px) {
  body.account-body .container {
    max-width: 1140px;
  }
}

/****************************************************
 * TOPBAR (ACCOUNT HEADER)
 ****************************************************/

.account-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #ffffff;
  border-bottom: 1px solid #dee2e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  color: #212529;
}

.account-topbar .brand-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0d6efd; /* primary-like */
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
}

.account-topbar .fw-bold {
  color: #111827;
}

.account-topbar small {
  color: #6b7280;
  font-size: 0.75rem;
}

/* Top nav links (Dashboard / Bookings / Profile / Security) */
.account-topbar .account-nav a {
  font-size: 0.85rem;
  text-decoration: none;
  color: #6c757d;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  transition: all 0.15s ease-in-out;
}

.account-topbar .account-nav a:hover {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.08);
}

.account-topbar .account-nav a.active {
  background-color: #0d6efd;
  color: #ffffff;
  font-weight: 500;
}

/* Dropdown button in header */
.account-topbar .dropdown-toggle {
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

/****************************************************
 * HEADINGS (SECTION TITLE / SUBTITLE)
 ****************************************************/

.section-heading {
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
}

/****************************************************
 * CARDS (why-card, small cards, mini-stat)
 ****************************************************/

/* Generic card for account pages */
.why-card {
  border-radius: 0.75rem;
  padding: 1.2rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.why-card.small {
  padding: 1rem 1.05rem;
  border-radius: 0.7rem;
}

/* Dashboard stats */
.mini-stat {
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mini-stat span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  font-weight: 600;
}

.mini-stat strong {
  font-size: 1.25rem;
  color: #111827;
}

/****************************************************
 * SIDEBAR (LEFT ACCOUNT NAV IN PAGES)
 ****************************************************/

@media (min-width: 992px) {
  .account-body .col-lg-3 {
    position: sticky;
    top: 4.25rem;
    align-self: flex-start;
  }
}

/* Sidebar links in the why-card list */
.why-card ul .footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: #374151;
  padding: 0.1rem 0;
}

.why-card ul .footer-link i {
  font-size: 0.9rem;
}

.why-card ul .footer-link:hover {
  color: #0d6efd;
  text-decoration: none;
}

/****************************************************
 * BUTTONS
 ****************************************************/

.btn-hero-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
  font-weight: 500;
}

.btn-hero-primary:hover {
  background-color: #0b5ed7;
  border-color: #0b5ed7;
  color: #ffffff;
}

.btn-pill {
  border-radius: 999px !important;
}

/* Outline buttons */
.btn-outline-dark.btn-pill,
.btn-outline-secondary.btn-pill {
  border-radius: 999px;
}

/****************************************************
 * LINKS / FOOTER-LINK STYLE
 ****************************************************/

.footer-link {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.footer-link:hover {
  color: #0d6efd;
}

/****************************************************
 * TABLES (Bookings, Payments, Travellers)
 ****************************************************/

.table {
  font-size: 0.86rem;
  margin-bottom: 0;
}

.table thead {
  background-color: #f8fafc;
}

.table thead th {
  border-bottom-width: 1px;
  border-color: #e5e7eb !important;
  color: #6b7280;
  font-weight: 600;
}

.table tbody td {
  border-color: #e5e7eb;
}

/* Slight stripe */
.table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.table-responsive {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

/****************************************************
 * BADGES / STATUS LABELS
 ****************************************************/

.badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.badge.bg-light.text-dark {
  background-color: #e5e7eb !important;
  color: #111827 !important;
}

/****************************************************
 * PAGINATION
 ****************************************************/

.pagination.pagination-sm .page-link {
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  color: #4b5563;
}

.pagination.pagination-sm .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
}

.pagination.pagination-sm .page-link:hover {
  background-color: #e5e7eb;
  border-color: #e5e7eb;
}

/****************************************************
 * FORMS (Login, Register, Profile, Change Password)
 ****************************************************/

.form-label {
  margin-bottom: 0.2rem;
}

.form-control,
.form-select {
  border-radius: 0.5rem;
  border-color: #d1d5db;
  font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

.form-text {
  color: #6b7280;
  font-size: 0.8rem;
}

/* Input group for password toggle */
.input-group .btn {
  border-radius: 0.5rem;
}

/* Alerts */
.alert {
  border-radius: 0.5rem;
  font-size: 0.86rem;
}

/****************************************************
 * ACCOUNT FOOTER & BACK-TO-TOP
 ****************************************************/

footer {
  color: #6b7280;
  font-size: 0.82rem;
  background-color: transparent;
}

footer .footer-link {
  font-size: 0.8rem;
}

/* Back to top */
#backToTop {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background-color: #0d6efd;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1040;
}

#backToTop i {
  font-size: 1.1rem;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/****************************************************
 * RESPONSIVE TWEAKS
 ****************************************************/

@media (max-width: 767.98px) {
  .why-card {
    padding: 1.05rem 1.05rem;
  }

  .section-heading .section-title {
    font-size: 1.2rem;
  }

  .account-topbar .brand-pill {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .account-topbar .dropdown-toggle {
    padding-inline: 0.6rem;
  }
}
