/* style.css - Junaidul IMO Royal Executive Gold Glass Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Royal Midnight & Gold Executive Glass Theme */
  --bg-gradient: linear-gradient(135deg, #070a12 0%, #0f172a 45%, #1c1917 100%);
  --surface-color: rgba(17, 24, 39, 0.88);
  --surface-border: rgba(245, 158, 11, 0.35);
  --text-primary: #fef08a;
  --text-secondary: #cbd5e1;
  --primary-color: #f59e0b;
  --primary-light: #fbbf24;
  --primary-lighter: #fde68a;
  --accent-color: #d97706;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(245, 158, 11, 0.25);
  --shadow-modal: 0 25px 60px rgba(0, 0, 0, 0.85);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background Elements */
.bg-shape {
    position: fixed;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
    z-index: -1;
}
.shape-1 {
    width: 450px; height: 450px;
    background: #d97706; /* Rich Metallic Amber Glow */
    top: -120px; left: -100px;
    border-radius: 50%;
}
.shape-2 {
    width: 500px; height: 500px;
    background: #b45309; /* Deep Bronze Gold Glow */
    bottom: -150px; right: -100px;
    border-radius: 50%;
    animation-delay: -5s;
}
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* Base App Layout */
.app-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  min-height: 100vh;
  position: relative;
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .app-container {
    max-width: 100%;
  }
}

/* IMO Header */
.imo-header {
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--primary-color);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  border-radius: 0 0 16px 16px;
  margin-bottom: 1rem;
}

.imo-header h1 {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.header-refresh {
  position: absolute;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.header-refresh:hover {
  background: var(--primary-light);
  color: white;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--surface-border);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.75rem);
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 4px;
    transition: all 0.2s ease;
}
.nav-item i {
    font-size: 1.2rem;
}
.nav-item.active, .nav-item:hover {
    color: var(--primary-color);
}
body {
    padding-bottom: 70px;
}

/* Sections */
.section {
  padding: 1rem;
}

/* Cards & Inputs */
.imo-card {
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.5);
  border: 1px solid var(--surface-border);
  margin-bottom: 1rem;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.imo-input {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
}

.imo-input:focus {
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-help-btn {
  position: absolute;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
}

.helper-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

/* Credit Grid */
.credit-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .credit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.credit-item {
  position: relative;
  overflow: hidden;
  border: 1.6px solid rgba(7, 94, 150, 0.46);
  border-radius: 16px;
  padding: 0.9rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  min-height: 105px;
  background: linear-gradient(135deg, rgba(28, 20, 10, 0.9), rgba(15, 11, 5, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(254, 240, 138, 0.15),
    0 8px 22px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.credit-item:hover {
  border-color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.credit-item.selected {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(180, 83, 9, 0.35));
  box-shadow:
    inset 0 1px 0 rgba(254, 240, 138, 0.4),
    0 0 0 2px rgba(245, 158, 11, 0.4),
    0 16px 34px rgba(245, 158, 11, 0.35);
  transform: translateY(-3px);
}

.credit-item .diamond-val {
  font-size: clamp(1.05rem, 3.8vw, 1.3rem);
  font-weight: 800;
  color: #fef08a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.credit-item .price-val {
  font-size: clamp(0.75rem, 2.8vw, 0.85rem);
  color: rgba(11, 20, 55, 0.75);
  font-weight: 600;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.check-icon {
  position: absolute;
  top: 0.45rem;
  right: 0.5rem;
  background: linear-gradient(135deg, #0877b9, #064b78);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(6, 75, 120, 0.24);
  z-index: 2;
}

.credit-item.selected .check-icon {
  display: flex;
}

/* Coupon Select */
.coupon-select {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  font-size: 0.9rem;
  color: var(--text-primary);
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/200.svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 1rem center;
  background-color: transparent;
}

/* Action Bar */
.action-bar {
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--surface-border);
  margin: 1rem;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.05);
}

.qty-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--primary-light);
  background: #f0f8ff;
  color: var(--primary-light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
}

.total-display {
  text-align: right;
}

.total-diamonds {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.total-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-proceed {
  width: 100%;
  padding: 1.1rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  color: #000000;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-proceed:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}
.btn-proceed:disabled {
  background: rgba(45, 35, 20, 0.8);
  color: #78716c;
  cursor: not-allowed;
  box-shadow: none;
}

/* Support & History Sections */
.section-header {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--surface-color);
  margin-bottom: 0.5rem;
  border: 1px solid var(--surface-border);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.support-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.support-icon.imo { background: #e3f2fd; color: #00569e; }
.support-icon.wa { background: #dcf8c6; color: #25d366; }

.support-text .title { font-size: 0.9rem; color: var(--text-secondary); }
.support-text .value { font-size: 1rem; font-weight: 600; color: var(--text-primary); }

.search-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--primary-light);
  background: transparent;
  color: var(--primary-light);
  font-weight: 600;
  margin-top: 0.5rem;
  cursor: pointer;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--surface-border);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal), inset 0 1px 0 rgba(255,255,255,0.5);
  position: relative;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid var(--primary-light);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: #f0f8ff;
}

.close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.order-summary {
  background: #f8fbff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.summary-item .label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.summary-item .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.btn-pay-upi {
  flex: 1;
  background: linear-gradient(90deg, #60b3e6, #3b88c3);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.btn-show-qr {
  background: white;
  border: 1px solid var(--surface-border);
  color: var(--primary-color);
  border-radius: 12px;
  padding: 1rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  min-width: 80px;
}

.modal-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.timer-text {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Forms for modals */
.form-group {
  margin-bottom: 1rem;
  text-align: left;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--surface-border);
  font-size: 1rem;
}

/* Admin Tables */
.admin-table-container {
  width: 100%;
  overflow-x: auto;
  background: var(--surface-color);
  border-radius: 16px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.5);
  border: 1px solid var(--surface-border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.5);
  padding: 1rem;
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--surface-border);
}

.admin-table td {
  padding: 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--surface-border);
  vertical-align: middle;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-success { background: #dcf8c6; color: #166534; }
.badge-warning { background: #fef08a; color: #854d0e; }
.badge-danger { background: #fee2e2; color: #991b1b; }

.btn-sm {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: white;
}
.btn-success { background: #22c55e; }
.btn-danger { background: #ef4444; }
.btn-secondary { background: #64748b; }


/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.imo-diamond {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.2em;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* ==========================================================================
   Notice Marquee Banner Styles
   ========================================================================== */
.notice-banner-wrapper {
  margin-bottom: 1rem;
  width: 100%;
}

.notice-banner {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(224, 242, 254, 0.98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(37, 99, 235, 0.4);
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12), inset 0 0 10px rgba(59, 130, 246, 0.05);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.notice-banner:hover {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18), inset 0 0 12px rgba(59, 130, 246, 0.08);
}

.notice-badge {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  letter-spacing: 0.6px;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
  z-index: 2;
}

.notice-badge .animated-bell {
  animation: bell-swing 2s infinite ease-in-out;
  font-size: 0.85rem;
  color: #fbbf24;
}

@keyframes bell-swing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70% { transform: rotate(16deg); }
  20%, 40%, 60%, 80% { transform: rotate(-16deg); }
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-anim 35s linear infinite;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e3a8a;
  padding-left: 100%; /* Start scrolling from right outside container */
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee-anim {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   Payment Lock Modal & Animation Styles
   ========================================================================== */
.payment-lock-card {
  max-width: 420px;
  width: 90%;
  background: #ffffff;
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.2);
  animation: lock-modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

@keyframes lock-modal-pop {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.lock-icon-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #fee2e2, #fef2f2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2);
}


.lock-glow-ring {
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(239, 68, 68, 0.4);
  animation: ring-rotate 12s linear infinite;
}

@keyframes ring-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.lock-main-icon {
  font-size: 2.8rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lock-bounce 2s infinite ease-in-out;
}

@keyframes lock-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.05); }
}

.lock-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.lock-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lock-modal-msg {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.btn-lock-dismiss {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  width: 100% !important;
  padding: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-lock-dismiss:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4) !important;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #090602 0%, #171005 50%, #241908 100%);
  color: #fef08a;
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   2-Column Layout & Header / Support Styles (Royal Gold Theme)
   ========================================================================== */
.announcement-bar {
  background: #1c150b;
  color: #fde68a;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}
.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.announcement-icon {
  color: #f59e0b;
  font-size: 0.95rem;
  background: rgba(245, 158, 11, 0.2);
  padding: 0.4rem;
  border-radius: 50%;
}

.site-header {
  background: linear-gradient(135deg, #1f1609 0%, #0d0903 100%);
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.35);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto;
}
.imo-logo-badge {
  background: #0284c7;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  letter-spacing: -0.5px;
}
.header-text {
  display: flex;
  flex-direction: column;
}
.header-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
}
.header-subtitle {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.6px;
}
.header-refresh {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.header-refresh:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Floating Guide Badge */
.guide-floating-badge {
  position: absolute;
  top: -26px;
  right: 15px;
  background: linear-gradient(135deg, #382710, #1f180a);
  color: #fef08a;
  padding: 0.35rem 0.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.guide-floating-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
.guide-badge-icon {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.guide-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.guide-badge-sub {
  font-size: 0.55rem;
  color: #fde68a;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.guide-badge-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fbbf24;
}

.app-layout-wrapper {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 850px) {
  .app-layout-wrapper {
    grid-template-columns: 1fr;
    margin: 1rem auto;
  }
}
.main-card {
  background: rgba(20, 15, 8, 0.94);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(251, 191, 36, 0.2);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
}
.profile-input-container {
  display: flex;
  align-items: center;
  background: rgba(10, 7, 3, 0.95);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  gap: 0.75rem;
  transition: all 0.2s;
}
.profile-input-container:focus-within {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}
.profile-icon {
  color: #f59e0b;
  font-size: 1.1rem;
}
.profile-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  color: #fef08a;
  background: transparent;
}
.help-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.helper-text {
  font-size: 0.8rem;
  color: #fde68a;
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
}
.summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 7, 3, 0.95);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  padding: 0.85rem 1.2rem;
  margin: 1.25rem 0;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #382710, #1f180a);
  color: #fef08a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stepper-input {
  width: 36px;
  text-align: center;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  padding: 0.35rem 0;
  font-weight: 700;
  background: #0a0703;
  color: #fef08a;
}
.totals {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.total-diamonds {
  font-size: 0.9rem;
  color: #fde68a;
}
.total-price {
  font-size: 1.1rem;
  color: #fef08a;
  font-weight: 800;
}

.support-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.support-card {
  background: rgba(20, 15, 8, 0.94);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(251, 191, 36, 0.2);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
}
.support-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fef08a;
  margin-bottom: 0.25rem;
}
.support-subtitle {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}
.support-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
  background: rgba(10, 7, 3, 0.9);
}
.support-link:hover {
  border-color: #fbbf24;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}
.imo-icon-box {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-icon-box {
  background: #25d366;
  color: white;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.support-text-main {
  display: block;
  font-weight: 700;
  color: #fef08a;
  font-size: 0.95rem;
}
.support-text-sub {
  display: block;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: #cbd5e1;
  font-size: 0.85rem;
}
.site-footer a {
  color: #f59e0b;
  text-decoration: none;
  font-weight: 600;
}

/* History Detail Card (Matching Image Reference UI) */
.txn-detail-card {
  background: #ffffff;
  width: 92%;
  max-width: 440px;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  animation: lock-modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.txn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
}

.txn-label {
  color: #64748b;
  font-weight: 500;
}

.txn-val {
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.font-bold {
  font-weight: 700;
}

.copy-btn {
  background: #eff6ff;
  color: #2563eb;
  border: none;
  padding: 3px 7px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: #dbeafe;
}

.status-pill {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pill-pending {
  background: #fef9c3;
  color: #a16207;
  border: 1px solid #fde047;
}

.pill-success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.pill-failed {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

