/* ==============================
   DEPORTIZ PERFORMANCE LAB
==============================*/

:root{

    --primary:#0f172a;
    --primary2:#1e293b;
    --accent:#2563eb;
    --bg:#eef3f9;
    --card:#ffffff;
    --text:#1f2937;

}

body{

    margin:0;
    background:var(--bg);
    font-family:Inter,Arial,sans-serif;

}

/* ==============================
   OCULTAR WORDPRESS
==============================*/

body:not(.role-administrator) #wpadminbar,
body:not(.logged-in.admin-bar) #wpadminbar{

    display:none !important;

}

body:not(.role-administrator).admin-bar{

    margin-top:0 !important;
    padding-top:0 !important;

}

.site-header,
.site-footer,
#masthead,
#colophon,
.inside-header,
.site-info{

    display:none !important;

}

.site-content,
.content-area,
.site-main{

    margin:0 !important;
    padding:0 !important;
    width:100% !important;

}

/* ==============================
   LOGIN
==============================*/

.dp-login{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#0f172a,#172554);

    padding:30px;

}

.dp-login-card{

    width:380px;

    background:#ffffff;

    border-radius:28px;

    padding:45px;

    box-shadow:0 25px 70px rgba(0,0,0,.30);

}

.dp-login-logo{

    display:flex;

    flex-direction:column;

    align-items:center;

    margin-bottom:30px;

}

.dp-login-logo img{

    width:95px;

    height:auto;

    display:block;

    margin-bottom:18px;

}

.dp-login-logo h1{

    margin:0;

    font-size:40px;

    font-weight:700;

    color:#111827;

}

.dp-login-logo p{

    margin-top:8px;

    color:#64748b;

    font-size:16px;

}

.dp-login-card label{

    display:block;

    margin-top:18px;

    margin-bottom:8px;

    font-weight:600;

    color:#1f2937;

}

.dp-login-card input{

    width:100%;

    padding:15px;

    border:1px solid #dbe2ea;

    border-radius:12px;

    font-size:15px;

    box-sizing:border-box;

}

.dp-login-card input:focus{

    outline:none;

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.15);

}

.dp-login-card button{

    width:100%;

    margin-top:30px;

    padding:16px;

    border:none;

    border-radius:12px;

    background:#2563eb;

    color:#fff;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.dp-login-card button:hover{

    background:#1d4ed8;

}

/* ==============================
   APP
==============================*/

.dp-app{

    display:flex;

    min-height:100vh;

    background:#fff;

}

.dp-sidebar{

    width:260px;

    background:#0f172a;

    color:#fff;

    padding:35px 25px;

    display:flex;

    flex-direction:column;

}

.dp-logo{

    font-size:30px;

    font-weight:700;

    margin-bottom:40px;

}

.dp-menu{

    list-style:none;

    margin:0;

    padding:0;

}

.dp-menu li{

    margin-bottom:10px;

}

.dp-menu a{

    display:block;

    padding:14px 18px;

    color:#fff;

    text-decoration:none;

    border-radius:12px;

    transition:.25s;

}

.dp-menu a:hover{

    background:rgba(255,255,255,.08);

}

.dp-logout{

    margin-top:auto;

}

.dp-logout a{

    color:#ffb4b4;

}

.dp-content{

    flex:1;

    padding:45px;

}

.dp-header{

    display:flex;

    align-items:center;

    margin-bottom:35px;

}

.dp-title{

    font-size:40px;

    font-weight:700;

}

.dp-cards{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

.dp-card{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    padding:28px;

    transition:.25s;

}

.dp-card:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

/* ==============================
   MENU MOVIL
==============================*/

.dp-menu-toggle{

    display:none;

    width:48px;

    height:48px;

    border:none;

    border-radius:12px;

    background:#0f172a;

    color:white;

    font-size:22px;

    cursor:pointer;

    margin-right:20px;

}

.dp-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.30s;

    z-index:998;

}

.dp-overlay.show{

    opacity:1;

    visibility:visible;

}

/* ==============================
   RESPONSIVE
==============================*/

@media(max-width:900px){

    .dp-app{

        display:block;

    }

    .dp-sidebar{

        position:fixed;

        top:0;

        left:-280px;

        width:260px;

        height:100vh;

        transition:.35s;

        z-index:999;

        box-shadow:10px 0 30px rgba(0,0,0,.30);

    }

    .dp-sidebar.open{

        left:0;

    }

    .dp-menu-toggle{

        display:block;

    }

    .dp-content{

        padding:20px;

    }

    .dp-title{

        font-size:30px;

    }

    .dp-cards{

        grid-template-columns:1fr;

    }

    .dp-login-card{

        width:100%;

        max-width:360px;

        padding:35px;

    }

    .dp-login-logo img{

        width:78px;

    }

}
/* ==============================
   LOGO DEPORTIZ
==============================*/

.dp-logo{

    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:40px;

    color:#fff;

    font-size:22px;
    font-weight:700;

}

.dp-logo img{

    width:42px;
    height:42px;

    object-fit:contain;

    display:block;

    filter:drop-shadow(0 4px 12px rgba(255,255,255,.15));

}

.dp-logo span{

    font-size:20px;
    font-weight:700;

}