/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Contenedor principal centrado con fondo */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../image/fondo_joyas.jpg") center/cover no-repeat;
    width: 100%;
    height: 100vh;
}

/* Caja del login - con dos columnas */
.login-box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 50px;
    align-items: center;
}

/* Contenedor del contenido del login */
.login-content {
    flex: 1;
    text-align: center;
}

/* Título principal */
.login-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    color: #b68a2c;
    margin-bottom: 30px;
}

/* Formulario */
.login-form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

.form-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: none;
    border-radius: 8px;
    background-color: #f5f3ff;
    font-size: 14px;
}

.form-input:focus {
    outline: 2px solid #d4af37;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* Botón */
.btn-login {
    width: 100%;
    background-color: #b68a2c;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: #9e7727;
}

/* Enlace de registro */
.register-text {
    text-align: center;
    margin-top: 15px;
}

.register-text a {
    text-decoration: none;
    color: #b68a2c;
    font-weight: 500;
}

.register-text a:hover {
    text-decoration: underline;
}

/* Sección de imagen */
.image-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-overlay {
    width: 280px;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .login-box {
        flex-direction: column;
        padding: 40px 25px;
        gap: 30px;
    }

    .login-subtitle {
        font-size: 1.8rem;
    }
    
    .logo-overlay {
        width: 200px;
    }
}