/* === AT Media Premium Theme (White + Orange + Black) === */
:root {
    --brand-orange: #ff7a00;
    --brand-black: #111111;
    --brand-white: #ffffff;
    --bg-soft: #f3f4f7;
}

body {
    background-color: var(--bg-soft);
}

/* --- Generic card + panel animations --- */
.card-animated {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}

    .card-animated:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    }

    /* orange/black highlight when hover */
    .card-animated::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, rgba(255,122,0,0.12), transparent 40%, transparent 60%, rgba(0,0,0,0.06) );
        opacity: 0;
        transition: opacity .3s ease;
        pointer-events: none;
    }

    .card-animated:hover::before {
        opacity: 1;
    }

/* stat cards already used on admin dashboard */
.stat-card {
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* larger panels (dashboard sections) */
.panel-animated {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .panel-animated::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(255,122,0,0.18), transparent 55%);
        opacity: 0;
        transition: opacity .3s ease;
    }

    .panel-animated:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.16);
    }

        .panel-animated:hover::after {
            opacity: 1;
        }

/* --- Logout animation helper on <body> --- */
.body-logout-anim {
    transition: opacity .35s ease, transform .35s ease;
}

    .body-logout-anim.is-logging-out {
        opacity: 0;
        transform: scale(.96);
    }

/* --- LOGIN SCREEN (white + orange + black) --- */
.login-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at top left, #ffffff 0, #ffffff 55%, #f7f7f7 100%);
}

/* bg layers where JS will animate things */
.login-orbit-layer,
.login-particle-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Parallax orbit circles (A) */
.orbit-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,122,0,0.35));
    opacity: 0.6;
    filter: blur(0.2px);
    transition: transform .5s ease-out;
}

.orbit-circle--lg {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -60px;
}

.orbit-circle--md {
    width: 220px;
    height: 220px;
    bottom: -60px;
    right: -40px;
}

.orbit-circle--sm {
    width: 140px;
    height: 140px;
    top: 40%;
    right: 15%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(17,17,17,0.45));
}

/* Particle dots (B) */
.particle-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.18);
    animation: floatDot 12s linear infinite;
    opacity: 0.6;
}

    .particle-dot.orange {
        background: rgba(255,122,0,0.55);
    }

    .particle-dot.white {
        background: rgba(255,255,255,0.85);
    }

@keyframes floatDot {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }
}

/* login card itself */
.login-card {
    width: 380px;
    padding: 32px 32px 26px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
    position: relative;
    z-index: 10;
    animation: loginPop .7s ease-out;
}

@keyframes loginPop {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-logo-box {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #ff7a00;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: .5px;
}

/* inputs + button on login */
.input-field {
    background: #f1f3f6;
    border-radius: 12px;
    border: 1px solid #d4d7dd;
    padding: 11px 12px;
    font-size: 0.95rem;
}

.btn-login {
    width: 100%;
    border-radius: 999px;
    padding: 11px 14px;
    border: none;
    background: linear-gradient(120deg, #ff7a00, #ff9f40);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: .4px;
    box-shadow: 0 10px 24px rgba(255,122,0,0.45);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn-login:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
        box-shadow: 0 14px 30px rgba(255,122,0,0.55);
    }

/* Top navbar */
.topbar {
    background: #ffffff;
    padding: 12px 20px;
    border-bottom: 1px solid #e8e8e8;
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.brand-accent {
    color: var(--brand-orange);
}

/* Menu as attractive tabs */
.nav-tabs-custom .nav-link {
    position: relative;
    color: #444;
    font-weight: 500;
    padding: 10px 16px;
    margin: 0 6px;
    border-radius: 8px;
    transition: 0.25s ease;
}

    .nav-tabs-custom .nav-link:hover {
        background: rgba(255,122,0,0.12);
        color: var(--brand-orange);
    }

    .nav-tabs-custom .nav-link.active,
    .nav-tabs-custom .nav-link:focus,
    .nav-tabs-custom .nav-link[href*="@ViewContext.RouteData.Values["action"]"] {
        background: var(--brand-orange);
        color: white !important;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(255,122,0,0.35);
    }

/* Stylish logout button */
.btn-logout {
    background: #111;
    color: white;
    padding: 8px 18px;
    border: none;
    border-radius: 10px;
    transition: 0.2s ease;
}

    .btn-logout:hover {
        background: var(--brand-orange);
        color: #fff;
        transform: scale(1.05);
    }


.notif-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--brand-orange);
    color: white;
    padding: 3px 7px;
    font-size: 11px;
    border-radius: 50%;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(255,122,0,0.5);
}

.btn-brand {
    background: var(--brand-orange);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(255,122,0,0.35);
    transition: .2s;
}

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

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