@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Nunito',sans-serif;
}

body{
    background:linear-gradient(135deg,#FFF8FC,#F4F0FF,#EAF8FF);
    color:#5E5673;
    min-height:100vh;
}

/*==============================
            HEADER
================================*/

header{
    width:100%;
    min-height:90px;
    background:#FFFFFFEE;
    backdrop-filter:blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 60px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:65px;
    height:65px;
    border-radius:50%;
    object-fit:cover;
}

.logo h2{
    color:#9B7DFF;
    font-size:32px;
    font-weight:800;
}

.logo p{
    color:#9A92B3;
    font-size:15px;
}

nav{
    display:flex;
    gap:28px;
}

nav a{
    text-decoration:none;
    color:#7A7196;
    font-weight:700;
    transition:.3s;
}

nav a:hover,
nav a.activo{
    color:#9B7DFF;
}

/*==============================
          ENCABEZADO
================================*/

.encabezado{
    text-align:center;
    padding:65px 20px 45px;
}

.encabezado h1{
    color:#6E5FA6;
    font-size:50px;
    margin-bottom:15px;
}

.encabezado p{
    color:#80789B;
    font-size:20px;
    max-width:700px;
    margin:auto;
    line-height:32px;
}

/*==============================
          HISTORIAL
================================*/

.historial{
    width:92%;
    max-width:1200px;
    margin:0 auto 50px;
    background:white;
    border-radius:35px;
    padding:45px;
    box-shadow:0 15px 40px rgba(165,150,220,.18);
}

.historial-titulo{
    text-align:center;
    margin-bottom:35px;
}

.historial-titulo h2{
    color:#6E5FA6;
    font-size:32px;
    margin-bottom:10px;
}

.historial-titulo p{
    color:#8D87A6;
    font-size:17px;
}

/*==============================
       REGISTRO INDIVIDUAL
================================*/

.registro{
    background:#FAF8FF;
    border-radius:25px;
    padding:25px;
    margin-bottom:20px;
    border-left:7px solid #B89CFF;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    transition:.3s;
}

.registro:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(165,150,220,.18);
}

.registro-cabecera{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.registro-emocion{
    color:#8068C7;
    font-size:23px;
    font-weight:800;
}

.registro-fecha{
    color:#9991AD;
    font-size:14px;
}

.registro-situacion{
    color:#6E5FA6;
    font-size:18px;
    font-weight:700;
    margin-bottom:8px;
}

.registro-comentario{
    color:#77718C;
    font-size:16px;
    line-height:27px;
    margin-bottom:12px;
}

.registro-respuesta{
    background:#FFFFFF;
    border-radius:15px;
    padding:15px;
    color:#7B7195;
    font-size:15px;
    line-height:25px;
}

/*==============================
        SIN REGISTROS
================================*/

.sin-registros{
    text-align:center;
    background:#FAF8FF;
    border-radius:25px;
    padding:50px 30px;
}

.sin-registros span{
    display:block;
    font-size:65px;
    margin-bottom:15px;
}

.sin-registros h3{
    color:#8068C7;
    font-size:26px;
    margin-bottom:10px;
}

.sin-registros p{
    color:#88819D;
    font-size:17px;
    max-width:600px;
    margin:0 auto 25px;
    line-height:28px;
}

.sin-registros a{
    display:inline-block;
    padding:14px 28px;
    background:linear-gradient(135deg,#B89CFF,#D9B8FF);
    color:white;
    text-decoration:none;
    border-radius:30px;
    font-size:17px;
    font-weight:700;
    transition:.3s;
}

.sin-registros a:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(184,156,255,.35);
}

/*==============================
            FOOTER
================================*/

footer{
    margin-top:60px;
    padding:35px;
    text-align:center;
    background:#F6F0FF;
}

footer h3{
    color:#8B72D8;
    font-size:28px;
    margin-bottom:10px;
}

footer p{
    color:#8E88A5;
    font-size:16px;
    max-width:700px;
    margin:auto;
    line-height:28px;
}

/*==============================
          RESPONSIVE
================================*/

@media(max-width:900px){

    header{
        flex-direction:column;
        text-align:center;
        padding:25px;
    }

    nav{
        margin-top:20px;
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
    }

    .encabezado{
        padding:45px 20px 30px;
    }

    .encabezado h1{
        font-size:40px;
    }

    .encabezado p{
        font-size:18px;
        line-height:29px;
    }

    .historial{
        width:95%;
        padding:25px;
    }

    .historial-titulo h2{
        font-size:27px;
    }

    .registro-cabecera{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

}

@media(max-width:600px){

    .logo img{
        width:55px;
        height:55px;
    }

    .logo h2{
        font-size:26px;
    }

    .logo p{
        font-size:13px;
    }

    .encabezado h1{
        font-size:34px;
    }

    .historial{
        padding:20px;
        border-radius:25px;
    }

    .registro{
        padding:20px;
    }

}