/* ── Correcciones basadas en computed styles del sitio original ── */

/* ===== RESET BASE ===== */
html, body, #root { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }

/* ===== HEADER ===== */
.headerWeb { display: flex !important; }
.headerMovil { display: none !important; }

.css-dkbeap {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: rgba(0,0,0,0.11) 0px 4px 7px 0px;
    padding: 16px 0;
    flex-shrink: 0;
    width: 100%;
}

/* Solo logo Movistar centrado, sin ePayco */
.css-1rqyj60 {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.imgMovistarHeader { height: 46px !important; width: auto !important; margin: 0 !important; }
.pagosEpaycoFont   { display: none; }
.pagosEpayco       { height: 18px !important; width: auto !important; }

/* ===== MAIN LAYOUT ===== */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    overflow: auto;
}

/* mainContent: flex row, margin-top: -8% viene de epayco-main.css */
.mainContent {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
    flex: 1 0 70%;
    overflow: hidden;
    position: relative;
}

/* Columna izquierda (css-1hjiozi): flex-start (el centrado vertical lo hace footerForm) */
.css-1hjiozi {
    display: flex !important;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

/* footerForm (css-e77shp): centra verticalmente el contenido del formulario */
.css-e77shp {
    display: flex !important;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    flex: 1 0 auto;
}

/* ===== TABS DE OPERADORAS ===== */
/* .tabsContainer ya tiene background #fafaf7 y border-radius:40px en epayco-main.css */
.tabsContainer {
    box-shadow: rgba(0,0,0,0.1) 4px 4px 2px 0px;
}

/* Movistar (activo) */
.buttonMV button {
    display: inline-block;
    background: rgb(1, 157, 244);
    color: #fff;
    border: 0.8px solid transparent;
    border-radius: 20px;
    min-height: 36px;
    padding: 0 8px 5px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* Antes Telebucaramanga / Antes Metrotel (inactivos) */
.buttonTB button, .buttonMT button {
    display: inline-block;
    background: rgb(240, 240, 240);
    color: rgb(1, 157, 244);
    border: 0.8px solid transparent;
    border-radius: 20px;
    min-height: 36px;
    padding: 0 8px 5px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* ===== TABS MÓVIL / FIJA ===== */
/* Móvil (activo) */
.css-ecp3wi button {
    display: inline-block;
    background: rgb(11, 39, 57);
    color: #fff;
    border: 0.8px solid rgb(11, 39, 57);
    border-radius: 20px;
    min-height: 36px;
    padding: 0 8px 5px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* Fija (inactivo) */
.css-1gruli6 button {
    display: inline-block;
    background: transparent;
    color: rgb(11, 39, 57);
    border: 0.8px solid rgb(11, 39, 57);
    border-radius: 20px;
    min-height: 36px;
    padding: 0 8px 5px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* ===== BOTONES PRINCIPALES ===== */
/* Activar/Gestionar pago automático (disabled) */
.css-c2tknp button {
    display: block;
    width: 100%;
    max-width: 500px;
    background: #fff;
    color: rgb(211, 212, 211);
    border: 0.8px solid rgb(211, 212, 211);
    border-radius: 50px;
    min-height: 46px;
    height: 48px;
    padding: 12px 0;
    box-shadow: rgba(0,0,0,0.11) 0px 4px 7px 0px;
    font-family: "telefonicabold", "Telefonica", sans-serif;
    font-size: 20px;
    text-align: center;
    cursor: not-allowed;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* Consultar y pagar — gris por defecto, azul cuando hay input */
.css-7wafz6 button {
    display: block;
    width: 100%;
    max-width: 500px;
    background: rgb(211, 212, 211);
    color: #fff;
    border: 0.8px solid rgb(211, 212, 211);
    border-radius: 50px;
    min-height: 46px;
    height: 46px;
    padding: 5px 0 0;
    box-shadow: rgba(0,0,0,0.11) 0px 4px 7px 0px;
    font-family: "telefonicabold", "Telefonica", sans-serif;
    font-size: 20px;
    text-align: center;
    cursor: not-allowed;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.css-7wafz6.active button {
    background: rgb(1, 157, 244);
    border-color: rgb(1, 157, 244);
    cursor: pointer;
}

/* ===== INPUT ===== */
.css-f4tqbu {
    display: flex;
    align-items: center;
    border-bottom: 1.6px solid rgb(11, 39, 57);
    height: 56px;
    position: relative;
}
.css-f4tqbu .icon { margin-right: 8px; color: #555; font-size: 18px; flex-shrink: 0; }
.to-right {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    height: 56px;
    padding: 0 50px 0 8px;
    cursor: pointer;
}

/* ===== FUENTES DEL TÍTULO ===== */
.fl { font-family: "telefonicalight", sans-serif; font-weight: 400; }
.fb { font-family: "telefonicabold", sans-serif; font-weight: 400; }

/* ===== LINK ¿Cómo hacer mi pago? ===== */
.ct { color: #019DF4; text-decoration: none; font-size: 13px; }
.ct:hover { text-decoration: underline; }
.displayMovilNone { display: block; }

/* ===== BANNER DESKTOP (columna derecha) ===== */
.contentMovil {
    background-image: url('https://multimedia.epayco.co/landing-movistar/webMay2026.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 85% 78%;
    display: block;
    width: 100%;
    height: 116%;
    position: relative;
    top: -15%;
    right: -8%;
}

/* ===== MEDIOS DE PAGO (mobile) ===== */
.medios-movil { text-align: center; font-size: 16px; display: none; }
.css-1q4gim1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BANNER RESPONSIVE ===== */
@media (min-height: 1000px) {
    .contentMovil { background-size: 85% 89%; height: 100%; top: -6%; }
}
@media (max-height: 668px) and (min-width: 768px) {
    .contentMovil { background-size: 85% 78%; height: 100%; top: -11%; }
}
@media (min-width: 1450px) {
    .contentMovil { background-size: 85% 78%; height: 109%; top: -9%; }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .displayMovilNone { display: none !important; }
    .css-1hjiozi { padding: 16px 12px; }
    .contentMovil { display: none; }
    .medios-movil { display: block; }
    .pagosEpaycoFont { display: flex !important; align-items: center; gap: 4px; font-size: 11px; color: #555; }
    .imgMovistarHeader { height: 30px !important; }
    .css-dkbeap { padding: 10px 16px; }
}
