@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ESCRITORIO */
.login-wrapper {
    display: flex;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.login-left {
    flex: 1;
    background: url('background.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-left h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.login-left p {
    font-size: 18px;
    max-width: 450px;
    line-height: 1.5;
}

.login-right {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.login-box h2 {
    font-weight: 700;
    font-size: 26px;
    text-align: center;
    margin-bottom: 25px;
    color: #222;
}

.form-control {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.btn-yellow {
    background-color: #FEDE59;
    border: none;
    font-weight: bold;
    font-size: 16px;
    padding: 14px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-yellow:hover {
    background-color: #e6c94e;
}

.login-box a {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.login-box a:hover {
    text-decoration: underline;
}

/* MÓVIL MEJORADO */
.login-mobile {
    display: none;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    min-height: 100vh;
    padding: 40px 20px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
}

.login-mobile img {
    width: 70px;
    margin: 0 auto 24px;
}

.login-mobile h2 {
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
    color: #FEDE59;
}

.login-mobile form {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.login-mobile .form-control {
    font-size: 16px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

.login-mobile .btn-yellow {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    background: #FEDE59;
    border: none;
    cursor: pointer;
}

.login-mobile .btn-yellow:hover {
    background-color: #e6c94e;
}

.login-mobile .text-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #333;
}

.login-mobile .text-link a {
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.login-mobile .text-link a:hover {
    text-decoration: underline;
}

/* RESPONSIVE: ocultar escritorio en móviles */
@media (max-width: 768px) {
    .login-wrapper {
        display: none !important;
    }

    .login-mobile {
        display: flex !important;
    }
}
@media (max-width: 768px) {
    .login-mobile img,
    .registro-mobile img {
        width: 140px;
        max-width: 100%;
        height: auto;
        display: block;
        margin-bottom: 28px;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); /* añade sombra para que destaque */
    }
}