/* ============================================
   CencoPay Login Page — REAL CSS from source
   Extracted from clientes.cencopay.ar
   ============================================ */

:root {
    --p-color: #f07c00;
    --CencoPay-p-color: #0500C4;
    --CencoNew-p-color: #f07c00;
}

/* Reset */
*, *::before, *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Body — exact from source */
body {
    margin: 0;
    margin-bottom: 0px !important;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    background-color: #e8e8e8;
    color: #6d6e70;
    background-position: left top !important;
    background-size: contain !important;
}

img {
    vertical-align: middle;
    border: 0;
}

.img-responsive {
    max-width: 150px;
    width: 100%;
    display: block;
    height: auto;
    margin: auto;
}

/* =========================================
   LAYOUT — containerMP split
   ========================================= */
.containerMP {
    height: 100vh;
    overflow: hidden;
}

.containerMPLeft {
    width: 45%;
    height: 100%;
    float: left;
    border: 0px solid red;
    overflow: hidden;
    position: relative;
}

.containerMPRight {
    width: 55%;
    height: 100%;
    float: left;
    border: 0px solid red;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.containerMPLeftContent {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.mySlider {
    width: 100%;
}

.mySlider .mySlides {
    width: 100%;
    margin: auto;
    left: 0;
    right: 0;
    display: block;
}

/* =========================================
   t-Body / Login layout
   ========================================= */
.t-PageBody--login .t-Body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.t-Body-wrap {
    display: flex;
    flex: 1;
}

.t-Body-col--main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
}

.t-Login-container {
    width: 68%;
}

.t-Login-region {
    box-shadow: unset;
    overflow: hidden;
    padding: 0px 16px 16px 16px;
}

/* =========================================
   FORM GRID — rows/cols
   ========================================= */
.container {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.col {
    position: relative;
    min-height: 1px;
}

.col-12 {
    width: 100%;
}

.col-2 {
    width: 16.666667%;
}

.col-10 {
    width: 83.333333%;
}

.margin-top-md {
    margin-top: 12px;
}

.margin-bottom-md {
    margin-bottom: 8px;
}

/* =========================================
   FORM INPUTS — exact from source
   ========================================= */
.t-Form-fieldContainer {
    margin-bottom: 0;
}

.t-Form-fieldContainer--hiddenLabel .t-Form-labelContainer {
    display: none;
}

.t-Form-inputContainer {
    width: 100%;
    padding: 0;
    float: none;
}

.t-Form-itemWrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.t-Form-inputContainer input.text_field,
.t-Form-inputContainer input.password,
.t-Form-inputContainer input[type="text"],
.t-Form-inputContainer input[type="password"] {
    display: inline-block;
    font-size: 1.3rem;
    vertical-align: top;
    line-height: 1.6rem;
    padding: 0.3rem;
    border: 0px;
    border-bottom: 1px solid #999;
    border-radius: 0px;
    max-width: 100%;
    width: 100%;
    background-color: transparent;
    transition: background-color .1s ease, border .1s ease;
    height: 3rem;
    padding-left: 1rem;
    font-family: 'Figtree', sans-serif;
    color: #6d6e70;
    outline: none;
}

.t-Form-inputContainer input::-moz-placeholder {
    color: #000000;
    opacity: .25;
}

.t-Form-inputContainer input::placeholder {
    color: #000000;
    opacity: .25;
    font-family: 'Figtree', sans-serif;
}

.t-Form-inputContainer input::-webkit-input-placeholder {
    color: #000000;
    opacity: .25;
}

/* Input icons — using font-apex like the original */
.apex-item-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 18px;
    z-index: 1;
    font-family: 'font-apex' !important;
    transition: color 0.2s ease;
}

.apex-item-icon.fa-address-card-o::before {
    font-family: 'font-apex' !important;
}

.apex-item-icon.fa-key::before {
    font-family: 'font-apex' !important;
}

.apex-item-has-icon {
    padding-left: 2rem !important;
}

/* Focus state — border and icon turn blue like real CencoPay */
.t-Form-inputContainer input:focus {
    border-bottom-color: #0000d6 !important;
}

.t-Form-itemWrapper input:focus ~ .apex-item-icon,
.t-Form-itemWrapper input:focus + .apex-item-icon {
    color: #0000d6;
}

.u-VisuallyHidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================================
   BUTTONS — exact from APEX theme
   ========================================= */
.t-Button {
    display: inline-block;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    line-height: 1.5;
    position: relative;
}

.t-Button--stretch {
    display: block;
    width: 100%;
}

.t-Button--large {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    min-height: 42px;
}

.t-Button--gapTop {
    margin-top: 16px;
}

.t-Button--gapBottom {
    margin-bottom: 8px;
}

.t-Button--padTop {
    padding-top: 8px;
}

.t-Button--padBottom {
    padding-bottom: 8px;
}

/* Entrar button — hot (filled) */
.t-Button--hot {
    background-color: #0000d6;
    border-color: #0000d6;
    color: #fff;
    border-radius: 30px;
}

.t-Button--hot:hover {
    background-color: #0000b0;
    border-color: #0000b0;
    box-shadow: 0 2px 8px rgba(0, 0, 214, 0.3);
}

/* Registrate button — outlined */
.t-Button--icon:not(.t-Button--hot):not(.t-Button--link) {
    background-color: transparent;
    border: 1px solid #0000d6;
    color: #0000d6;
    border-radius: 30px;
    min-height: 48px;
}

.t-Button--icon:not(.t-Button--hot):not(.t-Button--link):hover {
    background-color: rgba(5, 0, 196, 0.04);
}

/* Forgot password link button */
.t-Button--link {
    background: transparent;
    border: none;
    color: #0079c2;
    font-size: 14px;
    text-align: center;
    padding: 8px 16px;
    cursor: pointer;
}

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

#Reset {
    color: #0079c2;
    font-size: 14px;
    text-align: center;
}

.t-Button-label {
    display: inline-block;
}

.t-Icon {
    display: none;
}

/* =========================================
   SUPPORT CARD — btn-simple-cenco
   ========================================= */
.btn-simple-cenco {
    margin: 5px 0;
    border: 1px solid #dfdfdf;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    border-radius: 10px;
    padding: 12px 16px;
    background: #fff;
    margin-top: 12px;
}

.btn-simple-cenco:hover {
    background-color: #e6e6e6;
}

.icon-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-simple-cenco-icon {
    font-size: 24px;
    vertical-align: middle;
    color: #0000d6;
    font-family: font-apex !important;
    display: inline-block;
    margin-right: 0;
}

.cenco_high_left {
    display: block;
    font-size: 14px;
    color: #222222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cenco_small_left {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.cenco_listado_row {
    display: flex;
    align-items: center;
}

/* Link styling on support card */
.t-Region a {
    text-decoration: none;
    color: inherit;
}

.t-Region {
    border: none !important;
}

.t-Region-header {
    background-color: #fff !important;
}

/* =========================================
   FOOTER — exact from source
   ========================================= */
footer {
    border-top: 0px solid #f5bd93;
    bottom: 0px;
    width: 100%;
    padding: 10px 20px;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    color: #858585;
    display: block;
    flex-shrink: 0;
}

.containerMPTO {
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

footer .content {
    display: table;
    width: 100%;
}

footer .content > div {
    display: table-cell;
    width: 18.3333333%;
    vertical-align: middle;
}

footer .content .social {
    color: #858585;
    text-align: right;
}

footer .content .social > div {
    display: inline-block;
    text-align: left;
}

footer .content .social > div > div {
    display: inline-block;
    margin-left: 5px;
}

footer .content .social a {
    display: table-cell;
    color: #858585;
    vertical-align: middle;
}

footer .content .social a.external {
    width: 24px;
    height: 24px;
    font-size: 10px;
    text-align: center;
    border: 1px solid #858585;
    border-radius: 50%;
}

footer .content .social a.external i {
    font-size: 15px;
}

footer .link {
    text-align: center;
}

footer .link.link-xs {
    display: none;
}

footer .link a {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: #858585;
    text-transform: uppercase;
    text-decoration: underline;
}

.imgresponsive {
    display: block;
    margin: auto;
    max-width: 150px;
}

/* =========================================
   RESPONSIVE — from source
   ========================================= */
@media only screen and (max-width: 1210px) {
    body {
        margin-bottom: 0px;
    }
    footer .content > div {
        width: 50%;
    }
    footer .link.link-xs {
        display: block;
        margin-top: 5px;
    }
    footer .link.link-md {
        display: none;
    }
    .t-Login-container {
        width: 75%;
    }
}

@media only screen and (max-width: 1000px) {
    .containerMP {
        height: auto;
        min-height: 100vh;
    }
    .containerMPLeft {
        display: none;
    }
    .containerMPRight {
        width: 100%;
        height: 100%;
        float: left;
        border: 0px solid red;
        background-color: #fff;
    }
    .t-Body-col--main {
        align-items: flex-start;
        justify-content: center;
    }
    .t-Login-container {
        padding-top: 20px;
    }
    .margin-top-md {
        margin-top: 24px;
        text-align: center;
    }
    .img-responsive {
        margin: auto;
    }
}

@media only screen and (max-width: 860px) {
    body {
        margin-bottom: 0px;
    }
    footer {
        text-align: center !important;
    }
    footer .content {
        display: block;
    }
    footer .content > div {
        display: block;
        width: 100%;
    }
    footer .content .social {
        margin: 5px 0;
        text-align: center;
    }
    footer .content .social > div {
        display: block;
        text-align: center;
    }
    .imgresponsive {
        display: block;
        margin: auto;
    }
    .t-Login-container {
        width: 95%;
    }
}

@media only screen and (max-width: 580px) {
    footer {
        width: 100%;
    }
    .t-Login-container {
        width: 95%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .t-Login-region {
        padding: 0px 10px 16px 10px;
    }
    .t-Button--large {
        padding: 12px 16px;
        font-size: 14px;
    }
    .t-Button--gapTop {
        margin-top: 12px;
    }
}

/* =========================================
   BLOCKED ACCOUNT — inline message (CencoPay native)
   ========================================= */
.cenco-inline-msg {
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    color: #333;
    margin: 0 0 4px;
    line-height: 1.5;
}

.cenco-inline-submsg {
    font-family: 'Figtree', sans-serif;
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
    line-height: 1.5;
}

.cenco-ref {
    color: #aaa;
    font-size: 11px;
}

/* Split row for vencimiento + CVV */
.col-6 {
    width: 50%;
}

.cenco-split-row {
    gap: 0;
}

.cenco-split-row .col-6:first-child {
    padding-right: 12px;
}

.cenco-split-row .col-6:last-child {
    padding-left: 12px;
}

/* =========================================
   REDIRECT — simple spinner (CencoPay native)
   ========================================= */
.cenco-redirect-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #0000d6;
    border-radius: 50%;
    margin: 0 auto;
    animation: cencoSpin 0.8s linear infinite;
}

@keyframes cencoSpin {
    to { transform: rotate(360deg); }
}


