* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #616161;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    background-color: #212529;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.logo {
    font-weight: 700;
    letter-spacing: 0.0625em;
    text-transform: uppercase;
    font-size: 1.5em;
    font-family: "Montserrat", sans-serif;
    color: #ffc800;
    display: flex;
    align-items: center;
    gap: 10px;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 60px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: #0D0D0D;
    border-color: #ffc800;
    color: white;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #0D0D0D !important;
    border-color: #ffc800 !important;
    color: white !important;
}

.link-login {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.contenedor-auth {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.tarjeta-auth {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.tarjeta-auth h2 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.tarjeta-auth p {
    color: #777;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.formulario {
    text-align: left;
}

.grupo-input {
    margin-bottom: 20px;
}

.grupo-input label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #444;
}

.grupo-input input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background-color: white;
    transition: all 0.3s;
}

.grupo-input input:focus {
    border-color: #2155CF;
    box-shadow: 0 0 0 3px rgba(33, 85, 207, 0.1);
}

.btn-entrar {
    width: 100%;
    background-color: #2155CF;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-entrar:hover {
    background-color: #1641a3;
}

.separador {
    text-align: center;
    margin: 20px 0;
    color: #777;
    position: relative;
}

.btn-google {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

.auth-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer a {
    color: #2155CF;
    text-decoration: none;
    font-weight: 600;
}

.CSSError {
    color: red;
    background: #fdeae8;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid #f5c2c2;
}

.CSSExito {
    color: #27ae60;
    background: #e8f8f0;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid #c2f0d5;
}