* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #ffffff;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== MOBILE FIRST (exacto como la captura) ========== */

.header {
    padding: 15px 0 5px 0;
    text-align: center;
    background: #fff;
}

.logo {
    width: 150px;
    height: auto;
}

.top-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 5px 0 15px 0;
    background: #fff;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: #f0f0f0;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
    fill: #888;
}

.main-content {
    flex: 1;
    padding: 0 25px;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.title {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: #bbb;
    font-weight: 300;
}

.form-input:focus {
    border-bottom-color: #e6332a;
}

/* Boton Ingresar - TAMANO ORIGINAL como en la captura */
.submit-btn {
    width: auto;
    min-width: 140px;
    padding: 14px 35px;
    background: #e6332a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #c42a22;
}

.links-section {
    margin-top: 25px;
}

.link-text {
    color: #e6332a;
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-weight: 400;
}

.link-text:hover {
    text-decoration: underline;
}

/* Boton outline - TAMANO ORIGINAL como en la captura */
.btn-outline {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #e6332a;
    border-radius: 6px;
    color: #e6332a;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 18px;
    transition: all 0.3s;
    line-height: 1.4;
}

.btn-outline:hover {
    background: #e6332a;
    color: white;
}

.btn-outline::after {
    content: ' >';
}

.contact-info {
    margin-top: 5px;
}

.contact-label {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-phone {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.footer {
    padding: 25px 25px 15px 25px;
    margin-top: auto;
    text-align: center;
}

.footer-text {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.footer-link {
    color: #999;
    text-decoration: underline;
}

.virtual-keyboard {
    display: none;
}

/* ========== DESKTOP (pantalla completa expandida) ========== */
@media (min-width: 768px) {
    .header {
        padding: 20px 0 10px 0;
    }

    .logo {
        width: 180px;
    }

    .top-icons {
        position: absolute;
        top: 20px;
        right: 30px;
        padding: 0;
        gap: 10px;
    }

    .main-content {
        max-width: 500px;
        padding: 0 40px;
        margin-top: 20px;
    }

    .title {
        font-size: 28px;
    }

    .form-row {
        display: flex;
        align-items: flex-start;
        gap: 30px;
    }

    .form-left {
        flex: 1;
    }

    .form-right {
        display: flex;
        align-items: center;
        padding-top: 15px;
    }

    .virtual-keyboard {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #666;
        font-size: 14px;
        cursor: pointer;
    }

    .virtual-keyboard svg {
        width: 22px;
        height: 22px;
        fill: #666;
    }

    /* En desktop el boton ingresar puede ser mas ancho */
    .submit-btn {
        min-width: 160px;
        padding: 14px 40px;
    }
}

/* ========== PANTALLA MUY GRANDE (se expande al centro) ========== */
@media (min-width: 1200px) {
    .main-content {
        max-width: 550px;
    }

    .title {
        font-size: 30px;
    }
}