:root {
  --primary: #2563eb; /* modern biru */
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --primary-950: #172554;

  --accent: #dc2626; /* merah elegan */
  --accent-dark: #b91c1c;
  --accent-light: #ef4444;
  --accent-50: #fef2f2;
  --accent-100: #fee2e2;
  --accent-200: #fecaca;
  --accent-300: #fca5a5;
  --accent-400: #f87171;
  --accent-500: #ef4444;
  --accent-600: #dc2626;
  --accent-700: #b91c1c;
  --accent-800: #991b1b;
  --accent-900: #7f1d1d;
  --accent-950: #450a0a;

  --gradient-primary: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  --gradient-accent: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  --gradient-mixed: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  --gradient-hero: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #dc2626 100%);
  
  --bg: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 20px rgb(37 99 235 / 0.15);
  --shadow-glow-red: 0 0 20px rgb(220 38 38 / 0.15);
  
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 3rem;
  
  /* Enhanced color utilities */
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --info: #3b82f6;
  --info-light: #60a5fa;
}

body {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%,  rgba(20,56,160,0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(227,30,36,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(10,26,74,0.7) 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
/* Modern Selection */
::selection {
  background: var(--primary-200);
  color: var(--primary-900);
}

/* Modern Focus Styles */
:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }

.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

.hero .container {
  max-width: 1200px;
}

/* HEADER */
header {
  background: rgba(6,15,46,0.75);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

header .container > div {
  display: flex;
  justify-content: space-between;
  align-items: center; /* ini penting biar ga naik turun */
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-600);
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo:hover {
  color: var(--primary-700);
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 0;
  border-radius: var(--radius);
}

.nav a:hover {
  color: var(--primary-600);
  background: var(--primary-50);
}

.nav a.active {
  color: var(--primary-600);
  background: var(--primary-50);
}


/* HERO */
.hero {
  padding: 5rem 0;
  background: transparent;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(20,56,160,0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(227,30,36,0.35) 0%, transparent 50%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
}

.hero-box {
  background: rgba(10,26,74,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  margin-top: 3rem;
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-box,
.hero-box label,
.hero-box h2,
.hero-box h3,
.hero-box p {
  color: #fff;
}


/* FORM */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.25rem;
  display: block;
}

/* INPUT */
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(227,30,36,0.6);
  box-shadow: 0 0 0 3px rgba(227,30,36,0.12);
  background: rgba(255,255,255,0.08);
}

input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.35); }


/* Modern Input Enhancements */
input:hover,
select:hover,
textarea:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}

/* Modern Checkbox and Radio Styles */
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
  background: var(--gradient-primary);
  border-color: var(--primary-600);
}

input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked {
  background: var(--gradient-primary);
  border-color: var(--primary-600);
}

input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

/* BUTTON */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

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

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

.btn-accent {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-mixed {
  background: var(--gradient-mixed);
  color: white;
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline:hover {
  background: var(--primary-50);
  border-color: var(--primary-600);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

button {
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

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

/* CARD */
.card {
  background: rgba(10,26,74,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255,255,255,0.14);
  background: rgba(10,26,74,0.7);
}

.card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* TRACKING */
.tracking-box {
  display: flex;
  gap: 10px;
}

.tracking-box input {
  flex: 1;
}

/* RESULT */
.result {
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border-left: 5px solid var(--accent);
}

#result {
  margin-top: 20px;
  min-height: auto;
}

#result:empty {
  display: none;
}

.result-container {
  padding-top: 0;
  margin-top: -10px;
}
/* CONTACT PAGE */

.contact-header p {
  color: #777;
  margin-top: 5px;
}

/* CONTACT LAYOUT */
.contact-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
}

.contact-left,
.contact-right {
  display: flex;
  flex-direction: column;
}

.contact-left {
  flex: 1;
}

.contact-right {
  flex: 2;
}

/* CONTACT CARD */
.contact-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #dc2626 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  justify-content: space-between;
}

.contact-card,
.contact-right .card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-right .card {
  padding: 35px;
  justify-content: flex-start;
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

/* INFO BOX INSIDE */
.contact-card .info-box {
  background: rgba(255, 255, 255, 0.12);
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.contact-card .info-box h4 {
  color: #fff;
  margin-bottom: 5px;
}

.contact-card .info-box p {
  color: rgba(255, 255, 255, 0.85);
}

/* FORM CARD */
.contact-right .card {
  padding: 30px;
}

/* BUTTON FULL WIDTH */
.btn-send {
  width: 100%;
  margin-top: 15px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }
}

/* INFO BOX */
.contact-info {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}

.info-box {
  flex: 1;
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #eee;
  border-left: 4px solid var(--accent);
}

.info-box h4 {
  margin: 0;
  color: #d40511;
}

.info-box p {
  margin: 5px 0 0;
  color: #555;
}

/* CONTACT FORM */
.contact-form {
  margin-top: 15px;
}

.contact-form button {
  margin-top: 15px;
}

/* TEXTAREA FIX */
textarea {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
  font-size: 14px;
  min-height: 130px;
  resize: vertical;
  transition: 0.2s;
}

/* FOOTER */
.footer {
  background: rgba(4,10,30,0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.5);
  margin-top: 60px;
  padding: 40px 0;
  width: 100%;
}

.footer-grid {
  display: flex;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

.footer h3 {
  color: white;
  margin-bottom: 10px;
}

.footer h4 {
  color: white;
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.2s;
}

.footer ul li a:hover {
  color: #d40511;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding: 15px 0;
  text-align: center;
  font-size: 14px;
  color: #888;
}

.feature-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.feature {
  flex: 1;
  background: #f8fafc;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: 0.2s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature h3 {
  margin-bottom: 10px;
}

.feature p {
  color: #666;
}

.faq h3 {
  margin-top: 20px;
  color: #d40511;
}

.faq p {
  color: #555;
}

.steps {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.step {
  flex: 1;
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
}

.countries {
  margin-top: 10px;
  color: #555;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.office-grid {
  display: flex;
  gap: 20px;
}

.faq-item {
  margin-bottom: 20px;
}

.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  text-align: center;
  padding: 40px;
  margin-top: 30px;
  border-radius: 10px;
}

/* ACCORDION */
.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  padding: 18px;
  cursor: pointer;
  font-weight: 600;
  background: #fafafa;
  transition: 0.2s;
  position: relative;
}

.accordion-header:hover {
  background: #f3f3f3;
}

.accordion-header:after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 18px;
}

.accordion-item.active .accordion-header:after {
  content: "-";
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  padding: 0 18px;
  color: #555;
}

.accordion-item.active .accordion-body {
  max-height: 200px;
  padding: 15px 18px;
}

.admin-container {
  padding: 30px;
}

.admin-grid {
  display: flex;
  gap: 20px;
}

.admin-card {
  flex: 1;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.admin-header {
  background: #111;
  color: white;
  padding: 15px;
}

.profile-menu {
  position: relative;
  cursor: pointer;
  font-weight: 600;
}

.profile-name {
  color: #333;
  padding: 5px 8px; /* sebelumnya 10px */
  display: block;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: 35px;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: none;
  min-width: 150px;
  z-index: 100;
}

.profile-dropdown a {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: #333;
}

.profile-dropdown a:hover {
  background: #f5f5f5;
}

.profile-menu:hover .profile-dropdown {
  display: block;
}

.admin-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.admin-card {
  flex: 1;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* ================= ADMIN UI ================= */

/* Layout */
.admin-container {
  padding: 40px 0;
}

/* Title */
.admin-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* GRID STATS */
.admin-stats {
  display: flex;
  gap: 20px;
  margin: 20px 0 30px;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  flex: 1;
  padding: 30px;
  border-radius: 14px;
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card h2 {
  margin: 0;
  font-size: 28px;
}

.card p { color: var(--text-secondary); line-height: 1.7; }

.stat-card p {
  margin: 5px 0 0;
  opacity: 0.8;
}

/* TABLE MODERN */
.admin-table {
  background: rgba(10,26,74,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.07);
}
.admin-table tr td {
  vertical-align: middle;
}

.admin-table td {
  font-size: 14px;
}

.admin-table th {
  background: #dc2626;
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.admin-table tr:hover {
  background: #f9fafc;
}

/* STATUS BADGE */
.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.badge.processing {
  background: #fef3c7;
  color: #92400e;
}

.badge.shipped {
  background: #dbeafe;
  color: #1e3a8a;
}

.badge.cancel {
  background: #fee2e2;
  color: #991b1b;
}

/* BUTTON SMALL */
.btn-small {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 6px;
}

/* ACTION BUTTON */
.btn-edit {
  background: #007bff;
  color: white;
}

/* PROFILE CARD */
.profile-card {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.profile-card h2 {
  margin: 0;
}

.profile-card p {
  opacity: 0.85;
  margin-top: 5px;
}

/* VARIASI STAT */
.stat-card.blue {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.stat-card.red {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.btn-delete {
  background: #dc3545;
  color: white;
}

.dashboard-header {
  margin-top: 20px;
  margin-bottom: 20px;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 28px;
}

.dashboard-header p {
  color: #666;
  margin-top: 5px;
}

/* QUICK ACTION */
.quick-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.quick-actions a {
  flex: 1;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: white;
}

.quick-book {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.quick-track {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

/*NOTIF KIRIM*/
.alert-success {
  background: #d1fae5;
  color: #065f46;
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s ease;
}

/* saat muncul */
.alert-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* saat hilang */
.alert-success.hide {
  opacity: 0;
  transform: translateY(-10px);
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-info {
    flex-direction: column;
  }

  .btn-send {
    width: 100%;
  }
}
textarea:focus {
  outline: none;
  border-color: #d40511;
  box-shadow: 0 0 0 3px rgba(212, 5, 17, 0.08);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 900px) {
  .form-row {
    flex-direction: column;
  }

  .nav {
    display: none;
  }
}

/* LOGIN PAGE */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.login-card {
  width: 100%;
  max-width: 1450px;
  background: white;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.login-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* HEADER */
.login-header h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.login-header p {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
}

/* FORM */
.login-form .form-group {
  margin-bottom: 18px;
}

.login-form input {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: 0.2s;
}

.login-form input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* BUTTON */
.btn-login {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transition: 0.2s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* FOOTER */
.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

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

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

.footer h3, .footer h4 { color: rgba(255,255,255,0.85); }
.footer ul li a { color: rgba(255,255,255,0.45); }
.footer ul li a:hover { color: #E31E24; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 30px;
  padding: 15px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.25);
}

/* ================== tracking ================== */
/* WRAPPER KHUSUS */
.tracking-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HERO KHUSUS TRACKING */
.tracking-page .hero {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
}

.tracking-page .hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.tracking-page .hero p {
  opacity: 0.9;
}

/* BOX FORM */
.tracking-page .hero-box {
  max-width: 700px;
  margin: 30px auto 0;
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* INPUT TRACKING */
.tracking-page .tracking-box {
  display: flex;
  gap: 10px;
}

.tracking-page .tracking-box input {
  flex: 1;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* BUTTON */
.tracking-page .tracking-box button {
  padding: 14px 25px;
  border-radius: 8px;
  font-weight: 600;
}

/* RESULT CARD */
.tracking-page .result-card {
  max-width: 700px;
  margin: 30px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--accent);
  animation: fadeIn 0.3s ease;
}

/* TEXT RESULT */
.tracking-page .result-card h3 {
  margin-bottom: 10px;
}

.tracking-page .result-card p {
  margin: 6px 0;
  color: #555;
}

/* STATUS STYLE */
.tracking-page .status {
  font-weight: 700;
  color: var(--primary);
}

/* ANIMASI */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .tracking-page .tracking-box {
    flex-direction: column;
  }

  .tracking-page .tracking-box button {
    width: 100%;
  }
}

.hero-box {
  color: #333;
}

.hero-box label,
.hero-box h2,
.hero-box h3,
.hero-box p {
  color: #333;
}

.tracking-page {
  min-height: auto;
}

.tracking-page + .footer {
  margin-top: 0;
}

/* ================= CUSTOMER SERVICE ONLY ================= */
/* Tambahkan di PALING BAWAH css kamu */
/* Tidak merusak halaman lain */

.contact-wrapper {
  display: flex;
  gap: 35px;
  margin-top: 50px;
  margin-bottom: 30px;
  align-items: stretch;
}

/* kiri */
.contact-left {
  flex: 1;
}

/* kanan */
.contact-right {
  flex: 1.4;
}

.contact-card {
  background: linear-gradient(135deg, rgba(6,15,46,0.9) 0%, rgba(10,26,74,0.85) 50%, rgba(80,10,20,0.7) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  height: 100%;
}

.contact-card h3 {
  font-size: 26px;
  margin-bottom: 25px;
  color: white;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* BOX INFO */
.contact-card .info-box {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.25s;
}

.contact-card .info-box:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-3px);
}
.contact-card .info-box h4 { color: #fff; margin-bottom: 6px; }
.contact-card .info-box p  { color: rgba(255,255,255,0.75); margin: 0; }

.contact-card .info-box h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: white;
}

.contact-card .info-box p {
  margin: 0;
  font-size: 15px;
}

/* FORM CARD */
.contact-right .card {
  background: rgba(10,26,74,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}


.contact-right .card h3 { color: #fff; }
.contact-form label { color: rgba(255,255,255,0.75); }

/* INPUT */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
  font-size: 15px;
  background: #fff;
  transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* textarea */
.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

/* button */
.btn-send {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.18);
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(220, 38, 38, 0.24);
}

/* notif */
.alert-success {
  max-width: 1450px;
  margin: 20px auto 0;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

/* HERO khusus customer */
.hero p {
  max-width: 760px;
  line-height: 1.8;
  opacity: 0.95;
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .contact-card,
  .contact-right .card {
    padding: 25px;
    border-radius: 16px;
  }

  .contact-card h3,
  .contact-right .card h3 {
    font-size: 22px;
  }
}

.contact-right .card {
  margin-top: 0;
}

/* Fix accordion tracking page - tambah di paling bawah CSS */
.tracking-page .card:hover {
  transform: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tracking-page .accordion-item.active .accordion-body {
  max-height: 500px;
}

.tracking-page .accordion-item:last-child {
  border-bottom: none;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}

.tracking-page .container {
  margin-bottom: 30px;
}

/* Filter Tab */
.btn-filter-tab {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid #ccc;
  text-decoration: none;
  color: #444;
  background: white;
  transition: 0.2s;
  cursor: pointer;
}
.btn-filter-tab:hover {
  border-color: #111;
  color: #111;
}

/* Pagination */
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  background: white;
  transition: 0.2s;
}
.page-btn:hover {
  background: #f3f4f6;
}
.page-btn-active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== ORDERS PAGE ONLY ===== */
.orders-header {
  margin: 20px 0 24px;
}
.orders-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: #1e3a8a;
}
.orders-header p {
  color: #64748b;
  margin-top: 4px;
}

.orders-filter-panel {
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.orders-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.orders-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.orders-filter-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.orders-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.orders-tab {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  background: white;
  transition: all 0.18s;
  cursor: pointer;
}
.orders-tab:hover {
  border-color: #dc2626;
  color: #dc2626;
}
.orders-tab--active {
  background: #dc2626 !important;
  color: white !important;
  border-color: #dc2626 !important;
}

.orders-search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.orders-search-wrap {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.orders-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.orders-search-wrap input {
  padding-left: 38px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
}
.orders-search-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.orders-table-wrap {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.orders-table-meta {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}
.orders-tracking {
  font-family: monospace;
  background: #eff6ff;
  color: #1e3a8a;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}
.orders-userid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 800;
}
.orders-empty {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
  font-size: 14px;
}
.orders-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Service badges */
.badge-svc-express {
  background: #ede9fe;
  color: #5b21b6;
}
.badge-svc-economy {
  background: #d1fae5;
  color: #065f46;
}
/* Status badge tambahan */
.badge.pending {
  background: #e0f2fe;
  color: #0c4a6e;
}
.badge.delivered {
  background: #d1fae5;
  color: #065f46;
}

.orders-tab--shipped:hover,
.orders-tab--active.orders-tab--shipped {
  background: #1e3a8a !important;
  border-color: #1e3a8a !important;
  color: white !important;
}
.orders-tab--processing:hover,
.orders-tab--active.orders-tab--processing {
  background: #92400e !important;
  border-color: #d97706 !important;
  color: white !important;
}
.orders-tab--pending:hover,
.orders-tab--active.orders-tab--pending {
  background: #0c4a6e !important;
  border-color: #0ea5e9 !important;
  color: white !important;
}
.orders-tab--cancelled:hover,
.orders-tab--active.orders-tab--cancelled {
  background: #991b1b !important;
  border-color: #dc2626 !important;
  color: white !important;
}
.orders-tab--delivered:hover,
.orders-tab--active.orders-tab--delivered {
  background: #065f46 !important;
  border-color: #10b981 !important;
  color: white !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: white;
  padding: 25px;
  border-radius: 14px;
  width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.modal-header button {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.modal-box input,
.modal-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.btn-save {
  width: 100%;
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

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

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ── Global Animation Classes ── */
.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInDown {
  animation: fadeInDown 0.6s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ── Modern Utility Classes ── */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-text {
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.hover-scale {
  transition: transform 0.3s ease;
}

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

/* ── Modern Badge System ── */
.badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.badge-blue {
  background: var(--primary-100);
  color: var(--primary-700);
  border-color: var(--primary-200);
}

.badge-red {
  background: var(--accent-100);
  color: var(--accent-700);
  border-color: var(--accent-200);
}

.badge-green {
  background: #10b98125;
  color: #047857;
  border-color: #10b98150;
}

.badge-yellow {
  background: #f59e0b25;
  color: #92400e;
  border-color: #f59e0b50;
}

/* ── Modern Button Variants ── */
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-ghost-blue {
  background: transparent;
  color: var(--primary-600);
  border: 2px solid var(--primary-500);
}

.btn-ghost-blue:hover {
  background: var(--primary-50);
  border-color: var(--primary-600);
}

.btn-ghost-red {
  background: transparent;
  color: var(--accent-600);
  border: 2px solid var(--accent-500);
}

.btn-ghost-red:hover {
  background: var(--accent-50);
  border-color: var(--accent-600);
}

/* ── Modern Card Variants ── */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-xl);
}

.card-gradient {
  background: var(--gradient-mixed);
  color: white;
  border: none;
}

.card-hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

/* ── Loading States ── */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.5s infinite;
}

/* ── Hover Effects ── */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.hover-scale {
  transition: transform 0.2s ease;
}

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


/* ── Selection Color ── */
::selection {
  background: var(--primary-100);
  color: var(--primary-800);
}

select option { background: #0A1A4A; color: #fff; }

/* ── Focus Styles ── */
:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
