/*=========================================================
    SENTRIX CYBER 2.0
    DASHBOARD
    File : css/dashboard.css
=========================================================*/

/*=========================================================
                    TOPBAR
=========================================================*/

.topbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:45px;

}

.topbar h1{

    font-size:2.4rem;
    font-weight:800;
    color:#ffffff;

}

.topbar h1 span{

    color:var(--primary);

}

.topbar p{

    margin-top:10px;
    color:var(--text-muted);

}

/*=========================================================
                TOP ACTIONS
=========================================================*/

.top-actions{

    display:flex;
    align-items:center;
    gap:18px;

}

.top-actions button{

    width:55px;
    height:55px;

    border-radius:16px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;

    transition:.35s;

}

.top-actions button:hover{

    background:var(--primary);

    transform:translateY(-5px);

}

.top-actions img{

    width:100%;
    height:100%;
    object-fit:cover;

    border-radius:16px;

}

/*=========================================================
                HERO GRID
=========================================================*/

.hero-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:30px;

    margin-bottom:45px;

}

/*=========================================================
                HERO CARD
=========================================================*/

.hero-card{

    position:relative;

    overflow:hidden;

    padding:55px;

    border-radius:28px;

}

.hero-card h3{

    color:var(--primary-light);

    margin-bottom:15px;

    letter-spacing:1px;

}

.hero-card h1{

    margin-bottom:25px;

    max-width:700px;

}

.hero-card p{

    max-width:650px;

    margin-bottom:40px;

    font-size:16px;

}

.hero-card::after{

    content:"";

    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    background:

    radial-gradient(circle,
    rgba(79,124,255,.18),
    transparent 70%);

    right:-180px;
    bottom:-180px;

    pointer-events:none;

}

/*=========================================================
            GUARDIAN BUTTON
=========================================================*/

#guardianButton{

    font-size:16px;

    padding:18px 34px;

    border-radius:16px;

    font-weight:700;

}

/*=========================================================
            TRUST CARD
=========================================================*/

.trust-card{

    padding:35px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

}

.trust-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.trust-header h3{

    color:#ffffff;

}

#trustScore{

    font-size:3.5rem;

    color:#4F7CFF;

    font-weight:800;

}

/*=========================================================
            TRUST FOOTER
=========================================================*/

.trust-footer{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

}

.trust-footer div{

    background:rgba(255,255,255,.04);

    border-radius:16px;

    padding:18px;

}

.trust-footer h4{

    color:#9AA9C4;

    margin-bottom:8px;

}

.trust-footer p{

    color:#ffffff;

    font-size:1.4rem;

    font-weight:700;

}

/*=========================================================
            QUICK STATUS
=========================================================*/

.quick-status{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-bottom:55px;

}

.status-card{

    padding:28px;

    transition:.35s;

    cursor:pointer;

}

.status-card:hover{

    transform:translateY(-8px);

}

.status-card h4{

    color:#8DA4D8;

}

.status-card h2{

    margin:15px 0;

    color:#2DD4BF;

}

.status-card p{

    color:#9AA9C4;

}

/*=========================================================
            STATUS COLORS
=========================================================*/

.status-card.identity h2{

    color:#4F7CFF;

}

.status-card.warning h2{

    color:#FBBF24;

}

.status-card.danger h2{

    color:#FF4D67;

}

.status-card.success h2{

    color:#2DD4BF;

}

/*=========================================================
            SCANNER SECTION
=========================================================*/

.scanner-section{

    margin-top:20px;

    margin-bottom:70px;

}

.scanner-box{

    padding:40px;

}

.scanner-box input{

    height:64px;

    font-size:16px;

}
/*=========================================================
                UPLOAD BUTTONS
=========================================================*/

.upload-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin:30px 0;

}

.upload-buttons button{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 24px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    color:#ffffff;

    border-radius:14px;

    transition:.35s ease;

}

.upload-buttons button:hover{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    transform:translateY(-5px);

    box-shadow:
    0 15px 35px rgba(79,124,255,.25);

}

/*=========================================================
                DROPZONE
=========================================================*/

.dropzone{

    position:relative;

    border:2px dashed rgba(255,255,255,.10);

    border-radius:25px;

    padding:70px 40px;

    text-align:center;

    overflow:hidden;

    transition:.4s ease;

}

.dropzone:hover{

    border-color:var(--primary);

    background:rgba(79,124,255,.04);

}

.dropzone::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(79,124,255,.15),
        transparent 70%
    );

    top:-250px;

    right:-250px;

    pointer-events:none;

}

.upload-icon{

    width:90px;

    height:90px;

    margin:auto;

    margin-bottom:25px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:42px;

    border-radius:50%;

    background:rgba(79,124,255,.12);

    color:var(--primary);

}

.dropzone h3{

    margin-bottom:12px;

    font-size:1.4rem;

}

.dropzone p{

    margin-bottom:30px;

    color:var(--text-muted);

}

/*=========================================================
                LIVE DOT
=========================================================*/

.live-dot{

    display:inline-block;

    width:12px;

    height:12px;

    border-radius:50%;

    background:#00ff95;

    margin-right:10px;

    animation:pulse 2s infinite;

}

/*=========================================================
            HERO BACKGROUND
=========================================================*/

.hero-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(
        135deg,
        rgba(79,124,255,.05),
        transparent 40%
    );

    pointer-events:none;

}

.hero-card>*{

    position:relative;

    z-index:2;

}

/*=========================================================
                WIDGET GRID
=========================================================*/

.widget-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    margin-top:45px;

}

.widget{

    padding:28px;

    border-radius:22px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.widget:hover{

    transform:translateY(-8px);

    border-color:rgba(79,124,255,.30);

}

.widget h3{

    margin-bottom:15px;

}

.widget p{

    color:var(--text-muted);

}

/*=========================================================
                METRIC CARDS
=========================================================*/

.metric{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:20px;

}

.metric h2{

    color:#ffffff;

}

.metric span{

    color:var(--success);

    font-weight:700;

}

/*=========================================================
                HERO STATS
=========================================================*/

.hero-stats{

    display:flex;

    gap:35px;

    margin-top:45px;

}

.hero-stat{

    display:flex;

    flex-direction:column;

}

.hero-stat h2{

    color:#ffffff;

    margin-bottom:8px;

}

.hero-stat small{

    color:var(--text-muted);

}

/*=========================================================
                GLOW BORDER
=========================================================*/

.glow-border{

    position:relative;

}

.glow-border::after{

    content:"";

    position:absolute;

    inset:-1px;

    border-radius:inherit;

    background:

    linear-gradient(
        135deg,
        rgba(79,124,255,.25),
        rgba(139,92,246,.18)
    );

    z-index:-1;

    opacity:0;

    transition:.35s;

}

.glow-border:hover::after{

    opacity:1;

}

/*=========================================================
            FLOATING PARTICLES
=========================================================*/

.hero-particle{

    position:absolute;

    width:8px;

    height:8px;

    border-radius:50%;

    background:#4F7CFF;

    opacity:.4;

    animation:particleFloat 10s linear infinite;

}

.hero-particle:nth-child(1){

    left:15%;

    top:20%;

}

.hero-particle:nth-child(2){

    left:60%;

    top:75%;

}

.hero-particle:nth-child(3){

    left:80%;

    top:35%;

}

@keyframes particleFloat{

    0%{

        transform:translateY(0);

        opacity:.2;

    }

    50%{

        transform:translateY(-30px);

        opacity:.7;

    }

    100%{

        transform:translateY(0);

        opacity:.2;

    }

}

/*=========================================================
            TRUST CARD GLOW
=========================================================*/

.trust-card{

    position:relative;

    overflow:hidden;

}

.trust-card::before{

    content:"";

    position:absolute;

    width:300px;

    height:300px;

    border-radius:50%;

    background:

    radial-gradient(
        circle,
        rgba(79,124,255,.18),
        transparent 70%
    );

    top:-120px;

    right:-120px;

}
/*=========================================================
                DASHBOARD ANIMATIONS
=========================================================*/

.hero-card{

    animation:heroFade .8s ease forwards;

}

.trust-card{

    animation:heroFade 1s ease forwards;

}

.status-card{

    animation:cardRise .8s ease forwards;

}

.scanner-box{

    animation:cardRise 1s ease forwards;

}

@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes cardRise{

    from{

        opacity:0;

        transform:translateY(45px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*=========================================================
                HOVER EFFECTS
=========================================================*/

.hero-card:hover{

    transform:translateY(-8px);

    box-shadow:

    0 30px 80px rgba(79,124,255,.18);

}

.trust-card:hover{

    transform:translateY(-8px);

}

.status-card:hover h2{

    color:#4F7CFF;

}

.status-card:hover{

    border-color:rgba(79,124,255,.35);

}

.scanner-box:hover{

    border-color:rgba(79,124,255,.30);

}

/*=========================================================
                INPUT ANIMATION
=========================================================*/

#scannerInput{

    transition:.35s;

}

#scannerInput:focus{

    transform:scale(1.01);

}

/*=========================================================
                SCAN BUTTON
=========================================================*/

#uploadButton{

    margin-top:25px;

    min-width:180px;

}

#uploadButton:hover{

    transform:translateY(-4px);

}

/*=========================================================
                TOPBAR STICKY
=========================================================*/

.topbar{

    position:sticky;

    top:20px;

    z-index:100;

    padding:20px 30px;

    border-radius:22px;

    backdrop-filter:blur(18px);

    background:rgba(5,8,22,.65);

    border:1px solid rgba(255,255,255,.05);

    margin-bottom:40px;

}

/*=========================================================
                QUICK STATUS
=========================================================*/

.quick-status{

    align-items:stretch;

}

.status-card{

    min-height:170px;

}

/*=========================================================
                HERO CONTENT
=========================================================*/

.hero-card h1{

    letter-spacing:-1px;

}

.hero-card p{

    font-size:17px;

}

/*=========================================================
                RESPONSIVE
=========================================================*/

@media(max-width:1200px){

.hero-grid{

grid-template-columns:1fr;

}

.widget-grid{

grid-template-columns:1fr 1fr;

}

.hero-stats{

flex-wrap:wrap;

}

}

@media(max-width:992px){

.topbar{

flex-direction:column;

align-items:flex-start;

gap:20px;

}

.top-actions{

width:100%;

justify-content:flex-end;

}

.quick-status{

grid-template-columns:repeat(2,1fr);

}

.hero-card{

padding:40px;

}

.trust-card{

padding:30px;

}

}

@media(max-width:768px){

.hero-grid{

grid-template-columns:1fr;

}

.quick-status{

grid-template-columns:1fr;

}

.widget-grid{

grid-template-columns:1fr;

}

.hero-stats{

flex-direction:column;

gap:20px;

}

.upload-buttons{

flex-direction:column;

}

.upload-buttons button{

width:100%;

}

.hero-card{

padding:30px;

}

.hero-card h1{

font-size:2rem;

}

.topbar{

padding:18px;

}

}

@media(max-width:480px){

.hero-card{

padding:22px;

}

.trust-footer{

grid-template-columns:1fr;

}

.status-card{

padding:22px;

}

.dropzone{

padding:40px 20px;

}

.upload-icon{

width:70px;

height:70px;

font-size:32px;

}

}

/*=========================================================
                4K DISPLAY
=========================================================*/

@media(min-width:1800px){

.hero-grid{

grid-template-columns:2.3fr 1fr;

}

.hero-card{

padding:70px;

}

.hero-card h1{

font-size:4.5rem;

}

.trust-card{

padding:50px;

}

.status-card{

padding:40px;

}

.widget{

padding:35px;

}

}

/*=========================================================
                REDUCED MOTION
=========================================================*/

@media(prefers-reduced-motion:reduce){

*{

animation:none !important;

transition:none !important;

scroll-behavior:auto !important;

}

}

/*=========================================================
                END OF FILE
=========================================================*/