:root {
    /* Primary Colors (Videsh Chalo Brand) */ 0066ff
     --primary-color: #0066ff;
     --primary-dark: #0d6efd;
     --secondary-color: #EE6900;
     --button-green: #10b981;
     --button-Red: #ef4444;
     --light-orange: rgb(255, 241, 164);
     --button-orange: linear-gradient(135deg, #f7931a, #f97316);
     --radial-bg: radial-gradient(circle at center, #4facfe, #00f2fe);
     --bg-body: #ffffed;
     --bg-card: #e3daff;
     --bg-card-featured: #feff8b;
     --bg-card-hot: #f6ff90;
     --bg-in-card-hot: #f6ff90;
     --bg-in-card-featured: #ffffff;
     --bg-in-card-normal: #f7931a;
     --text-main: #212529;
     --h1-text: #ffffff;
     --h2-text: #ff0000;
     --text-muted: #606264;
     --text-light: #ffffff;
     --bs-list-group-bg: rgb(255, 255, 203);
     --border-color: #000000;
     --border-accent: #edcc91;
     --success-color: #10b981;
     --text-DL: #ffffff;
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #2600ff;
     --primary-dark: rgb(255, 255, 255);
     --bg-body: #121212;
     --bg-card: #ff0000;
     --bg-card-featured: #00ffc8;
     --bg-card-hot: #180055;
     --bg-in-card-hot: #f6ff90;
     --bg-in-card-featured: #f6ff90;
     --bg-in-card-normal: #f6ff90;
     --button-green: #ffffff;
     --button-Red: #ef4444;
     --light-orange: rgb(85, 255, 0);
     --button-orange: linear-gradient(135deg, #f7931a, #f97316);
     --text-muted: #606264;
     --text-light: #ffffff;
     --bs-list-group-bg: rgb(255, 255, 203);
     --border-color: #000000;
     --border-accent: #edcc91;
     --success-color: #00ffc8;
     --text-main: #f8f9fa;
     --border-color: #0400ff;
     --h1-text: #000000;
     --h2-text: #0008ff;
     --bs-light-rgb: #000000;
     --bs-btn-bg: #ffffff;
     --bs-danger-rgb: #ff9d00;
     --bs-white-rgb: #ff6a00;
     --bs-dark-rgb: #ffffff;
     --text-DL: #ffffff;
     --bs-primary-bg-subtle: #000000;
     .navbar-toggler-icon {
        filter: invert(1) grayscale(100%) brightness(200%);}
}

 body {
    background-color: var(--bg-body) !important;
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hover-opacity:hover {
        opacity: 0.8;
        transition: 0.3s;
    }

.coname {
    color: var(--h1-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.job-inner-card {
    background-color: var(--bg-card-inner);
    border: 1px solid var(--border-accent);
}

.job-title {
    font-weight: 600;
}

/* 🛠️ BOOTSTRAP-TAILWIND CONFLICT FIX */
        /* Iske bina Tailwind load hone par Navbar buttons gayab ho jate hain */
    .navbar-collapse.collapse {
        display: none !important; /* Mobile default */
        visibility: visible !important;
        }

    .navbar-collapse.collapse.show {
        display: block !important; /* Mobile Open */
        }

    @media (min-width: 992px) {
        .navbar-expand-lg .navbar-collapse.collapse {
            display: flex !important; /* Desktop Force Show */
            flex-basis: auto !important;
        }
    }
        
        /* 📍 LAYOUT CENTERING FIX */
        /* Isse aapka search bar aur baaki content hamesha center mein rahega */
    .content-area-wrapper .container {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
        }

/*.mega-job-card {background: var(--bg-card); border-radius: 10px;}*/

/* --- 🎨 Base Card Styles --- */
 .mega-job-card {
     border-radius: 10px;
     border: 2px solid var(--primary-color);
     background: var(--bg-card);
     transition: all 0.3s ease;
}
/* --- 🔥 HOT JOB Styling --- */
 .card-hot {
     background-color: var(--bg-card-hot);
    /* Light Yellow for Light Mode */
     border-color: var(--button-Red);
     box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px !important;
}
/* --- ✨ FEATURED Styling --- */
 .card-featured {
     background-color: var(--bg-card-featured);
     border-color: var(--border-accent);
    /* Blue Border for Featured */
}

/* --- 🎨 Base In Card Styles --- */
 .in-card-normal {
     border: 2px solid #e65400ff! important;
     background: var(--bg-in-card-normal);
     transition: all 0.3s ease;
}
/* --- 🔥 In HOT JOB Styling --- */
 .in-card-hot {
     border: 1px solid var(--primary-color) ! important;
     box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px !important;
}
/* --- ✨ In FEATURED Styling --- */
 .in-card-featured {
     background-color: var(--bg-in-card-featured);
     border: 2px solid #DC3545 ! important;
     box-shadow: 2px 2px 0 1.5px #DC3545, 4px 4px 0 0 #DC3545 !important;
}


/* Recruiter Post-Job Button Style */

.transition-scale:hover { transform: scale(1.02); transition: 0.3s; }



.credit-circle {
    background: white;
    padding: 5px 12px;
    border-radius: 50px;
    /* Pill shape ya circle ke liye */
    transition: all 0.3s ease;
    cursor: pointer;
}

.credit-circle:hover {
    background: #fff3cd;
    /* Light yellow on hover */
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.pricing-card {
    transition: transform 0.3s ease;
}

.plan-row {
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
}

.plan-row:hover {
    background-color: #fff9e6;
    transform: scale(1.01);
}

.featured-plan {
    background-color: #fffdf5;
}

.gold-plan {
    background: linear-gradient(90deg, #fff, #fff9e6);
}

.bumper-plan {
    background: linear-gradient(90deg, #fff, #ffe6e6);
    border: 2px solid #ffcccc !important;
    border-radius: 15px;
}

.anim-pulse {
    animation: pulse-bg 2s infinite;
}

.anim-glow {
    animation: glow-bg 1.5s infinite alternate;
}

@keyframes pulse-bg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glow-bg {
    from {
        box-shadow: 0 0 5px #ff4444;
    }

    to {
        box-shadow: 0 0 20px #ff4444;
    }
}


@keyframes pulse-bg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glow-bg {
    from {
        box-shadow: 0 0 5px #ff4444;
    }

    to {
        box-shadow: 0 0 15px #ff4444;
    }
}

/* // Login Page Styling */

.input-group .btn {
        border-color: #dee2e6; /* Bootstrap default border color */
        z-index: 0 !important; /* Taki search bar jaisa overlay na ho */
    }
    .input-group-text {
        border-right: none;
    }
    #id_password {
        border-left: none;
        border-right: none;
    }
    #id_password:focus {
        box-shadow: none;
        border-color: #dee2e6;
    }


/* Navbar Styling */
.navbar-custom {
    transition: all 0.3s;
}

/* Logo styling */

.navbar-brand img {
    /* Ek limit set kar do taaki navbar bahut zyada mota na ho jaye */
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

Logo par halka sa hover effect taaki feel aaye .navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-brand span {
    color: var(--primary-color);
    letter-spacing: 1px;
    /* Brand name ko thoda premium look dene ke liye */
}

.alert {
    border-left: 6px solid;
    /* Side mein moti line achhi lagti hai */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 5px;
    /* Thoda kam round, par clean */
}

.alert-success {
    background-color: #fffb7a;
    /* Aapka pasandida color */
    border-color: #030303;
    font-weight: semi-bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    animation: fadeOut 3s ease-in-out forwards;
    margin: 20px auto;
}



.alert-warning {
    background-color: #ffb6b6;
    /* Aapka pasandida color */
    border-color: #000000;
    font-weight: semi-bold;
    border-radius: 5px;
    /* Isse pop-up round dikhega */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    animation: fadeOut 3s ease-in-out forwards;
    margin: 20px auto;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

.profile-avatar-wrapper {
    cursor: pointer;
}

.avatar-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: rgba(0, 123, 255, 0.5);
    /* Blue semi-transparent */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.profile-avatar-wrapper:hover .avatar-hover-overlay {
    opacity: 1;
    /* Hover karne par dikhega */
}

.profile-avatar-wrapper img {
    transition: filter 0.3s ease;
}

.profile-avatar-wrapper:hover img {
    filter: blur(1px);
    /* Halka sa blur effect */
}

.nav-link {
     color: var(--text-main) !important;
     margin-right: 10px;
     font-weight: 700;
     position: relative;
     transition: color 0.3s;
}
 .nav-link:hover, .nav-link.active {
     color: #0d6efd !important;
}

 .nav-link::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     display: block;
     margin-top: 5px;
     right: 0;
     background: #0d6efd;
     transition: width 0.3s ease;
     -webkit-transition: width 0.3s ease;
}
 .nav-link:hover::after {
     width: 100%;
     left: 0;
     background: #000000 ;
}

.btn-link:hover {
    transform: scale(1.05);
}

/* Internal card ki height balance karne ke liye */

/*.list-group {*/
/*    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;*/
/*}*/

.list-group-item span {
    font-weight: 500;
    color: rgb(33, 117, 0);
    text-align: end;
}

.list-group-item b {
    font-weight: 700;
    color: rgb(255, 0, 0);
    text-align: start;
}



span.badge.bg-transparent.text-dark.rounded-pill {
    position: relative;
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: #FFC107 !important;
    color: #000000 !important;
    border-radius: 10px !important;
    box-shadow: 0 7px 6px rgb(0, 0, 0) !important;
    animation: pulse-red 1.8s infinite ease-in-out, glow-bg 1.8s infinite alternate;
}

/* // Footer Styling */

.footer-desi {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    }
    .footer-desi .desi-box {
        transform: rotate(-5deg); /* Thoda swagat wala feel */
    }
    .footer-desi a:hover {
        color: #0f07ff !important;
        transition: 0.3s;
    }

.trust-badge-rect {
        max-width: 250px;
        margin: 0 auto;
        transition: all 0.3s ease;
        background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    }

    .trust-badge-rect:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(13, 110, 253, 0.15) !important;
    }

.badge-header {
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 1px;
        margin: -0.5rem -0.5rem 0.5rem -0.5rem; /* Padding compensate karne ke liye */
    }



/* Card design ko aur clean banane ke liye */
.rounded-top-4 {
        border-radius: 1rem 1rem 0 0 !important;
    }
.rounded-4 {
        border-radius: 1rem !important;
    }
    /* CKEditor ki height manage karne ke liye */
.django-ckeditor-widget {
        width: 100% !important;
    }

/* Hot Badge Animation */

.hot-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    z-index: 5;
    animation: pulse-red 2s infinite;
}

.hover-opacity-100:hover {
        opacity: 1 !important;
        text-decoration: underline !important;
    }

@keyframes pulse-red {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(.85);
    }
}

/* Sidebar Join Buttons Hover Effect */
.sharebtn:hover {
    transform: scale(1.05);
    color: black;
    transition: transform 0.4s ease;

}

/* Tooltip jaisa effect desktop par */
.col-md-1 a {
    transition: opacity 0.2s;
}

.col-md-1 a:hover {
    opacity: 0.8;
}





@media only screen and (max-width: 600px) {
    
    div.mb-3.p-2.bg-transparent.shadow-sm.d-flex.align-items-center {
        visibility: hidden !important;
    }

    h2.text-center.mb-3.fw-bold.text-dark.fs-4 {
        font-size: 1rem !important;
        position: relative;
        padding-bottom: 15px;
        bottom: 10px;
    }

        
}

    


@media only screen and (min-width: 600px) and (max-width: 768px) {

    div.mb-3.p-2.bg-transparent.shadow-sm.d-flex.align-items-center {
        right: 3px !important;
        
    }

    h2.text-center.mb-3.fw-bold.text-dark.fs-4 {
        font-size: 1.2rem !important;
        position: relative;
        padding-bottom: 15px;
        bottom: 10px;
    }
}


/* WhatsApp Pulse Button Container */
.whatsapp-pulse {
    background-color: #00a400 !important; /* WhatsApp Green */
    color: white !important;
    position: relative; /* Before element ko position karne ke liye */
    z-index: 1;
    overflow: visible; /* Wave bahar dikhne ke liye */
    border: none !important;
    transition: all 0.3s ease;
}

/* Pseudo-element for Ripple Effect */
.whatsapp-pulse::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #368bf3;
    border-radius: 50px; /* Rounded pill style */
    z-index: -1;
    animation: whatsapp-ripple 2s infinite; /* Ripple loop */
}

@keyframes whatsapp-ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    60% {
        transform: scale(1.2, 1.6); /* Horizontal aur Vertical expand */
        opacity: 0.2;
    }
    100% {
        transform: scale(1.6, 2); /* Aur zyada expand */
        opacity: 0;
    }
}

/* Hover par animation fast aur thoda dark */
.whatsapp-pulse:hover {
    background-color: #128C7E !important; 
    transform: translateY(-2px);
}

.whatsapp-pulse:hover::before {
    animation-duration: 1s; 
}


.btn-ai-resume {

    background: var(--secondary-color);
    color: var(--h1-text) !important;
    font-size: 0.82rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    padding: 5px 10px;
    border: none;
    position: relative;
    z-index: 1000;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all .1s ease;
}



/* 2. THE PULSATING EDGE (WhatsApp Style) */

.btn-ai-resume::before {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--button-orange);
    z-index: -1;
    animation: pulse-blue 3s infinite;

}



.btn-ai-resume:hover {

    transform: scale(1.02);
    background: var(--button-orange);

}

/* Edge Pulsating Logic */

@keyframes pulse-blue {

    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }

}



.btn-referral {
    background: blue;
    color: var(--h1-text) !important;
    font-size: 0.82rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    padding: 5px 10px;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}



.btn-referral:hover {

    transform: scale(1.02);
    color: white;
    background: blue;
}



/* Chamakdar (Shiny) Effect */

.btn-referral::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.292);
    transform: rotate(30deg);
    transition: none;
    animation: shine 3s infinite;
}



@keyframes shine {
    0% {
        left: -60%;
    }
    20% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}

.btn-job-list {
    background: blue;
    color: var(--h1-text) !important;
    font-size: 0.82rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    padding: 5px 10px;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}



.btn-job-list:hover {

    transform: scale(1.02);
    color: white;
    background: blue;
}



/* Chamakdar (Shiny) Effect */

.btn-job-list::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.292);
    transform: rotate(30deg);
    transition: none;
    animation: shine 3s infinite;
}


/* Footer Optimization Helpers */

    .hover-link:hover {
        color: #0d6efd !important;
        padding-left: 5px;
        transition: all 0.3s ease; }

    .transition-hover:hover {
        transform: translateY(-3px);
        transition: transform 0.3s ease; }
        
    @media (max-width: 767.98px) {
            .footer-desi { text-align: center; }
            .footer-desi .border-bottom { margin-bottom: 1.5rem !important; }}


    /* 💰 Flying Coins Animation CSS */
    .flying-coin {
        position: fixed;
        z-index: 99999;
        font-size: 24px;
        pointer-events: none;
        animation: flyToWallet 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    }
    @keyframes flyToWallet {
        0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
        100% { transform: translate(var(--dest-x), var(--dest-y)) rotate(360deg); opacity: 0; }
    }
    
    /* ✨ Coin Glow Effect for Welcome Modal */
    .coin-glow {
        font-size: 80px;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 165, 0, 0.5);
        animation: pulseGlow 2s infinite;
        display: inline-block;
    }
    @keyframes pulseGlow {
        0% { transform: scale(1); opacity: 0.8; }
        50% { transform: scale(1.1); opacity: 1; }
        100% { transform: scale(1); opacity: 0.8; }
    }

        /* V-Coin UI Helpers */
    .nav-vcoin-pill {
        transition: all 0.3s ease;
        border: 1px solid #ffeeba !important;
        }

    .nav-vcoin-pill:hover {
        background-color: #fff3cd !important;
        transform: translateY(-2px);
        }

    .coin-update-flash {
        animation: flashGold 1s ease-out;
        }

    @keyframes flashGold {
        0% {
            background-color: transparent;
        }
            50% {
            background-color: #ffc107;
            color: white;
        }
            100% {
            background-color: transparent;
        }
    }

    .footlinks {
        display: flex;
        list-style: none;
        justify-content: space-around;
    }
    .nav-vcoin-pill {
        transition: all 0.3s ease;
        border: 1px solid #ffeeba !important;
        }

    .nav-vcoin-pill:hover {
        background-color: #fff3cd !important;
        transform: translateY(-2px);
    }
    .transition-hover:hover {
        transform: scale(1.02);
    }
        /* Animation for real-time update */
    .coin-update-flash {
        animation: flashGold 1s ease-out;
    }
        @keyframes flashGold {
        0% {
            background-color: transparent;
        }
            50% {
            background-color: #ffc107;
            color: white;
        }
            100% {
            background-color: transparent;
        }
    }
        
.btn-news {
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.20rem 1rem;
    border-radius: 5px;
    border: none;
    background: blue;
    color: var(--h1-text) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    }

.btn-news:hover {
    transform: translateY(-1px);
    background-color: blue;
    color: #fff !important;
    }
    
/* Summary Box Container */
.ai-summary-wrapper {
    border: 1.5px solid #f8d7da !important; /* Light Red border like screenshot */
    transition: all 0.3s ease;
}

/* Icon Box with Animation */
.ai-icon-box {
    background: var(--bg-card-inner);
    padding: 10px;
    border-radius: 12px;
}

/* Rotate Icon when open */
[aria-expanded="true"] .transition-icon {
    transform: rotate(180deg);
}

.transition-icon {
    transition: transform 0.3s ease;
}

/* Header Hover Effect */
.ai-summary-header:hover {
    background-color: var(--bs-list-group-bg) !important;
}

/* Font styling for summary text */
.ai-summary-body p {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-family: 'Georgia', serif; /* News feel ke liye */
}

/* 🚩 Urgent Patti Styling */

.urgent-patti-mini {
    display: flex;
    align-items: center;
    justify-content: center;   /* Center horizontally */
    gap: 12px;                 /* Space between NOTICE and message */
    margin: 12px auto;
    text-align: center;
    box-shadow: none;          /* Parent div ka shadow hata diya */
}

.patti-tag {
    background: #cc0000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    position: relative;
    animation: pulse-border 1.5s infinite;
}

.patti-msg {
    background: #fff5f5;
    color: #cc0000;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #ffcccc;
    width: fit-content;        /* Sirf text ke hisaab se size lega */
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(204,0,0,0.7); }
    70% { box-shadow: 0 0 12px 12px rgba(204,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(204,0,0,0); }
}


/* Mobile ke liye special gap */
@media (max-width: 768px) {
    .urgent-patti-mini {
        margin-bottom: 40px; /* Mobile par badges zyada space lete hain */
        max-width: 90%;
    }
}

/* 🌙 Universal Dark Mode Navbar Fix */
[data-theme='dark'] .navbar {
    /* Navbar ka background ekdum solid black/dark grey */
    background-color: #121212 !important; 
    
    /* Neeche ki shadow ko dark mode ke hisaab se adjust kiya */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    
    /* Border agar hai toh usey bhi dark karo */
    border-bottom: 1px solid #333 !important;
}