/* Reset básico */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/* Contenedor principal */
.svg-container {
    position: relative;
    width: 100%;
    height: auto;
    margin: auto;
}

/* Imagen SVG */
.svg-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Contenedor botones sobre imagen */
.buttons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.btn-image {
    position: absolute;
    transform: translate(-50%, -50%);
    height: auto;
    cursor: pointer;
    top: 80%;
    left: 15%;
    max-width: 15vw;
}

/* Login */
.login-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    padding: 30px;
    border-radius: 12px;
    width: 300px;
    max-width: 90%;
    z-index: 10;
}

.login-container h2 {
    margin-bottom: 20px;
    color: #611232;
    text-align: center;
}

.login-container label {
    display: block;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
}

.login-container input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #edb498;
    border-radius: 8px;
    background-color: transparent;
    color: white;
    outline: none;
}

.login-container input::placeholder {
    color: #edb498;
}

.login-container button,
.btn-primary {
    padding: 12px 24px;
    background-color: #611232;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    max-width: 100%;
}

.login-container button:hover,
.btn-primary:hover {
    background-color: #edb498 !important;
    color: #611232 !important;
}

.login-text-extra {
    position: absolute;
    top: 125%;
    right: 5%;
    transform: translateY(50px);
    width: 300px;
    max-width: 90%;
    text-align: center;
    color: white;
    font-size: 16px;
    z-index: 5;
}

.dorado {
    color: #DDC9A3;
}
 /* Versión general: para escritorio */
.info-box {
    position: absolute;
    top: 45%;
    left: 70vh;
    transform: translate(-50%, -50%);
    color: #611232;
    padding: 12px 20px;
    border-radius: 10px;
    width: 60%; 
    max-width: 800px; 
    text-align: justify;
    z-index: 20;
    box-sizing: border-box;
    word-wrap: break-word;
    font-size: 18px;
}

.responsive-form {
    margin-top: 0;
}

/* RESPONSIVE - Tablets */
@media (max-width: 1200px) {
    .btn-image {
        top: 60%;
        left: 50%;
        transform: translateX(-50%);
        max-width: 35vw;
    }
    .login-container {
        right: 50%;
        transform: translate(50%, -50%);
        width: 80%;
    }

    .login-text-extra {
        right: 50%;
        transform: translateX(50%);
    }
    .info-box {
        top: 20%;
        color: white;
        font-size: 16px;
        width: 90%;
        max-width: 100%; 
        left: 50%;
        transform: translateX(-50%);
    }
}

/* RESPONSIVE - Móviles */
@media (max-width: 600px) {
    .btn-image {
        top: 80%;
        left: 50%;
        transform: translateX(-50%);
        max-width: 50vw;
    }
    .login-container {
        width: 90%;
        padding: 20px;
    }

    .login-text-extra {
        font-size: 14px;
        width: 90%;
    }
    .info-box {
        top: 20%;
        color: white;
        font-size: 14px;
        padding: 10px 15px;
        width: 95%;
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
    .responsive-form {
        margin-top: 25vh; /* incluso más abajo si es necesario */
    }
}
