﻿body {
    margin: 0;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: url('../img/Login/backgroundimage.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 35px 30px;
    width: 450px;
    text-align: center;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.25);
    background-color: transparent;
    /* Gradiente más suave */
    background-image: linear-gradient(180deg, rgba(91, 160, 51, 0.8) 0%, rgba(0, 127, 192, 0.4) 100%);
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}


.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

    .logos img {
        max-height: 40px;
        width: auto;
    }

.form-control {
    border-radius: 10px;
    height: 48px;
    font-size: 15px;
    font-weight: 500;
    background-color: #eeeeee;
    border: 1px solid #d9d9d9;
    color: #333;
    padding-left: 15px;
    margin-bottom: 18px;
    transition: all 0.2s ease-in-out;
}

    .form-control:focus {
        background-color: #fff;
        border-color: #1ba34a;
        outline: none;
        box-shadow: 0 0 4px rgba(27,163,74,0.4);
    }

    .form-control::placeholder {
        color: #888;
        font-weight: 400;
    }

.btn-login {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: bold;
    background-color: #1ba34a;
    color: #fff;
    border: none;
    border-radius: 10px;
    transition: background 0.3s, transform 0.1s;
}

    .btn-login:hover {
        background-color: #148a3b;
        transform: translateY(-2px);
        color:#fff;
    }


.logo-bottom-left {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 85px;
    opacity: 0.8;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .logo-bottom-left:hover {
        transform: scale(1.05);
        opacity: 1;
    }

.login-logo img {
    max-height: 80px;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .logo-bottom-left {
        width: 60px;
        bottom: 15px;
        left: 15px;
        opacity: 0.7;
    }
}

.text-error-outline {
    color: #ff6b6b; /* 🔴 rojo coral suave en el relleno */
    font-weight: 700;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff; /* borde blanco sutil */
}
