/* RESET */
* {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

/* BACKGROUND GENERAL */
body {
    background: #edf5ff;
}

/* LAYOUT */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ======================
   IZQUIERDA (FONDO BLANDO)
====================== */
.login-left {
    width: 46%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

/* BRAND */
.brand {
    text-align: center;
    margin-bottom: 48px;
}

.brand img {
    height: 64px;
    margin-bottom: 14px;
}

.brand p {
    font-size: 16px;
    color: #64748b;
}

/* CARD */
.login-card {
    background: #ffffff;
    padding: 56px 52px;
    border-radius: 26px;
    box-shadow: 0 40px 80px rgba(37, 99, 235, 0.20);
    max-width: 520px;
    width: 100%;
}

/* TITLES */
.login-card h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.login-card span {
    display: block;
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 40px;
}

/* FIELDS */
.field {
    margin-bottom: 26px;
}

.field label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

/* INPUT */
.input-icon {
    position: relative;
}

.input-icon input {
    width: 100%;
    padding: 18px 52px;
    border-radius: 16px;
    border: 1px solid #dbe1f1;
    font-size: 16px;
}

.input-icon input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 5px rgba(37,99,235,.18);
}

.input-icon i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
}

/* OPTIONS */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin-bottom: 28px;
}

.options a {
    color: #2563eb;
    text-decoration: none;
}

/* BUTTON */
.btn-primary {
    width: 100%;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(90deg, #1e40af, #60a5fa);
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 16px 36px rgba(37,99,235,.45);
}

/* DIVIDER */
.divider {
    text-align: center;
    margin: 36px 0;
    font-size: 13px;
    color: #9ca3af;
}

/* GOOGLE */
.btn-google {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-size: 15px;
}

.btn-google img {
    height: 22px;
}

/* REGISTER */
.register {
    text-align: center;
    font-size: 15px;
    margin-top: 26px;
}

/* FOOTER */
footer {
    margin-top: 32px;
    font-size: 13px;
    color: #9ca3af;
}

/* ======================
   DERECHA (IMAGEN GRANDE)
====================== */
.login-right {
    width: 54%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px;
}

/* IMAGE CARD */
.image-card {
    background: rgba(255,255,255,.55); 
    border-radius: 34px;
    margin-bottom: 34px; 
}

.image-card img {
    width: 620px;
    border-radius: 26px;
}

/* TEXT */
.login-right h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 14px;
}

.login-right p {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 1200px) {
    .image-card img {
        width: 520px;
    }
}

@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-right {
        display: none;
    }

    .login-left {
        width: 100%;
        min-height: 100vh;
    }
}
