﻿/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Titillium Web', 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
/*    background: url('/Content/images/fondolog.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;*/
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.login-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #555;
        font-size: 1rem;
    }

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: #f7b267;
        box-shadow: 0 0 0 3px rgba(247, 178, 103, 0.3);
    }

.text-danger {
    font-size: 0.875rem;
    color: #d32f2f;
    margin-top: 5px;
    display: block;
}

button {
    width: 100%;
    padding: 12px;
    background: #2e5d3b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

    button:hover {
        background: #254a2f;
        transform: translateY(-2px);
    }

    .recuperar-container {
    margin-top: 12px;
    text-align: center;
}

.recuperar-link {
    font-size: 12px;   /* más pequeño */
    color: #6c757d;    /* un gris más elegante */
    text-decoration: none;
}

.recuperar-link:hover {
    text-decoration: underline;
}


/* Responsive: en móviles, ajusta padding */
@media (max-width: 480px) {
    .login-card {
        padding: 20px;
    }

        .login-card h2 {
            font-size: 1.5rem;
        }

    .form-control {
        padding: 10px;
        font-size: 0.95rem;
    }

    button {
        padding: 10px;
        font-size: 1rem;
    }

    .logo {
        max-width: 150px;
    }


}
