/* ==============================
   BASE GLOBALE
============================== */

body{
    font-family:"Segoe UI", Arial, sans-serif;
    background:#f3f7fa;
    margin:0;
}

main{
    padding:20px;
    max-width:1000px;
    margin:auto;
}

/* ==============================
   NAV MENU
============================== */

.nav-menu{
    display:flex;
    justify-content:center;
    background:white;
    padding:10px 0;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
    flex-wrap:wrap;
}

.nav-menu a{
    margin:0 20px;
    text-decoration:none;
    color:#606060;
    font-weight:bold;
    text-transform:uppercase;
    font-size:.95em;
}

.nav-menu a i{
    margin-right:8px;
}

/* ==============================
   HEADER
============================== */

header{
    display:flex;
    justify-content:center;
    background:white;
    border-bottom:3px solid rgb(96,96,96);
    padding:15px 20px;
}

header a{
    display:flex;
    align-items:center;
    text-decoration:none;
    color:inherit;
}

header img{
    height:80px;
    margin-right:15px;
}

.header-text{
    display:flex;
    flex-direction:column;
}

header h1{
    font-size:2.2em;
    margin:0;
    color:rgb(96,96,96);
}

header h2{
    font-size:1.1em;
    margin:0;
    color:#555;
}

/* ==============================
   FOOTER
============================== */

footer{
    text-align:center;
    padding:15px 10px;
    font-size:0.9em;
    color:#555;
    background:#fff;
    border-top:1px solid rgb(159,159,159);
    margin-top:30px;
}

footer a{
    color:#1eb0bc;
    text-decoration:none;
}

footer a:hover{
    text-decoration:underline;
}

/* ==============================
   STATS CARDS
============================== */

.stats-container{
    display:flex;
    gap:20px;
    margin-bottom:30px;
    flex-wrap:wrap;
}

.stat-card{
    flex:1;
    min-width:200px;
    background:linear-gradient(135deg,#30b0bc,#1c7f88);
    color:#fff;
    padding:20px;
    border-radius:14px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    transition:.3s;
    cursor:pointer;
}

.stat-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

.stat-card i{
    font-size:1.8em;
    margin-bottom:8px;
    display:block;
}

.stat-card p{
    font-size:2em;
    margin:5px 0 0 0;
    font-weight:bold;
}

/* variantes */
.stat-purple{background:linear-gradient(135deg,#6c63ff,#4b44c9)}
.stat-red{background:linear-gradient(135deg,#ff6b6b,#c44545)}

/* ==============================
   TABLE (DESKTOP ONLY)
============================== */

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    box-shadow:0 1px 4px rgba(0,0,0,0.1);
    border-radius:6px;
    overflow:hidden;
}

th, td{
    padding:8px 10px;
    border:1px solid rgb(159,159,159);
    text-align:left;
}

th{
    background-color:#1eb0bc;
    color:white;
}

table tbody tr:hover td{
    background-color:#e6f7f8;
}

/* ==============================
   BUTTONS
============================== */

a.button{
    display:inline-block;
    padding:5px 10px;
    background-color:#1eb0bc;
    color:#fff;
    border-radius:4px;
    text-decoration:none;
}

a.button:hover{
    background-color:#14737a;
}

/* ==============================
   SWITCH
============================== */

.mode-switch{
    display:flex;
    justify-content:center;
    background:#fff;
    border:2px solid #d9e3e5;
    border-radius:40px;
    padding:5px;
    width:fit-content;
    margin:25px auto 35px auto;
}

.mode-item{
    text-decoration:none;
    padding:10px 22px;
    border-radius:30px;
    font-weight:600;
    color:#14737a;
}

.mode-item.active{
    background:#14737a;
    color:white;
}

/* ==============================
   FOOTER LOVE
============================== */

.footer-love{
    margin-left:8px;
    color:#bbb;
    cursor:pointer;
}

.footer-love.active{
    color:#1eb0bc;
}

/* ==============================
   DASHBOARD SHARE
============================== */

.dashboard-share{
    margin-top:40px;
    text-align:center;
    opacity:0.8;
}

.dashboard-share a{
    display:inline-block;
    margin:4px;
    padding:6px 14px;
    font-size:0.85em;
    border-radius:20px;
    text-decoration:none;
    color:#fff;
}

.share-facebook{ background:#1877f2; }
.share-whatsapp{ background:#25D366; }
.share-email{ background:#6c757d; }

/* ==============================
   RESPONSIVE GLOBAL
============================== */

@media (max-width:768px){

    header{
        flex-direction:column;
        text-align:center;
    }

    header img{
        margin-bottom:10px;
        height:70px;
    }

    .stats-container .stat-card{
        padding:10px 12px;
    }

    .stats-container .stat-card p{
        font-size:1.3em;
    }
}