
/* Nava4D Brand Theme Override */
:root {
  --nava-orange: #f28c1a;
  --nava-orange-dark: #d86b00;
  --nava-orange-deep: #b85300;
  --nava-gold: #ffbf2f;
  --nava-gold-soft: #ffe29b;
  --nava-cream: #fff8eb;
  --nava-cream-2: #fff3db;
  --nava-surface: #fffdf8;
  --nava-text: #3a2208;
  --nava-text-soft: #7a5b3a;
  --nava-border: #f0dcc2;
  --nava-shadow: 0 12px 32px rgba(178, 92, 0, 0.14);
}

/**
 * Site Notice Banner - Reusable Notification System
 * Dismissible top bar for announcements, holidays, maintenance, etc.
 */

.holiday-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #d32f2f 0%, #f57c00 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.holiday-notice.hidden {
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.holiday-notice-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.holiday-notice-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.holiday-notice-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.holiday-notice-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.holiday-notice-emoji {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

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

.holiday-notice-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.holiday-notice-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.holiday-notice-close:active {
    transform: scale(0.95);
}

.holiday-notice-close:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Body padding adjustment when banner is visible */
body.has-holiday-notice {
    padding-top: 52px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .holiday-notice-container {
        padding: 10px 16px;
    }
    
    .holiday-notice-text {
        font-size: 13px;
    }
    
    .holiday-notice-icon {
        font-size: 18px;
    }
    
    body.has-holiday-notice {
        padding-top: 48px;
    }
}

/* Mobile Styles */
@media (max-width: 640px) {
    .holiday-notice-container {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .holiday-notice-content {
        gap: 8px;
    }
    
    .holiday-notice-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .holiday-notice-icon {
        font-size: 16px;
    }
    
    .holiday-notice-close {
        width: 28px;
        height: 28px;
    }
    
    .holiday-notice-close svg {
        width: 16px;
        height: 16px;
    }
    
    body.has-holiday-notice {
        padding-top: 44px;
    }
}

/* Ensure header doesn't get covered - removed z-index as it conflicts with dropdown stacking */
/* .header,
.navbar,
header {
    position: relative;
    z-index: 100;
} */


/* =========================================================
   MODERN REDESIGN OVERRIDE
   Fresh palette, typography, cards, controls & effects
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root{
  --rd-bg:#07111f;
  --rd-bg2:#0c1728;
  --rd-surface:#101d30;
  --rd-surface2:#14243b;
  --rd-border:rgba(148,163,184,.18);
  --rd-text:#eef6ff;
  --rd-muted:#91a4bc;
  --rd-primary:#6d5dfc;
  --rd-primary2:#19c6b7;
  --rd-accent:#ffcf5a;
  --rd-danger:#ff6b81;
  --rd-shadow:0 18px 55px rgba(0,0,0,.28);
  --rd-radius:18px;
}

html{background:var(--rd-bg)!important;}
body{
  background:
    radial-gradient(circle at 10% 0%, rgba(109,93,252,.18), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(25,198,183,.13), transparent 24%),
    linear-gradient(145deg,var(--rd-bg),var(--rd-bg2))!important;
  color:var(--rd-text)!important;
  font-family:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  min-height:100vh;
}

h1,h2,h3,h4,h5,h6,.title,.heading{
  font-family:"Space Grotesk","DM Sans",sans-serif!important;
  color:var(--rd-text)!important;
  letter-spacing:-.02em;
}

a{color:#8f83ff;transition:.2s ease;}
a:hover{color:#19c6b7;}

button,input,select,textarea{
  font:inherit;
}

input,select,textarea{
  background:rgba(16,29,48,.9)!important;
  color:var(--rd-text)!important;
  border:1px solid var(--rd-border)!important;
  border-radius:12px!important;
  outline:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(109,93,252,.75)!important;
  box-shadow:0 0 0 4px rgba(109,93,252,.12)!important;
}

button,.btn,[type="button"],[type="submit"]{
  border:0!important;
  border-radius:12px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--rd-primary),#8b7cff)!important;
  box-shadow:0 10px 25px rgba(109,93,252,.22)!important;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important;
}
button:hover,.btn:hover,[type="button"]:hover,[type="submit"]:hover{
  transform:translateY(-2px);
  filter:saturate(1.12);
  box-shadow:0 14px 32px rgba(109,93,252,.30)!important;
}

header,nav,.navbar,.topbar,.header,.site-header{
  background:rgba(7,17,31,.78)!important;
  border-color:var(--rd-border)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}

.card,.box,.panel,.modal-content,.dropdown-menu,.payment-card,.container-card,.content-box{
  background:linear-gradient(155deg,rgba(20,36,59,.94),rgba(12,23,40,.94))!important;
  color:var(--rd-text)!important;
  border:1px solid var(--rd-border)!important;
  border-radius:var(--rd-radius)!important;
  box-shadow:var(--rd-shadow)!important;
}

.card:hover,.payment-card:hover,.content-box:hover{
  border-color:rgba(109,93,252,.35)!important;
  transform:translateY(-2px);
  transition:.2s ease;
}

table{
  background:transparent!important;
  color:var(--rd-text)!important;
  border-color:var(--rd-border)!important;
}
th{
  background:rgba(109,93,252,.12)!important;
  color:#dcd8ff!important;
}
td,th{
  border-color:var(--rd-border)!important;
}
tr:hover td{background:rgba(255,255,255,.025)!important;}

hr{border-color:var(--rd-border)!important;opacity:1;}

.text-muted,.muted,.secondary,.description,.small{
  color:var(--rd-muted)!important;
}

.badge,.tag,.label{
  background:rgba(25,198,183,.12)!important;
  color:#6de5d9!important;
  border:1px solid rgba(25,198,183,.22)!important;
  border-radius:999px!important;
}

.alert,.notice,.message{
  border-radius:14px!important;
  border:1px solid var(--rd-border)!important;
  background:rgba(255,255,255,.035)!important;
}

footer{
  background:#050d18!important;
  color:var(--rd-muted)!important;
  border-top:1px solid var(--rd-border)!important;
}

::selection{
  background:rgba(109,93,252,.45);
  color:#fff;
}

/* Scrollbar */
::-webkit-scrollbar{width:10px;height:10px;}
::-webkit-scrollbar-track{background:#07111f;}
::-webkit-scrollbar-thumb{
  background:linear-gradient(var(--rd-primary),var(--rd-primary2));
  border-radius:99px;
}

/* Common payment-page elements */
.payment-method,.method,.payment-option,.bank-item,.ewallet-item{
  background:rgba(16,29,48,.72)!important;
  border:1px solid var(--rd-border)!important;
  border-radius:16px!important;
}
.payment-method:hover,.method:hover,.payment-option:hover,.bank-item:hover,.ewallet-item:hover{
  border-color:rgba(25,198,183,.48)!important;
  background:rgba(20,36,59,.95)!important;
}
.price,.amount,.total,.nominal{
  color:var(--rd-accent)!important;
  font-family:"Space Grotesk",sans-serif!important;
}
.status-success,.success,.paid{
  color:#67e8c8!important;
}
.status-pending,.pending{
  color:#ffd76a!important;
}
.status-failed,.failed,.error{
  color:#ff8294!important;
}

/* Decorative glow for prominent sections */
.hero,.hero-section,.payment-header,.main-card{
  position:relative;
  overflow:hidden;
}
.hero::before,.hero-section::before,.payment-header::before,.main-card::before{
  content:"";
  position:absolute;
  width:260px;height:260px;
  right:-100px;top:-120px;
  background:radial-gradient(circle,rgba(109,93,252,.28),transparent 68%);
  pointer-events:none;
}

