@import url('https://fonts.googleapis.com/css2?family=Asap:wght@400;500;600;700&display=swap');

:root {
    --umag-violet: #5446b9;
    --umag-violet-strong: #44369f;
    --umag-violet-soft: #f0eefb;
    --umag-green: #25a95d;
    --umag-ink: #18192c;
    --umag-muted: #646579;
    --umag-canvas: #f7f7fb;
    --umag-border: #deddea;
    --umag-white: #ffffff;
}

body.corporate {
    background: var(--umag-canvas);
    color: var(--umag-ink);
    font-family: "Asap", sans-serif;
    font-size: 15px;
}

body.corporate .main {
    min-height: calc(100vh - 170px);
    padding: 30px 0 48px;
}

body.corporate .header {
    min-height: 98px;
    background: linear-gradient(90deg, #424892 0%, #7c29f2 100%);
    border: 0;
    box-shadow: 0 3px 14px rgba(24, 25, 44, 0.16);
}

body.corporate .header .container {
    min-height: 98px;
    display: flex;
    align-items: center;
}

body.corporate .header .site-logo {
    margin: 0;
    padding: 0;
    color: var(--umag-white);
    font-size: 20px;
    font-weight: 700;
}

body.corporate .header .site-logo img {
    display: block;
    width: 200px;
    height: auto;
}

body.corporate .header-navigation {
    margin-left: auto;
}

body.corporate .header-navigation > ul > li > a,
body.corporate .header-navigation > ul > li > a:hover,
body.corporate .header-navigation > ul > li.open > a {
    color: var(--umag-white);
    background: transparent;
}

body.corporate .header .mobi-toggler {
    width: 42px;
    height: 42px;
    margin: 0 0 0 auto;
    padding: 10px;
    color: var(--umag-white);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 7px !important;
    background: transparent;
}

body.corporate .internal-menu-line {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--umag-white);
}

body.corporate .well,
body.corporate .panel {
    background: var(--umag-white);
    border: 1px solid var(--umag-border);
    border-radius: 12px !important;
    box-shadow: 0 8px 28px rgba(24, 25, 44, 0.07);
}

body.corporate .well {
    padding: 28px;
}

body.corporate .panel {
    overflow: hidden;
}

body.corporate .panel-primary > .panel-heading,
body.corporate .panel-default > .panel-heading {
    padding: 18px 22px;
    color: var(--umag-white);
    background: var(--umag-violet);
    border: 0;
}

body.corporate .panel-heading h2,
body.corporate .panel-heading h3,
body.corporate .panel-heading h4 {
    margin: 0;
    color: inherit;
    font-weight: 700;
}

body.corporate .panel-body {
    padding: 26px;
}

body.corporate .titulo_servicio,
body.corporate legend {
    width: 100%;
    margin: 12px 0 22px;
    padding: 12px 0 10px;
    color: var(--umag-ink);
    border: 0;
    border-bottom: 2px solid var(--umag-violet-soft);
    font-size: 21px;
    font-weight: 700;
}

body.corporate .titulo_servicio .glyphicon,
body.corporate legend .fa {
    margin-right: 8px;
    color: var(--umag-violet);
}

body.corporate .form-group {
    margin-bottom: 22px;
}

body.corporate .control-label,
body.corporate .label_formulario,
body.corporate form label {
    margin-bottom: 7px;
    color: #35364b;
    font-size: 14px;
    font-weight: 600;
}

body.corporate .form-control,
body.corporate .select2-container--bootstrap .select2-selection {
    min-height: 44px;
    color: var(--umag-ink);
    background: #fbfbfd;
    border: 1px solid #c9c8d8;
    border-radius: 7px !important;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.corporate textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

body.corporate .form-control:focus,
body.corporate .select2-container--bootstrap.select2-container--focus .select2-selection,
body.corporate .select2-container--bootstrap.select2-container--open .select2-selection {
    background: var(--umag-white);
    border-color: var(--umag-violet);
    box-shadow: 0 0 0 3px rgba(84, 70, 185, 0.14);
}

body.corporate .form-control[readonly],
body.corporate .form-control[disabled],
body.corporate fieldset[disabled] .form-control {
    color: #6e6e7d;
    background: #efeff4;
    border-color: #dddde6;
}

body.corporate .help-block {
    color: var(--umag-muted);
    font-size: 13px;
    line-height: 1.45;
}

body.corporate .error_formulario,
body.corporate label.error {
    display: block;
    margin-top: 5px;
    color: #b42336;
    font-size: 13px;
    font-weight: 600;
}

body.corporate .btn,
body.corporate .button-f {
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 999px !important;
    border: 1px solid transparent;
    font-family: "Asap", sans-serif;
    font-weight: 600;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.corporate .btn-primary,
body.corporate .btn-success,
body.corporate .button-f {
    color: var(--umag-white);
    background: var(--umag-ink);
    border-color: var(--umag-ink);
}

body.corporate .btn-primary:hover,
body.corporate .btn-primary:focus,
body.corporate .btn-success:hover,
body.corporate .btn-success:focus,
body.corporate .button-f:hover,
body.corporate .button-f:focus {
    color: var(--umag-white);
    background: var(--umag-violet);
    border-color: var(--umag-violet);
    transform: translateY(-1px);
}

body.corporate .btn-default,
body.corporate .btn-secondary {
    color: var(--umag-ink);
    background: var(--umag-white);
    border-color: #c8c7d5;
}

body.corporate .alert {
    padding: 17px 20px;
    border: 0;
    border-radius: 9px !important;
    box-shadow: none;
}

body.corporate .alert:before {
    display: inline-block;
    margin: 0 8px 0 0;
    font-size: 16px;
}

body.corporate .front-steps-wrapper {
    display: flex;
    width: 100%;
    margin: 0 0 26px;
    padding: 6px;
    gap: 6px;
    background: var(--umag-white);
    border: 1px solid var(--umag-border);
    border-radius: 12px !important;
    box-shadow: 0 8px 28px rgba(24, 25, 44, 0.06);
}

body.corporate .front-step-col {
    width: auto;
    flex: 1 1 0;
    float: none;
    padding: 0;
}

body.corporate .front-step-col > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

body.corporate .front-step {
    min-height: 104px;
    height: 100%;
    padding: 17px 14px;
    color: var(--umag-muted);
    background: transparent;
    border-radius: 8px !important;
    border: 1px solid transparent;
}

body.corporate .front-step:before,
body.corporate .front-step:after {
    display: none;
}

body.corporate .front-step h2 {
    margin: 0 0 7px;
    color: var(--umag-ink);
    font-size: 16px;
    font-weight: 700;
}

body.corporate .front-step p {
    margin: 0;
    color: inherit;
    font-size: 12px;
    line-height: 1.35;
}

body.corporate .front-step.pass {
    color: #2f6848;
    background: #edf8f1;
}

body.corporate .front-step.active,
body.corporate .front-step-col.active .front-step {
    color: #4c447d;
    background: var(--umag-violet-soft);
    border-color: rgba(84, 70, 185, 0.25);
}

body.corporate #pasoInformacionPersonal.active,
body.corporate #pasoDae.active,
body.corporate #pasoPagos.active,
body.corporate #pasoDocumentos.active,
body.corporate #pasoComprobante.active {
    box-shadow: none;
}

body.corporate .file-input .file-preview,
body.corporate .modal-content {
    border: 1px solid var(--umag-border);
    border-radius: 10px !important;
    box-shadow: 0 16px 40px rgba(24, 25, 44, 0.16);
}

body.corporate .footer {
    width: 100%;
    margin: 0;
    padding: 30px 16px;
    color: var(--umag-white);
    background: var(--umag-violet);
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    body.corporate .header {
        min-height: 76px;
    }

    body.corporate .header .container {
        display: block;
        min-height: 70px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    body.corporate .header .site-logo {
        padding-top: 3px;
    }

    body.corporate .header .site-logo img {
        width: 150px;
    }

    body.corporate .front-steps-wrapper {
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x proximity;
    }

    body.corporate .front-step-col {
        min-width: 180px;
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    html,
    body.corporate {
        max-width: 100%;
        overflow-x: hidden;
    }

    body.corporate .main {
        width: 100%;
        max-width: 100%;
        padding: 20px 0 32px;
        overflow-x: hidden;
    }

    body.corporate .main > .container {
        width: 100%;
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    body.corporate .main form,
    body.corporate .main .panel,
    body.corporate .main .panel-body {
        max-width: 100%;
    }

    body.corporate .form-horizontal .form-group {
        margin-right: 0;
        margin-left: 0;
    }

    body.corporate select.form-control,
    body.corporate .select2-container,
    body.corporate .select2-container--bootstrap {
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
    }

    body.corporate select.form-control,
    body.corporate .select2-selection__rendered {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.corporate .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        border: 0;
        -webkit-overflow-scrolling: touch;
    }

    body.corporate .well,
    body.corporate .panel-body {
        padding: 20px 16px;
    }

    body.corporate .panel-heading {
        padding: 16px;
    }

    body.corporate .panel-heading h3,
    body.corporate .titulo_servicio,
    body.corporate legend {
        font-size: 19px;
    }

    body.corporate .form-group {
        margin-bottom: 14px;
    }

    body.corporate .form-group > [class*="col-"] {
        margin-bottom: 15px;
    }

    body.corporate .btn-lg,
    body.corporate input[type="submit"].btn {
        width: 100%;
        white-space: normal;
    }

    body.corporate .footer {
        padding: 22px 16px;
        font-size: 16px;
    }

    body.corporate .front-step {
        min-height: 90px;
    }
}

body.corporate #menuServicios .dropdown-submenu > .submenu-list {
    display: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fbfbfd;
}

body.corporate #menuServicios .dropdown-submenu > .submenu-list li > a {
    display: block;
    padding: 11px 24px;
    color: #4f5062;
    border-bottom: 1px solid #ecebf2;
    text-decoration: none;
}

body.corporate #menuServicios .dropdown-submenu.submenu-open > .submenu-list {
    display: block !important;
}

@media (min-width: 1025px) {
    body.corporate .header-navigation > ul,
    body.corporate .header-navigation > ul > #menuServicios,
    body.corporate .header-navigation > ul > .language-menu {
        height: 98px;
    }

    body.corporate .header .header-navigation .language-menu > a,
    body.corporate .header .header-navigation .language-menu > a:hover,
    body.corporate .header .header-navigation .language-menu.open > a,
    body.corporate .header .header-navigation #menuServicios > a,
    body.corporate .header .header-navigation #menuServicios > a:hover,
    body.corporate .header .header-navigation #menuServicios.open > a {
        height: 98px;
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 0 12px;
        border-bottom: 0 !important;
    }

    body.corporate .header-navigation > ul > #menuServicios > .dropdown-menu,
    body.corporate .header-navigation > ul > .language-menu > .dropdown-menu {
        top: 100%;
        margin-top: 0;
        border-top: 0;
        z-index: 10000;
    }

    body.corporate .header-navigation > ul > #menuServicios:hover > a:after,
    body.corporate .header-navigation > ul > .language-menu:hover > a:after {
        display: none !important;
    }

    body.corporate #menuServicios .dropdown-submenu > .submenu-list {
        position: absolute;
        top: 0;
        right: 100%;
        width: 310px;
        max-height: 70vh;
        overflow-y: auto;
        background: var(--umag-white);
        border: 1px solid var(--umag-border);
        border-radius: 8px;
        box-shadow: 0 12px 28px rgba(24, 25, 44, 0.16);
        z-index: 1100;
    }

    body.corporate #menuServicios .dropdown-submenu > .submenu-list li > a {
        padding: 11px 16px;
        background: var(--umag-white);
    }
}

@media (max-width: 1024px) {
    body.corporate .header .header-navigation {
        width: auto;
        max-height: calc(100vh - 88px);
        margin: 14px -15px -14px;
        padding: 0;
        overflow-y: auto;
        background: var(--umag-white) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 14px 24px rgba(24, 25, 44, 0.2);
    }

    body.corporate .header-navigation > ul {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    body.corporate .header-navigation > ul > li {
        margin: 0;
    }

    body.corporate .header-navigation .icono_bandera {
        display: none;
    }

    body.corporate #menuServicios {
        order: 1;
    }

    body.corporate .language-menu {
        order: 2;
        padding: 8px 16px 14px !important;
        background: #f7f7fb;
        border-top: 1px solid var(--umag-border);
    }

    body.corporate .header .header-navigation #menuServicios > a,
    body.corporate .header .header-navigation #menuServicios.open > a,
    body.corporate .header .header-navigation #menuServicios > a:hover {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 16px 18px;
        color: var(--umag-white) !important;
        background: var(--umag-violet) !important;
        border: 0 !important;
        font-size: 16px;
        line-height: 1.3;
    }

    body.corporate #menuServicios > a b {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.corporate .user-menu-icon {
        flex: 0 0 auto;
        font-size: 20px;
    }

    body.corporate .user-menu-caret {
        display: none;
    }

    body.corporate #menuServicios > .dropdown-menu {
        display: block !important;
        position: static;
        width: 100%;
        padding: 8px 0;
        background: var(--umag-white) !important;
        border: 0;
        box-shadow: none;
    }

    body.corporate .header-navigation .dropdown-menu li {
        margin: 0;
    }

    body.corporate .header .header-navigation #menuServicios .dropdown-menu li > a {
        min-height: 44px;
        margin: 0;
        padding: 12px 18px;
        color: #35364b !important;
        background: var(--umag-white) !important;
        border: 0 !important;
        border-bottom: 1px solid #ecebf2 !important;
        font-size: 15px;
        line-height: 1.35;
    }

    body.corporate .header .header-navigation #menuServicios .dropdown-menu li > a:hover,
    body.corporate .header .header-navigation #menuServicios .dropdown-menu li > a:focus {
        color: var(--umag-violet-strong) !important;
        background: var(--umag-violet-soft) !important;
    }

    body.corporate .header .header-navigation #menuServicios .dropdown-submenu > a {
        padding-top: 13px;
        padding-bottom: 13px;
        color: var(--umag-violet-strong) !important;
        background: #f5f3fc !important;
        font-weight: 700;
    }

    body.corporate #menuServicios .dropdown-submenu > .submenu-list {
        display: none !important;
    }

    body.corporate #menuServicios .dropdown-submenu.submenu-open > .submenu-list {
        display: block !important;
    }

    body.corporate .header .header-navigation #menuServicios .dropdown-submenu > .submenu-list li > a {
        padding-left: 36px;
        color: #4f5062 !important;
        background: #fbfbfd !important;
    }

    body.corporate .header-navigation .dropdown-menu li > a > i {
        display: inline-block;
        width: 20px;
        margin-right: 8px;
        color: var(--umag-violet);
        text-align: center;
    }

    body.corporate .header .header-navigation .language-menu > a,
    body.corporate .header .header-navigation .language-menu.open > a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 8px 10px;
        color: #4f5062 !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 14px;
    }

    body.corporate .language-menu > .dropdown-menu {
        padding-left: 8px;
        background: transparent !important;
    }

    body.corporate .header .header-navigation .language-menu .dropdown-menu li > a {
        margin: 0;
        padding: 9px 12px;
        color: #35364b !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 14px;
    }
}
