@import url(./components/header.css);
@import url(./style.css);

/* FONDO */
body {
    background: radial-gradient(circle at top, #1f2a44, #0d1117);
    color: #e6edf3;
}

header {
    background: none;
    box-shadow: none;
}

/* MAIN CENTRADO */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD LOGIN */
form {
    width: 340px;
    padding: 35px;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);

    animation: fadeIn 0.6s ease;
}

/* ANIMACIÓN */
@keyframes fadeIn {
from {
    opacity: 0;
    transform: translateY(15px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* TÍTULO */
form h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* CAMPOS */
form div {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

label {
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #8b949e;
}

/* INPUTS */
input {
    padding: 11px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.3);
    color: white;
    transition: 0.25s;
}

input:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 0 2px rgba(88,166,255,0.25);
    outline: none;
}

/* BOTÓN */
button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    margin-top: 10px;

    background: linear-gradient(135deg, #58a6ff, #1f6feb);
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;

    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31,111,235,0.4);
}

/* TEXTO EXTRA */
form p {
    margin-top: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: #8b949e;
}

form a {
    color: #58a6ff;
    text-decoration: none;
}

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

/* FOOTER */
footer {
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
    color: #6e7681;
}