/* =====================================
   BARBERPRO
   ADMIN LAYOUT
===================================== */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html,
body{
    height:100%;
}


body{

    font-family:Arial,Helvetica,sans-serif;
    background:#f3f4f6;
    color:#222;

}


/* =====================================
   LAYOUT
===================================== */


.wrapper{

    display:flex;
    min-height:100vh;

}


.main{

    flex:1;
    display:flex;
    flex-direction:column;

}


.content{

    padding:25px;

}


.container{

    width:100%;

}


/* =====================================
   SIDEBAR
===================================== */


.sidebar{

    width:240px;
    background:#111827;
    color:white;

}


.logo{

    padding:22px;
    text-align:center;
    font-size:24px;
    font-weight:bold;
    border-bottom:1px solid rgba(255,255,255,.08);

}


.sidebar a{

    display:block;
    color:white;
    text-decoration:none;
    padding:15px 20px;
    transition:.25s;

}


.sidebar a:hover{

    background:#1f2937;

}


.sidebar a.active{

    background:#2563eb;

}



/* =====================================
   TOPBAR
===================================== */


.topbar{
    background:white;
    padding:18px 25px;
    display:flex;
    align-items:center;
}


/* =====================================
   MODAL CIERRE DEL DÍA
===================================== */


.modal-cierre{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.55);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:999999;

    animation:fadeModal .25s ease;

}



.modal-caja{

    width:430px;
    max-width:90%;

    background:#fff;

    border-radius:18px;

    padding:35px;

    text-align:center;

    box-shadow:0 20px 45px rgba(0,0,0,.25);

    animation:zoomModal .25s ease;

}



.modal-icono{

    font-size:60px;
    margin-bottom:15px;

}



.modal-caja h2{

    margin-bottom:15px;
    color:#111827;

}



.modal-caja p{

    line-height:1.7;
    color:#555;

    margin-bottom:25px;

}



.modal-botones{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

}



@keyframes fadeModal{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}



@keyframes zoomModal{

    from{

        opacity:0;
        transform:scale(.8);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}



/* =====================================
   MENU HAMBURGUESA
===================================== */

.menu-toggle{

    display:flex;

    position:fixed;

    top:15px;

    left:15px;

    width:45px;

    height:45px;

    z-index:3000;

}


/* =====================================
   MOVIL
===================================== */


@media(max-width:768px){


    .menu-toggle{

        display:flex;

        align-items:center;
        justify-content:center;

        position:fixed;

        top:15px;
        left:15px;

        width:45px;
        height:45px;

        background:#111827;

        color:white;

        border:none;

        border-radius:10px;

        font-size:24px;

        cursor:pointer;

        z-index:3000;

        box-shadow:0 4px 12px rgba(0,0,0,.25);

        transition:.3s;

    }



    .sidebar{

        position:fixed;

        top:0;
        left:calc(-100% - 20px);

        width:260px;

        height:100vh;

        background:#111827;

        z-index:2500;

        transition:left .35s ease;

        overflow-y:auto;

    }



    .sidebar.open{

        left:0;

    }



    .sidebar-overlay{

        position:fixed;

        inset:0;

        background:rgba(0,0,0,.45);

        opacity:0;

        visibility:hidden;

        transition:.3s;

        z-index:2000;

    }



    .sidebar-overlay.show{

        opacity:1;

        visibility:visible;

    }



    .main{

        width:100%;

    }



    .topbar{

        padding-left:75px;

    }


}



/* =====================================
   ESCRITORIO
===================================== */


@media(min-width:769px){


    .menu-toggle,
    .sidebar-overlay{

        display:none;

    }



    .wrapper{

        display:flex;

    }



    .sidebar{

        position:relative;

        left:0;

        width:240px;

        height:auto;

        flex-shrink:0;

        transform:none;

    }



    .main{

        flex:1;

        width:auto;

    }


}



/* =====================================
   BOTON MENU ABIERTO
===================================== */


.menu-toggle.move{

    left:255px;

}


/* =====================================
   TOPBAR VACÍO
===================================== */

.topbar-vacio{

    height:74px;
    background:white;

}
/* =====================================
   CONTENIDO PAGINAS
===================================== */

.content{

    padding:25px;
    text-align: center;

}


.content h2{

    margin-bottom:25px;

}
.demo-alert{

background:#fff3cd;

color:#856404;

padding:15px;

border-radius:10px;

margin-bottom:20px;

font-weight:bold;

text-align:center;

border:1px solid #ffeeba;

}
