/* ==========================================
   AGL - Aries Global Logistics Stylesheet
   ========================================== */

@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');

:root {
  --primary: #b81f25;
  --primary-hover: #961318;
  --primary-light: rgba(184, 31, 37, 0.08);
  --primary-gradient: linear-gradient(135deg, #d32f2f 0%, #b81f25 100%);
  --secondary: #1f2937;
  --secondary-hover: #111827;
  --dark: #0f172a;
  --dark-accent: #1e293b;
  --light: #ffffff;
  --light-bg: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f1f5f9;
  --border: #e2e8f0;
  --border-dark: #334155;
  --success: #10b981;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 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.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-width: 1240px;
}

/* CSS Reset & Defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common Styles */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background-color: var(--dark);
  color: var(--text-light);
}

.section-dark h2 {
  color: var(--light);
}

.section-dark .section-subtitle {
  color: var(--text-muted);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--dark);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 0.825rem;
  border-bottom: 1px solid var(--border-dark);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-left-links {
  display: flex;
  gap: 24px;
}

.top-left-links a {
  opacity: 0.85;
  font-weight: 500;
}

.top-left-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.top-right-socials {
  display: flex;
  gap: 16px;
}

.top-right-socials a {
  font-size: 0.95rem;
  opacity: 0.85;
  transition: transform var(--transition-fast);
}

.top-right-socials a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Navigation Header */
header {
  background-color: var(--light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Custom logo based on standard image proportions */
.logo-wrapper a {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--secondary);
}

.logo-wrapper span {
  color: var(--primary);
}

/* Custom logo styling mirroring the AGL style */
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
}

nav>ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

nav ul li a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

nav ul li.active>a {
  background-color: var(--primary);
  color: var(--light);
}

nav ul li.active>a:hover {
  background-color: var(--primary-hover);
  color: var(--light);
}

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background-color: var(--light);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1001;
}

nav ul li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  padding: 10px 20px;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Hamburger Mobile Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--light);
  box-shadow: 0 4px 14px rgba(184, 31, 37, 0.4);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 31, 37, 0.5);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--light);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--light);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--light-bg);
  color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.7) 100%),
    url('../images/fd.jpeg') no-repeat center center / cover;

    min-height: 450px;
  
  color: var(--light);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-text {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: var(--light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--light);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-art {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  position: relative;
  animation: spin 30s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-art-inner {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 31, 37, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

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

/* Cards (Service & Why Choose Us) */
.card {
  background-color: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(184, 31, 37, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.card:hover .card-icon {
  background-color: var(--primary);
  color: var(--light);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link i {
  transition: transform var(--transition-fast);
}

.card-link:hover i {
  transform: translateX(4px);
}

/* Stat Counters */
.stats-section {
  background: var(--secondary);
  color: var(--light);
  padding: 60px 0;
  border-top: 4px solid var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
}

/* Form Design (Quote / Contact) */
.form-card {
  background-color: var(--light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 40px;
  border: 1px solid var(--border);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
  background-color: var(--light-bg);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--light);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Tab Components */
.tab-container {
  margin-top: 40px;
}

.tab-headers {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid var(--border);
  margin-bottom: 30px;
}

.tab-btn {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  color: var(--text-muted);
}

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

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accordion FAQs */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  user-select: none;
}

.accordion-icon {
  font-size: 0.9rem;
  transition: transform var(--transition-normal);
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background-color: var(--light-bg);
}

.accordion-content-inner {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* Incoterms matrix styling */
.incoterms-table-wrapper {
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.incoterms-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--light);
}

.incoterms-table th {
  background-color: var(--secondary);
  color: var(--light);
  padding: 16px 20px;
  font-weight: 700;
}

.incoterms-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.incoterms-table tr:hover {
  background-color: var(--light-bg);
}

.badge-risk {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-buyer {
  background-color: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.badge-seller {
  background-color: rgba(184, 31, 37, 0.1);
  color: var(--primary);
}

.badge-split {
  background-color: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* Footer Section */
footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 70px 0 30px;
  border-top: 5px solid var(--primary);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-column h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 24px;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-logo a {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--light);
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page Header component for secondary pages */
.page-header {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%),
    url('../images/hero-bg.jpg') no-repeat center center / cover;
  padding: 80px 0;
  color: var(--light);
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--light);
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

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

/* Sub-service info page details */
.service-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.sidebar-box {
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 24px;
}

.sidebar-box h4 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.sidebar-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  border-left: 3px solid transparent;
}

.sidebar-menu li.active a,
.sidebar-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}

/* Info List Style */
.info-list {
  margin-bottom: 24px;
}

.info-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.info-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
}

/* Contact information cards */
.contact-info-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-content h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .top-bar {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--light);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    overflow-y: auto;
    z-index: 999;
  }

  nav.open {
    left: 0;
  }

  nav>ul {
    flex-direction: column;
    width: 100%;
    padding: 30px;
    gap: 15px;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    width: 100%;
    padding: 12px 20px;
  }

  /* Dropdown behavior for mobile */
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background-color: var(--light-bg);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 5px;
    border-radius: var(--radius-sm);
  }

  nav ul li.open .dropdown-menu {
    display: block;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-visual {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-details-grid {
    grid-template-columns: 1fr;
  }
}

.agl-logo {
  height: 55px;
  width: auto;
  display: block
}

.agl-logo-footer {
  height: 65px;
  width: auto;
  display: block
}

/* Service Card Image Styling */
.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* Authentication Modal Style */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.auth-modal.open {
  opacity: 1;
  visibility: visible;
}

.auth-modal-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: var(--shadow-premium);
  position: relative;
  transform: translateY(-20px);
  transition: all var(--transition-normal);
}

.auth-modal.open .auth-modal-content {
  transform: translateY(0);
}

.auth-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
  transition: color var(--transition-fast);
}

.auth-modal-close:hover {
  color: var(--primary);
}

.auth-tab-headers {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1.5px solid var(--border);
}

.auth-tab-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

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

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.auth-pane {
  display: none;
}

.auth-pane.active {
  display: block;
}

/* User Account Profile Widget */
.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.user-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.logout-btn {
  font-size: 0.75rem;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  margin-left: 8px;
}

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

/* Captcha Verification Widget */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  background-color: var(--light-bg);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}

.captcha-question {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(184, 31, 37, 0.05) 100%);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(184, 31, 37, 0.15);
}

.captcha-input {
  max-width: 100px;
  text-align: center;
}

/* Form success notification banner */
.form-status-alert {
  padding: 15px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: none;
  font-weight: 600;
  animation: fadeIn var(--transition-normal);
}

.form-status-alert.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

.form-status-alert.error {
  background-color: rgba(225, 29, 72, 0.1);
  color: var(--primary);
  border: 1px solid rgba(225, 29, 72, 0.2);
  display: block;
}