body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('/static/img/foto\ 3.jpeg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    animation: fadeIn 1s ease-in-out;
}

.login-logo {
    height: 6rem;
    transition: transform 0.3s ease;
}

.login-logo:hover {
    transform: scale(1.1);
}

.login-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #e94e1b;
    text-align: center;
    margin-bottom: 1rem;
}

.input-group-text {
    background-color: #e94e1b;
    border: none;
    border-radius: 0.5rem 0 0 0.5rem;
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}


.input-group-text i {
    color: #e94e1b;
}

.form-control {
    border: none;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 5px rgba(233, 78, 27, 0.5);
    border: 1px solid #e94e1b;
}

.btn-outline-secondary {
    border-color: #e94e1b;
    color: #e94e1b;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #e94e1b;
    color: white;
}

button[type="submit"] {
    width: 100%;
    background-color: #e94e1b;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #c43d14;
}

.messages {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: center;
    color: red;
}

a {
    color: #e94e1b;
    text-decoration: none;
}  

a:hover {
    text-decoration: underline;
}

/* Animación */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}