*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#050505;
    color:white;
    font-family:Arial, Helvetica, sans-serif;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 80px;
    background:black;
    border-bottom:1px solid #222;
}

.logo{
    font-size:40px;
    font-weight:bold;
}

.logo span{
    color:#00ff88;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:40px;
}

.navbar a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

.navbar a:hover{
    color:#00ff88;
}

.container{
    padding:50px;
}
.dashboard h1{
    font-size:45px;
    margin-bottom:10px;
}

.dashboard p{
    color:#ccc;
}

.cards{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.card{
    background:#111;
    border:1px solid #222;
    border-radius:15px;
    padding:25px;
}

.card h2{
    color:#00ff88;
}

.main-card{
    margin-top:40px;
    background:linear-gradient(135deg,#00ff88,#00c3ff);
    padding:35px;
    border-radius:20px;
    color:black;
}

.main-card button{
    margin-top:15px;
    padding:12px 25px;
    border:none;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;
}
.login-body{
    background:#050505;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.login-container{
    width:1200px;
    min-height:800px;

    display:flex;

    background:#111;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 0 40px rgba(0,0,0,.5);
}

.login-image{
    width:50%;

    background:url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1200')
    center center;

    background-size:cover;
}

.login-form{
    width:50%;

    padding:50px;

    display:flex;

    flex-direction:column;

    justify-content:center;
}

.login-form h1{
    font-size:60px;
    margin-bottom:15px;
}

.login-form span{
    color:#00ff88;
}

.login-form p{
    color:#aaa;
    margin-bottom:50px;
}

.login-form label{
    margin-bottom:10px;
}

.login-form input{
    margin-bottom:25px;

    padding:18px;

    border:1px solid #00ff88;

    border-radius:12px;

    background:#000;

    color:white;
}

.login-form button{
    margin-top:15px;

    padding:18px;

    border:none;

    border-radius:50px;

    background:#00ff88;

    color:black;

    font-weight:bold;

    cursor:pointer;

    font-size:16px;
}
.navbar{
    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:30px 80px;

    background:#050505;

    border-bottom:1px solid #222;
}

.logo{
    font-size:50px;
    font-weight:bold;
    color:white;
}

.logo span{
    color:#00ff88;
}

.navbar nav{
    display:flex;
    gap:35px;
}

.navbar nav a{
    text-decoration:none;
    color:white;
    font-weight:600;
}

.navbar nav a:hover{
    color:#00ff88;
}

main{
    min-height:100vh;
}
.hero{
    height:85vh;

    display:flex;

    align-items:center;

    padding:0 100px;

    background:
    linear-gradient(
        rgba(0,0,0,.7),
        rgba(0,0,0,.7)
    ),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1600');

    background-size:cover;
    background-position:center;
}

.hero-content{
    width:700px;
}

.hero h1{
    font-size:70px;
    margin-bottom:20px;
}

.hero h1 span{
    color:#00ff88;
}

.hero p{
    font-size:22px;
    color:#ccc;
    margin-bottom:40px;
    line-height:1.7;
}

.btn-fitia{
    display:inline-block;

    padding:18px 40px;

    border-radius:50px;

    background:#00ff88;

    color:black;

    text-decoration:none;

    font-weight:bold;
}
.container-page{
    padding:50px;
}

.container-page h1{
    margin-bottom:30px;
    font-size:40px;
}

.grid-cards{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:25px;
}

.fitia-card{
    background:#111;
    border:1px solid #222;
    border-radius:15px;
    padding:25px;
    transition:.3s;
}

.fitia-card:hover{
    transform:translateY(-5px);
    border-color:#00ff88;
}

.fitia-card h2{
    color:#00ff88;
    margin-bottom:10px;
}

.fitia-card span{
    color:#888;
    display:block;
    margin-bottom:15px;
}

.fitia-card p{
    color:#ddd;
}
.dashboard-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    padding:50px 100px;
}

.stat-card{
    background:#111;
    border:1px solid #222;
    border-radius:15px;
    padding:30px;
    text-align:center;
}

.stat-card h2{
    color:#00ff88;
    font-size:40px;
    margin-bottom:10px;
}

.stat-card p{
    color:#ccc;
}
.fitia-form{
    max-width:600px;
    background:#111;
    border:1px solid #222;
    border-radius:15px;
    padding:30px;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.fitia-form input,
.fitia-form select,
.fitia-form textarea{
    padding:15px;
    border-radius:10px;
    border:1px solid #00ff88;
    background:#050505;
    color:white;
}

.fitia-form button{
    margin-top:15px;
    padding:15px;
    border:none;
    border-radius:30px;
    background:#00ff88;
    color:black;
    font-weight:bold;
    cursor:pointer;
}

.perfil-card{
    margin-top:30px;
    max-width:600px;
}
.alert-success{
    max-width:600px;
    background:#003d24;
    border:1px solid #00ff88;
    color:#00ff88;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}
.fitia-form{
    display:flex;
    gap:15px;
    align-items:center;
    margin:30px 0;
}

.fitia-form input{
    width:220px;
    padding:15px;
    border-radius:12px;
    border:1px solid #333;
    background:#111;
    color:white;
    font-size:16px;
}

.fitia-form input:focus{
    outline:none;
    border:1px solid #00ff88;
}
.fitia-card{
    background:#0d0d0d;
    border:1px solid #222;
    border-radius:20px;
    padding:25px;
    transition:.3s;
}

.fitia-card:hover{
    transform:translateY(-5px);
    border-color:#00ff88;
}

.fitia-card h2{
    color:#00ff88;
    margin-bottom:15px;
}

.card-buttons{
    display:flex;
    gap:10px;
    margin-top:20px;
}
.fitia-card{
    background:#111;
    border:1px solid #222;
    border-radius:20px;
    padding:25px;
    box-shadow:0 0 20px rgba(0,255,136,.08);
    transition:.3s;
}

.fitia-card:hover{
    transform:translateY(-5px);
    border-color:#00ff88;
}

.fitia-card h2{
    color:#00ff88;
    margin-bottom:15px;
}

.fitia-card p{
    margin:8px 0;
    color:#ddd;
    font-size:16px;
}
.reporte-card{
    width: 380px;
    min-height: 230px;
}

.reporte-card h3{
    font-size: 22px;
    color: #00ff88;
    margin-bottom: 15px;
}

.reporte-card p{
    font-size: 16px;
    line-height: 1.5;
}

.reporte-card .card-buttons{
    margin-top: 20px;
}
.reportes-grid{
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}
.reportes-lista{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(420px,1fr));
    gap:25px;
    margin-top:30px;
}

.reporte-card{
    background:#111;
    border:1px solid #222;
    border-radius:20px;
    padding:30px;
    min-height:260px;
    box-shadow:0 0 15px rgba(0,255,136,.08);
}

.reporte-card h3{
    color:#00ff88;
    font-size:24px;
    margin-bottom:15px;
}

.reporte-card p{
    font-size:16px;
    line-height:1.7;
    margin-bottom:12px;
}

.card-buttons{
    display:flex;
    gap:10px;
    margin-top:20px;
}
.fitia-form{
    max-width: 760px !important;
    width: 100% !important;
    background: #111 !important;
    border: 1px solid #222 !important;
    border-radius: 22px !important;
    padding: 45px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    margin: 30px 0 !important;
}

.fitia-form label{
    width: 100%;
    font-weight: bold;
}

.fitia-form select,
.fitia-form textarea,
.fitia-form input{
    width: 100% !important;
    font-size: 16px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    border: 1px solid #00ff88 !important;
    background: #050505 !important;
    color: white !important;
}

.fitia-form textarea{
    height: 150px !important;
}
.maquina-card{
    min-height:280px;
}

.maquina-card .btn-fitia{
    padding:12px 20px;
    font-size:14px;
}
.ejercicio-card{
    min-height:280px;
}

.ejercicio-card .btn-fitia{
    padding:12px 20px;
    font-size:14px;
}
.dashboard-extra{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    padding:0 100px 50px 100px;
}

.perfil-dashboard{
    padding:0 100px 60px 100px;
}

.perfil-dashboard h2{
    margin-bottom:20px;
}
.chatbot-box{
    max-width:850px;
    background:#111;
    border:1px solid #222;
    border-radius:22px;
    padding:30px;
    box-shadow:0 0 20px rgba(0,255,136,.08);
}

.chat-messages{
    height:420px;
    overflow-y:auto;
    padding:20px;
    background:#050505;
    border-radius:15px;
    margin-bottom:20px;
}

.bot-message,
.user-message{
    padding:15px;
    border-radius:15px;
    margin-bottom:15px;
    line-height:1.6;
}

.bot-message{
    background:#0d281c;
    color:white;
    border:1px solid #00ff88;
}

.user-message{
    background:#1f2937;
    color:white;
    text-align:right;
}

.chat-input{
    display:flex;
    gap:15px;
}

.chat-input input{
    flex:1;
    padding:16px;
    border-radius:12px;
    border:1px solid #00ff88;
    background:#050505;
    color:white;
}

.chat-input button{
    padding:16px 30px;
    border:none;
    border-radius:30px;
    background:#00ff88;
    color:black;
    font-weight:bold;
    cursor:pointer;
}
#progresoChart{
    max-height: 360px !important;
}
.membresia-dashboard{
    width:90%;
    margin:30px auto;
    padding:30px;
}

.membresia-dashboard h2{
    color:#00ff88;
    margin-bottom:15px;
}

.membresia-dashboard p{
    margin:10px 0;
    font-size:18px;
}
.login-form form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.login-form label{
    margin-bottom:0;
    font-weight:bold;
}

.login-form input{
    width:100%;
    margin-bottom:8px;
}

.login-form button{
    width:100%;
}

.login-form .btn-fitia{
    width:100%;
    text-align:center;
    padding:16px;
}

.login-form p{
    margin-bottom:25px;
}

.login-container{
    width:1150px;
    min-height:720px;
}

.login-form{
    padding:55px;
}
/* LOGIN Y REGISTRO - CORRECCIÓN FUERTE PARA CELULAR */
@media (max-width: 768px) {

    .login-body {
        display: block !important;
        min-height: 100vh !important;
        padding: 0 !important;
    }

    .login-container {
        width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .login-image {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .login-form {
        width: 100% !important;
        padding: 35px 25px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
    }

    .login-form h1 {
        font-size: 48px !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }

    .login-form p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }

    .login-form form {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .login-form label {
        width: 100% !important;
        margin-top: 5px !important;
    }

    .login-form input {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        font-size: 16px !important;
    }

    .login-form button,
    .login-form .btn-fitia {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-top: 15px !important;
    }
}