
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #111e38;
    --blue: #2674c7;
    --blue-hover: #145fa8;
    --text: #242424;
    --muted: #737373;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
    color: var(--text);
    background: white;
}

.page {
    display: grid;
    grid-template-columns: 70% 30%;
    min-height: 100vh;
}

/* PANEL IZQUIERDO */

.welcome-panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 65% 45%,
            rgba(48, 76, 119, 0.38),
            transparent 60%
        ),
        linear-gradient(
            135deg,
            #172844,
            #101c35 65%,
            #0b172c
        );
    color: white;
}

.welcome-content {
    min-height: 100vh;
    padding: 55px 7%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-small {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.brand-logo {
    display: block;
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

.brand-small .brand-logo {
    height: 42px;
}

.welcome-message {
    max-width: 850px;
    margin-top: -30px;
}

.welcome-eyebrow {
    display: block;
    color: #9bbbe3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 22px;
}

.welcome-message h1 {
    font-size: clamp(42px, 6vw, 88px);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -3px;
}

.welcome-message p {
    max-width: 550px;
    margin-top: 25px;
    color: #bdc9dc;
    font-size: 17px;
    line-height: 1.8;
}

.welcome-footer {
    font-size: 11px;
    color: #8495b1;
    letter-spacing: 2px;
}

/* PANEL DERECHO */

.access-panel {
    background: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.access-content {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    padding: 65px 35px 25px;
    display: flex;
    flex-direction: column;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-size: 16px;
    margin-bottom: 45px;
}

.brand .brand-logo {
    height: 36px;
}

.access-heading h2 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 12px;
}

.access-heading p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* FORMULARIO */

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 9px;
    margin-top: 17px;
}

input {
    width: 100%;
    height: 43px;
    border: none;
    border-bottom: 1px solid #aaa;
    background: transparent;
    padding: 8px 3px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    border-radius: 0;
}

input:focus {
    border-bottom: 2px solid var(--blue);
}

input::placeholder {
    color: #999;
}

.field-notice {
    color: #777;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 10px;
}

button {
    width: 100%;
    margin-top: 28px;
    padding: 13px 18px;
    background: var(--blue);
    color: white;
    border: none;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

button:hover {
    background: var(--blue-hover);
}

button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.status {
    min-height: 24px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
}

.access-footer {
    margin-top: auto;
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #656565;
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .page {
        grid-template-columns: 1fr;
    }

    .welcome-panel {
        min-height: 270px;
    }

    .welcome-content {
        min-height: 270px;
        padding: 30px;
    }

    .welcome-message {
        margin-top: 35px;
    }

    .welcome-message h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .welcome-message p {
        font-size: 14px;
    }

    .access-panel {
        min-height: 550px;
    }

    .access-content {
        min-height: 550px;
        padding: 40px 25px 25px;
    }

    .brand {
        margin-bottom: 35px;
    }
}
