/* Page Base */
body {
    background: #ffffff;
    min-height: 100vh;
    margin: 0;
    color: #212529;
    font-family: Arial, Helvetica, sans-serif;
}

/* Navbar */
.custom-nav {
    background: #0d6efd;
}

/* Brand */
.navbar-brand,
.navbar-brand:hover {
    color: #ffffff;
}

/* Hero */
.hero {
    padding: 90px 20px 50px;
    color: #212529 !important;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: #6c757d;
}

/* Main Card */
.hero-card {
    max-width: 700px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid #e9ecef;
}

.hero-card h2 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.hero-card p {
    color: #6c757d;
}

/* Mobile Menu */
.offcanvas {
    width: 50% !important;
    min-width: 260px;
    background: #0d6efd !important;
    color: #ffffff;
}

/* Mobile Links */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 10px;
}

.mobile-menu-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 8px 0;
}

.mobile-menu-links a:hover {
    opacity: 0.85;
    padding-left: 4px;
    transition: 0.2s ease;
}

/* Footer */
footer {
    color: #6c757d;
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-card {
        padding: 25px;
    }

    .offcanvas {
        width: 75% !important;
    }
}


/* Logout Popup Overlay */
.popup-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    
    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999;

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);

    /* Slower premium fade */
    transition:
        opacity 0.9s ease,
        visibility 0.9s ease,
        backdrop-filter 0.9s ease,
        -webkit-backdrop-filter 0.9s ease;
}

/* Active / Visible */
.popup-overlay.show{
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Popup Box */
.popup-box{
    background: #ffffff;
    width: 340px;
    max-width: 92%;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.20);

    /* Start state */
    transform: translateY(28px) scale(0.94);
    opacity: 0;

    transition:
        transform 0.9s cubic-bezier(.22,1,.36,1),
        opacity 0.9s ease;
}

/* Box animates in when popup active */
.popup-overlay.show .popup-box{
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Icon */
.popup-icon{
    font-size: 42px;
    margin-bottom: 10px;
}

/* Heading */
.popup-box h3{
    margin: 0 0 10px;
    font-size: 24px;
}

/* Text */
.popup-box p{
    margin: 0 0 22px;
    color: #666;
}

/* Button */
.popup-box button{
    border: none;
    background: #111;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.popup-box button:hover{
    transform: translateY(-1px);
    opacity: 0.92;
}

@keyframes popIn{
    from{transform:scale(0.8);opacity:0;}
    to{transform:scale(1);opacity:1;}
}


/* Target all input placeholders */
input::placeholder {
  color: blue !important;       /* Grey color */
  font-size: 12px;      /* Reduced size */
  opacity: 1;           /* Ensures color is solid in Firefox */
  font-style: italic;   /* Optional: makes it look more subtle */
}


/* =========================================
   DASHBOARD / APP CARDS
========================================= */

.dashboard-card{
    background:#fff;
    border-radius:16px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.stat-card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.table-card{
    background:#fff;
    border-radius:16px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

/* =========================================
   DESKTOP NAV HOVER
========================================= */

@media (min-width: 992px){

    .navbar-nav .nav-link{
        transition: all .15s ease;
        font-weight:500;
    }

    .navbar-nav .nav-link:hover{
        color:#ffffff !important;
        font-weight:700;
    }

}

/* =========================================
   MOBILE TEXT ALIGNMENT
========================================= */

@media (max-width: 767.98px){

    .mobile-center{
        width:100%;
        text-align:center;
        display:flex;
        justify-content:center;
    }

    .mobile-center h1{
        width:100%;
        text-align:center;
    }

}



/* =========================================
   CAMPAIGN PAGE
========================================= */

.page-card{
    background:#fff;
    border-radius:16px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.lead-row{
    background:#fff;
    border:1px solid #e9ecef;
    border-radius:18px;
    padding:20px;
    margin-bottom:18px;
    box-shadow:0 4px 14px rgba(0,0,0,.04);
    transition:all .18s ease;
}

.lead-row:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    border-color:#dbe4ff;
}

.lead-divider{
    border:0;
    border-top:1px solid #f1f3f5;
    margin:16px 0;
}

.lead-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    flex-wrap:wrap;
}

.lead-title{
    font-size:1.05rem;
    font-weight:700;
    margin-bottom:6px;
    line-height:1.2;
}

.lead-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.channel-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.lead-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
}

.small-muted{
    font-size:.9rem;
    color:#6c757d;
}

.delete-lead-icon{
    font-size:1.7rem;
    line-height:1;
    transition:all .18s ease;
}

.delete-lead-icon:hover{
    transform:translateY(-2px) scale(1.12);
    opacity:.9;
}

@media(min-width:992px){

    .lead-actions{
        justify-content:flex-start;
    }

}

/* =========================================
   CAMPAIGN MOBILE HEADER CLEANUP
========================================= */

@media(max-width:767.98px){

    .mobile-hide{
        display:none !important;
    }

}

/* =========================================
   HEADER LOGO
========================================= */

.header-logo{
    height:60px;
    width:auto;
    display:block;
}

@media(max-width:767.98px){

    .header-logo{
        height:auto;
        max-width:270px;
        width:100%;
    }

}


/* =========================================
   LIDO MODAL AVATAR
========================================= */

.lido-modal-avatar{
    width:auto;
    height:80px;
    float:left;
    margin:0 16px 10px 0;
    border-radius:18px;
}