/* ============================================================
   KPPIKG FKG UI 2026 — Order Flow Design System
   Matches landing page aesthetic: academic, modern, earth tones
   ============================================================ */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand */
  --navy: #26435E;
  --gold: #C09F5F;
  --cream: #E6DDD1;

  /* Earth Tones */
  --olive: #756D45;
  --bronze: #BE823D;
  --terracotta: #A45F35;

  /* Neutrals */
  --charcoal: #333333;
  --white: #FFFFFF;
  --off-white: #F5F0EA;
  --dark-navy: #1A2F42;

  /* Functional */
  --shadow-sm: 0 2px 8px rgba(38, 67, 94, 0.08);
  --shadow-md: 0 8px 30px rgba(38, 67, 94, 0.12);
  --shadow-lg: 0 20px 50px rgba(38, 67, 94, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

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

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
  transition: all var(--transition);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--navy) !important;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--charcoal) !important;
  margin: 0 8px;
  position: relative;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gold) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), var(--bronze));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 60%;
}

.navbar-toggler {
  border: 1px solid rgba(38, 67, 94, 0.2);
  border-radius: var(--radius-sm);
}

.navbar-toggler-icon {
  filter: none;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(160deg, var(--dark-navy) 0%, var(--navy) 40%, #3A6B8C 100%);
  color: var(--white);
  min-height: 30vh;
  padding: 70px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192, 159, 95, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(190, 131, 61, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(26, 47, 66, 0.5) 0%, transparent 70%);
  z-index: 0;
}

/* Decorative geometric circle */
.hero-section::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(192, 159, 95, 0.12);
  border-radius: 50%;
  z-index: 0;
  animation: heroOrb 20s linear infinite;
}

@keyframes heroOrb {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  line-height: 1.8;
  font-weight: 400;
}

.hero-subtitle+.start-now-btn {
  margin-top: 30px;
}

/* Start Now / Choose Package Button */
.start-now-btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(192, 159, 95, 0.4);
  font-family: 'Inter', sans-serif;
}

.start-now-btn:hover {
  background: var(--bronze);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(192, 159, 95, 0.5);
}

.start-now-btn i {
  transition: transform 0.3s ease;
}

.start-now-btn:hover i {
  transform: translateY(3px);
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section-container {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--charcoal);
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.75;
  line-height: 1.8;
}

/* ============================================================
   PRICE CARDS
   ============================================================ */
.price-card {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive), var(--bronze));
  opacity: 0;
  transition: opacity var(--transition);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(192, 159, 95, 0.2);
}

.price-card:hover::before {
  opacity: 1;
}

.price-title {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.4rem;
  letter-spacing: -0.3px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-value {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--gold);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-description {
  color: var(--charcoal);
  opacity: 0.75;
  margin-bottom: 20px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.7;
  font-size: 0.95rem;
}

.availability-info {
  background: rgba(117, 109, 69, 0.08);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  height: 42px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================================
   FORM CONTROLS
   ============================================================ */
.form-label {
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-control {
  background-color: var(--white);
  border: 1.5px solid rgba(38, 67, 94, 0.15);
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 159, 95, 0.15);
  outline: none;
}

.quantity-input {
  max-width: 150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 85px;
  justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(192, 159, 95, 0.35);
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  background: var(--bronze) !important;
  border-color: var(--bronze) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 159, 95, 0.45);
}

.btn-outline-primary {
  color: var(--navy) !important;
  border-color: var(--navy) !important;
  background-color: transparent !important;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-outline-primary:hover:not([disabled]) {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border: 2px solid rgba(38, 67, 94, 0.15);
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-light:hover {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--charcoal) !important;
  border-color: var(--charcoal) !important;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   ALERT CUSTOM
   ============================================================ */
.alert-custom {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(38, 67, 94, 0.1);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   MERCHANDISE IMAGE
   ============================================================ */
.merch-img-container {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.merch-img {
  max-height: 150px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   CUSTOM CARDS (Form/Summary pages)
   ============================================================ */
.card-custom {
  background: var(--white);
  border: 1px solid rgba(38, 67, 94, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 0;
  height: auto;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  margin-bottom: 20px;
}

.card-custom:hover {
  box-shadow: var(--shadow-md);
}

.card-title-custom {
  background: linear-gradient(135deg, var(--navy), var(--dark-navy));
  color: var(--white);
  padding: 22px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
}

.card-body-custom {
  padding: 28px;
}

/* ============================================================
   LIST GROUP (Order Details)
   ============================================================ */
.list-group-custom {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 15px;
}

.list-item-custom {
  background: var(--off-white);
  border: 1px solid rgba(38, 67, 94, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.list-item-custom:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.item-title {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 1rem;
}

.item-quantity {
  color: var(--charcoal);
  opacity: 0.6;
  font-size: 0.9rem;
  margin-left: 10px;
}

.price-badge {
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ============================================================
   TOTAL SECTION
   ============================================================ */
.total-section {
  background: var(--off-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 15px;
}

/* ============================================================
   PAYMENT STYLES
   ============================================================ */
.payment-amount-section {
  padding: 36px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  margin: 30px 0;
  border: 1px solid rgba(38, 67, 94, 0.06);
}

.payment-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  margin: 20px 0;
}

/* ============================================================
   SHIPPING DETAILS
   ============================================================ */
.shipping-details {
  background: var(--off-white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 15px;
}

.shipping-cost,
.total-amount {
  font-weight: 700;
  color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg, var(--dark-navy), var(--navy));
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192, 159, 95, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(190, 131, 61, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.footer .container,
.footer p,
.footer a {
  position: relative;
  z-index: 1;
}

.footer a {
  color: var(--gold);
  font-weight: 500;
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--bronze);
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ============================================================
   CARD ACTION CONTAINER
   ============================================================ */
.card-action-container {
  margin-top: auto;
  margin-bottom: auto;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* ============================================================
   MODAL OVERRIDES
   ============================================================ */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--navy), var(--dark-navy));
  color: var(--white);
  border-bottom: none;
  padding: 20px 28px;
}

.modal-header .modal-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.modal-body {
  padding: 28px;
  font-family: 'Inter', sans-serif;
}

.modal-footer {
  border-top: 1px solid rgba(38, 67, 94, 0.08);
  padding: 16px 28px;
}

/* ============================================================
   TABLE OVERRIDES (for modals)
   ============================================================ */
.table-primary {
  background: rgba(38, 67, 94, 0.06) !important;
}

.table-primary th {
  color: var(--navy) !important;
  font-weight: 700;
  border-color: rgba(38, 67, 94, 0.1) !important;
}

.text-primary {
  color: var(--navy) !important;
}

.fw-bold.text-primary {
  color: var(--navy) !important;
}

.bg-primary {
  background-color: var(--navy) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 35vh;
    padding: 60px 0 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-container {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .price-title {
    font-size: 1.2rem;
  }

  .price-value {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section {
    min-height: 35vh;
    padding: 60px 0 0;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }

  .btn-primary,
  .btn-light,
  .btn-outline-primary {
    padding: 10px 24px;
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .card-custom {
    margin-bottom: 16px;
  }

  .card-body-custom {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .start-now-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  .payment-amount {
    font-size: 2rem;
  }
}

/* ============================================================
   FIX: Horizontal scrolling prevention
   ============================================================ */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.auth-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(38, 67, 94, 0.06);
  animation: fadeInUp 0.5s ease;
}

.auth-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, rgba(38, 67, 94, 0.85) 100%);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  color: var(--white);
}

.auth-card-header .auth-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(192, 159, 95, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.auth-card-header h3 {
  margin: 0 0 .35rem;
  font-weight: 700;
  font-size: 1.5rem;
}

.auth-card-header p {
  margin: 0;
  font-size: .9rem;
  opacity: .8;
}

.auth-card-body {
  padding: 2rem;
}

.auth-card-body .form-label {
  font-weight: 600;
  color: var(--navy);
  font-size: .875rem;
}

.auth-card-body .input-group-text {
  background: rgba(38, 67, 94, 0.04);
  border-color: var(--stroke);
  color: var(--gold);
}

.auth-card-body .form-control {
  border-color: var(--stroke);
  font-size: .95rem;
}

.auth-card-body .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 159, 95, 0.15);
}

.auth-footer {
  padding-top: .75rem;
  font-size: .9rem;
  color: var(--slate);
}

.auth-footer a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

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

.password-strength,
.password-match {
  min-height: 1.2em;
}

/* ============================================================
   MY ACCOUNT — Profile Stats
   ============================================================ */
.profile-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(38, 67, 94, 0.03);
  border-radius: var(--radius-sm);
}

.profile-stat i {
  font-size: 1.5rem;
  color: var(--gold);
  min-width: 1.5rem;
  text-align: center;
}

/* ============================================================
   ORDER HISTORY TABLE
   ============================================================ */
.account-table {
  margin-bottom: 0;
}

.account-table thead th {
  background: rgba(38, 67, 94, 0.04);
  color: var(--navy);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .85rem 1rem;
  border-bottom: 2px solid var(--stroke);
}

.account-table tbody td {
  padding: .85rem 1rem;
  vertical-align: middle;
  font-size: .9rem;
  color: var(--navy);
  border-bottom: 1px solid rgba(38, 67, 94, 0.06);
}

.account-table tbody tr:hover {
  background: rgba(192, 159, 95, 0.04);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: .3em .8em;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.status-pending {
  background: rgba(243, 156, 18, 0.12);
  color: #d68910;
}

.status-paid {
  background: rgba(39, 174, 96, 0.12);
  color: #1e8449;
}

.status-cancelled {
  background: rgba(231, 76, 60, 0.12);
  color: #c0392b;
}

/* Mobile Order Card */
.order-mobile-card {
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: .75rem;
}

/* ============================================================
   ORDER DETAIL COMPONENTS
   ============================================================ */
.list-group-custom {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.list-item-custom {
  padding: 1rem;
  background: rgba(38, 67, 94, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
}

.list-item-custom .item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.list-item-custom .item-quantity {
  font-size: .85rem;
  color: var(--slate);
}

.price-badge {
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.total-section {
  background: rgba(38, 67, 94, 0.03);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--navy);
}

.total-amount {
  color: var(--gold);
  font-weight: 800;
}

/* Ticket Card */
.ticket-card {
  background: var(--white);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

/* ============================================================
   PAGINATION OVERRIDES
   ============================================================ */
.pagination .page-link {
  color: var(--navy);
  border-color: var(--stroke);
}

.pagination .page-item.active .page-link {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.pagination .page-link:hover {
  background: rgba(38, 67, 94, 0.06);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* ============================================================
   PAYMENT METHOD CARDS
   ============================================================ */
.payment-method-card {
  background: var(--white);
  border: 2px solid rgba(38, 67, 94, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.payment-method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--bronze));
  opacity: 0;
  transition: opacity var(--transition);
}

.payment-method-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(192, 159, 95, 0.25);
}

.payment-method-card:hover::before {
  opacity: 1;
}

.pm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--dark-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(38, 67, 94, 0.2);
}

.pm-icon i {
  font-size: 1.6rem;
  color: var(--gold);
}

.pm-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.pm-description {
  color: var(--charcoal);
  opacity: 0.65;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 44px;
}

.pm-fee-breakdown {
  width: 100%;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pm-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--charcoal);
  padding: 4px 0;
}

.pm-fee-highlight {
  color: var(--terracotta);
  font-weight: 500;
}

.pm-fee-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  padding-top: 10px;
  margin-top: 8px;
  border-top: 2px solid rgba(38, 67, 94, 0.1);
}

.btn-pm {
  width: 100%;
  margin-top: auto;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  transition: all var(--transition) !important;
}

.btn-pm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive for payment method cards */
@media (max-width: 768px) {
  .payment-method-card {
    padding: 24px 20px;
  }

  .pm-icon {
    width: 60px;
    height: 60px;
  }

  .pm-icon i {
    font-size: 1.3rem;
  }

  .pm-title {
    font-size: 1.1rem;
  }
}

/* ============================================================
   ABSTRACT SUBMISSION — Article Type Cards
   ============================================================ */
.article-type-card {
  display: block;
  cursor: pointer;
  height: 100%;
}

.atc-inner {
  background: var(--white);
  border: 2px solid rgba(38, 67, 94, 0.1);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.atc-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--bronze));
  opacity: 0;
  transition: opacity var(--transition);
}

.article-type-card:hover .atc-inner {
  border-color: rgba(192, 159, 95, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-type-card:hover .atc-inner::before {
  opacity: 1;
}

.article-type-card.selected .atc-inner {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 159, 95, 0.2), var(--shadow-md);
  background: rgba(192, 159, 95, 0.03);
}

.article-type-card.selected .atc-inner::before {
  opacity: 1;
}

.atc-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--dark-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(38, 67, 94, 0.2);
}

.atc-icon i {
  font-size: 1.4rem;
  color: var(--gold);
}

.atc-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.atc-desc {
  color: var(--charcoal);
  opacity: 0.7;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.atc-check {
  color: var(--gold);
  font-size: 1.4rem;
  opacity: 0;
  transition: all var(--transition);
  transform: scale(0.5);
}

.article-type-card.selected .atc-check {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   ABSTRACT SUBMISSION — Guidelines Box
   ============================================================ */
.abstract-guidelines {
  background: rgba(38, 67, 94, 0.04);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--charcoal);
}

.abstract-guidelines ul {
  padding-left: 18px;
  margin: 0;
}

.abstract-guidelines li {
  margin-bottom: 4px;
  line-height: 1.6;
}

/* ============================================================
   ABSTRACT SUBMISSION — Word Counter
   ============================================================ */
.word-counter {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(38, 67, 94, 0.06);
  color: var(--charcoal);
  transition: all 0.3s ease;
}

.word-counter-ok {
  background: rgba(39, 174, 96, 0.1);
  color: #1e8449;
}

.word-counter-over {
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
  animation: pulse 0.5s ease;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ============================================================
   ABSTRACT SUBMISSION — File Upload Zone
   ============================================================ */
.file-upload-zone {
  border: 2px dashed rgba(38, 67, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  background: rgba(38, 67, 94, 0.02);
}

.file-upload-zone:hover {
  border-color: var(--gold);
  background: rgba(192, 159, 95, 0.03);
}

.file-upload-zone.drag-over {
  border-color: var(--gold);
  background: rgba(192, 159, 95, 0.08);
  transform: scale(1.01);
}

.fuz-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.6;
}

.fuz-content h5 {
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}

.fuz-content p {
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.7;
  margin-bottom: 8px;
}

.fuz-content a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

.fuz-file-info {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding: 8px 0;
}

.fuz-file-icon {
  font-size: 2.5rem;
  color: #2b579a;
}

.fuz-file-details {
  text-align: left;
}

.fuz-file-name {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.fuz-file-size {
  display: block;
  font-size: 0.8rem;
  color: var(--charcoal);
  opacity: 0.6;
}

/* ============================================================
   ABSTRACT SUBMISSION — Author Rows
   ============================================================ */
.author-row {
  background: var(--off-white);
  border: 1px solid rgba(38, 67, 94, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.author-row:hover {
  box-shadow: var(--shadow-sm);
}

.author-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.author-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--navy), var(--dark-navy));
  color: var(--white);
}

.co-author-badge {
  background: linear-gradient(135deg, var(--olive), var(--bronze));
}

.corresponding-check {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.corresponding-check input {
  margin-right: 6px;
  accent-color: var(--gold);
}

.corresponding-check span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
}

/* ============================================================
   ABSTRACT SUBMISSION — Award Options
   ============================================================ */
.award-option {
  cursor: pointer;
}

.award-option-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid rgba(38, 67, 94, 0.12);
  border-radius: 50px;
  transition: all var(--transition);
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
}

.award-option-inner i {
  font-size: 1.2rem;
}

.award-option:hover .award-option-inner {
  border-color: var(--gold);
  background: rgba(192, 159, 95, 0.04);
}

.award-option.selected .award-option-inner {
  border-color: var(--gold);
  background: rgba(192, 159, 95, 0.08);
  color: var(--navy);
  box-shadow: 0 0 0 3px rgba(192, 159, 95, 0.15);
}

.award-option.selected .award-option-inner i {
  color: var(--gold);
}

/* Award YES color */
.award-yes .award-option-inner {
  border-color: rgba(39, 174, 96, 0.25);
}

.award-yes .award-option-inner i {
  color: #27ae60;
}

.award-yes:hover .award-option-inner {
  border-color: #27ae60;
  background: rgba(39, 174, 96, 0.04);
}

.award-yes.selected .award-option-inner {
  border-color: #27ae60;
  background: rgba(39, 174, 96, 0.08);
  color: #1e8449;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
}

.award-yes.selected .award-option-inner i {
  color: #27ae60;
}

/* Award NO color */
.award-no .award-option-inner {
  border-color: rgba(231, 76, 60, 0.25);
}

.award-no .award-option-inner i {
  color: #e74c3c;
}

.award-no:hover .award-option-inner {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.04);
}

.award-no.selected .award-option-inner {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.08);
  color: #c0392b;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.award-no.selected .award-option-inner i {
  color: #e74c3c;
}

/* ============================================================
   ABSTRACT SUBMISSION — Success / Submission ID Card
   ============================================================ */
.submission-id-card {
  background: var(--white);
  border: 2px solid rgba(192, 159, 95, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.submission-id-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--bronze), var(--gold));
}

.sid-icon {
  font-size: 4rem;
  color: #27ae60;
  margin-bottom: 16px;
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.sid-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--charcoal);
  opacity: 0.6;
  font-weight: 600;
  margin-bottom: 8px;
}

.sid-code {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: 'Courier New', monospace;
  background: rgba(38, 67, 94, 0.04);
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gold);
}

.sid-note {
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.65;
  max-width: 500px;
  margin: 0 auto;
}

/* Summary Rows */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(38, 67, 94, 0.06);
  gap: 16px;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  white-space: nowrap;
  min-width: 160px;
}

.summary-value {
  color: var(--charcoal);
  font-size: 0.9rem;
  text-align: right;
  word-break: break-word;
}

/* Author summary row */
.author-summary-row {
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

/* ============================================================
   ABSTRACT SUBMISSION — Animations
   ============================================================ */
.fade-in {
  animation: fadeInUp 0.35s ease;
}

.fade-out {
  animation: fadeOutDown 0.3s ease forwards;
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(15px);
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
}

/* ============================================================
   ABSTRACT SUBMISSION — Abstract Status Badges (extended)
   ============================================================ */
.status-submitted {
  background: rgba(52, 152, 219, 0.12);
  color: #2471a3;
}

.status-under_review {
  background: rgba(243, 156, 18, 0.12);
  color: #d68910;
}

.status-accepted {
  background: rgba(39, 174, 96, 0.12);
  color: #1e8449;
}

.status-rejected {
  background: rgba(231, 76, 60, 0.12);
  color: #c0392b;
}

/* ============================================================
   ABSTRACT SUBMISSION — Responsive
   ============================================================ */
@media (max-width: 768px) {
  .atc-inner {
    padding: 20px 16px;
  }

  .atc-icon {
    width: 50px;
    height: 50px;
  }

  .atc-icon i {
    font-size: 1.1rem;
  }

  .author-row-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .file-upload-zone {
    padding: 30px 16px;
  }

  .sid-code {
    font-size: 1.5rem;
    padding: 10px 20px;
  }

  .summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .summary-value {
    text-align: left;
  }

  .award-option-inner {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ============================================================
   ABSTRACT SUBMISSION — Quill Rich Text Editor
   ============================================================ */
.quill-editor {
  background: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.quill-editor .ql-editor {
  min-height: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
  padding: 14px 16px;
}

.quill-editor .ql-editor.ql-blank::before {
  font-style: normal;
  color: rgba(51, 51, 51, 0.4);
  font-size: 0.95rem;
}

/* Toolbar */
.quill-editor+.ql-toolbar,
.ql-toolbar.ql-snow {
  border: 1.5px solid rgba(38, 67, 94, 0.15);
  border-bottom: 1px solid rgba(38, 67, 94, 0.1);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--off-white);
  font-family: 'Inter', sans-serif;
  padding: 6px 8px;
}

.ql-container.ql-snow {
  border: 1.5px solid rgba(38, 67, 94, 0.15);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Toolbar buttons */
.ql-snow .ql-toolbar button,
.ql-snow.ql-toolbar button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button:hover {
  background: rgba(192, 159, 95, 0.12);
}

.ql-snow .ql-toolbar button.ql-active,
.ql-snow.ql-toolbar button.ql-active {
  background: rgba(38, 67, 94, 0.1);
  color: var(--navy);
}

.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button:hover .ql-stroke {
  stroke: var(--navy);
}

.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button:hover .ql-fill {
  fill: var(--navy);
}

.ql-snow .ql-toolbar button.ql-active .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke {
  stroke: var(--navy);
}

.ql-snow .ql-toolbar button.ql-active .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill {
  fill: var(--navy);
}

/* Focus state */
.quill-editor:focus-within .ql-toolbar.ql-snow,
.abstract-field .ql-toolbar.ql-snow:has(+ .ql-container .ql-editor:focus) {
  border-color: var(--gold);
}

.quill-editor:focus-within .ql-container.ql-snow,
.abstract-field .ql-container.ql-snow:has(.ql-editor:focus) {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 159, 95, 0.15);
}

/* Abstract field animation */
.abstract-field {
  animation: fadeInUp 0.3s ease;
}

/* Title Quill editor — single-line feel */
.quill-editor-title .ql-editor {
  min-height: 48px;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .quill-editor .ql-editor {
    min-height: 80px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .ql-snow .ql-toolbar button,
  .ql-snow.ql-toolbar button {
    width: 28px;
    height: 28px;
  }
}