﻿* {
    background: none
}

body {
    background-color: #323844;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


form {
    background-color: #3E4551 !important;
}


.required-asterisk {
    color: red;
    margin: 0 5px;
}

.ui-datepicker table,
.ui-datepicker .ui-datepicker-title,
.ui-datepicker .ui-datepicker-header {
    background-color: #242a30;
    color: white;
    border-color: #242a30;
}

.ui-state-default, .ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    background: #242a30;
    border-color: #242a30;
    color: white;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #ee810A !important;
    background: #ee810A !important;
    color: white !important;
}

.ui-datepicker {
    border: 2px solid #242a30;
    border-radius: 8px; /* Opcional: bordes redondeados */
}

    .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
        font-size: 25px !important;
        color: white;
    }

.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
    background-color: #242a30;
}

.required-asterisk {
    color: red;
    margin-left: 4px;
}

p {
    color: white;
}

.mensaje-error-container {
    margin-top: 5px;
}

.mensaje-error-dui {
    color: white;
    font-size: 14px;
}

form {
    background: rgba(36, 42, 48, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Estilo de los campos */
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #074780;
    background: #242a30;
    color: white;
    border-radius: 5px;
}
/* Pasos del formulario */
ul[role="tablist"] {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
}

    ul[role="tablist"] li {
        flex: 1;
        text-align: center;
        padding: 10px;
        border-bottom: 3px solid transparent;
        color: #ee810A;
        font-weight: bold;
    }

        ul[role="tablist"] li.done {
            background: #2055854a;
            color: white;
        }

        ul[role="tablist"] li.current {
            border-bottom: 3px solid #ee810A;
        }
/* Botones */
button {
    background-color: #ee810A;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    button:hover {
        background-color: #d46f09;
    }

.container {
    margin-top: 50px;
    max-width: 960px;
    border-radius: 10px;
    box-shadow: 0 0 10px #0000001a
}

.wizard > .actions {
    text-align: center !important;
    padding-top: 20px;
    
}

    .wizard > .actions a {
        color: #fff !important;
        padding: 10px 20px;
        border-radius: 5px;
        margin: 5px;
        display: inline-block;
        text-align: center
    }

.wizard > .content {
    min-height: 250px;
    overflow: visible !important;
}

.wizard > .steps {
    list-style: none !important;
    padding-left: 0 !important
}

    .wizard > .steps ul {
        background-color: #3E4551 !important;
        display: flex;
        justify-content: space-between;
        padding: 0;
        border-bottom: 0px solid #ddd;
        margin-bottom: 20px;
        column-gap: .2rem
    }

    .wizard > .steps li {
        list-style: none;
        flex-grow: 1;
        text-align: center;
        font-weight: 700;
        padding: 10px 15px;
        border-radius: 5px;
        color: #6c757d;
        position: relative
    }

        .wizard > .steps li::before {
            display: none !important
        }

        .wizard > .steps li.current {
            font-weight: 700;
        }

.wizard > .actions ul {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none
}

.wizard > .actions li {
    margin: 0 10px
}

.wizard > .actions a {
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    text-align: center
}

li.disabled a {
    color: #888 !important;
    pointer-events: none;
    text-decoration: none;
    font-weight: 400
}

    li.disabled a.btn {
        opacity: 30.8%;
    }

a.btn.btn-primary:hover {
    border: 1px solid #ee8109;
}

/* Paso actual */
h3.current {
    color: #ee810A;
    font-weight: bold;
    text-transform: normal;
    border-left: 5px solid #ee810A;
    padding-left: 10px;
    transition: all 0.3s ease-in-out;
}

/* Pasos inactivos */
h3:not(.current) {
    background: rgba(255, 255, 255, 0.05); /* Fondo sutil para diferenciarlos */
    padding: 8px;
    border-radius: 5px;
    color: #ccc; /* Color más tenue */
    font-weight: 500;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Sombra ligera */
    transition: all 0.3s ease;
}

    /* Efecto hover en pasos disponibles */
    h3:not(.current):hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        cursor: pointer;
    }

ul[role="tablist"] {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
    flex-wrap: wrap
}

    ul[role="tablist"] li {
        flex: 1;
        text-align: center;
        padding: 10px;
        font-weight: 700;
        border-radius: 5px;
        margin: 5px
    }

li.done a {
    font-weight: 400;
    text-decoration: none
}

li.current a {
    text-decoration: none;
    font-weight: 400;
    color: #fff
}

ul[role="tablist"] li.current {
    color: #fff;
}



h3.current {
    color: #ee810A; /* Color naranja para destacar */
    font-weight: bold;
    border-left: 5px solid #ee810A;
    padding-left: 10px;
    transition: all 0.3s ease-in-out;
}

section.current {
    padding: 2rem;
    border-radius: 6px;
    margin-bottom: 120px
}

i.current a {
    color: #fff;
    text-decoration: none !important;
    font-weight: 400 !important;
    text-transform: uppercase !important
}

li.first.current a {
    color: #fff;
    text-decoration: none;
    font-weight: 400
}

li.done {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center
}

/* Estilizar los botones de navegación dentro del menú */
ul[role="menu"] {
    display: flex;
    justify-content: center; /* Centrar los botones */
    gap: 10px; /* Separación entre botones */
    padding: 0;
    list-style: none;
}

    /* Estilo base de los botones */
    ul[role="menu"] li a {
        display: inline-block;
        padding: 12px 20px;
        background-color: #ee810A; /* Naranja de la marca */
        color: white;
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        transition: background 0.3s ease;
        border: 1px solid #ee810A;
    }

    /* Hover en botones activos */
    ul[role="menu"] li:not(.disabled) a:hover {
        background-color: #d46f09;
    }

    /* Deshabilitar botones inactivos */
    ul[role="menu"] li.disabled a {
        background-color: rgba(255, 255, 255, 0.2);
        color: #999;
        cursor: not-allowed;
        pointer-events: none;
    }

/* Contenedor del tablist */
ul[role="tablist"] {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    background: #242a30;
    border-radius: 8px;
    overflow: hidden;
}

    /* Estilos generales de los tabs */
    ul[role="tablist"] li {
        flex: 1;
        text-align: center;
        padding: 15px;
        position: relative;
        transition: all 0.3s ease;
    }

        /* Paso actual */
        ul[role="tablist"] li.current {
            background: #ee810A;
            color: white;
            font-weight: bold;
        }

        /* Pasos completados */
        ul[role="tablist"] li.done {
            background: #074780;
            color: white;
        }

        /* Números dentro de los tabs */
        ul[role="tablist"] li .number {
            font-weight: bold;
            margin-right: 5px;
        }

        /* Agregar un check a los pasos completados */
        ul[role="tablist"] li.done::after {
            content: "✔";
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
        }

        /* Hover en tabs no activos */
        ul[role="tablist"] li:not(.current):hover {
            background: rgba(255, 255, 255, 0.1);
            cursor: pointer;
        }

        ul[role="tablist"] li.done {
            background: #2055854a;
            color: white;
        }


h3, .number {
    display: none;
}

.custom-file-button input[type=file] {
    margin-left: -2px !important;
    margin-top: 0px !important;
}

    .custom-file-button input[type=file]::-webkit-file-upload-button {
        display: none;
    }

    .custom-file-button input[type=file]::file-selector-button {
        display: none;
    }

.custom-file-button:hover label {
    background-color: #dde0e3;
    cursor: pointer;
}

.section {
    position: relative;
    z-index: 1;
}

.actions {
    position: static !important;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #34383d;
    padding: 10px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    
    z-index: 1000;
}

    .actions a {
        margin-right: 10px;
    }

.btn-flat a{
    text-decoration: none !important;
    color: white !important;
}

.mud-text-btn {
    color: white !important;
}


@@media (max-width: 768px) {
    ul [role="tablist"] li {
        flex: 100%;
        margin: 5px 0
    }
}

@@media (max-width: 576px) {
    ul[role="tablist"] li {
        font-size: 14px;
        padding: 8px
    }
}

.containers {
    margin-top: 50px;
    max-width: 600px;
    border-radius: 10px;
}

i.current a {
    color: #fff;
    text-decoration: none !important;
    font-weight: 400 !important;
    text-transform: uppercase !important
}

li.first.current a {
    color: #fff;
    text-decoration: none;
    font-weight: 400
}

li.done {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center
}

img {
    height: 117px;
    margin-bottom: 50px;
    margin-top: 80px;
    margin: 0px auto;
    display: block;
}

.footer-text {
    font-size: 14px;
    color: #C1C4C8 !important;
    text-align: center;
}

img {
    height: 77px;
    width: 97px;
    margin-bottom: 20px;
    vertical-align: central;
    align-content: center;
    object-fit: contain;
}

.footer-text {
    padding: 0px !important;
    margin: 0px !important;
}


.btn.ssfBoton {
    background: #ee810A !important;
    border-color: #ee810A !important;
    color: white !important;
    font-weight: bold;
}

.alineacionDerecha {
    display: flex;
    justify-content: flex-end;
    gap: 10px; 
}

@media print {
    #btnPrintDownload {
        display: none !important;
    }
    #footer-pdf {
        display: none !important;
    }
}

.seccion-preguntas {
    display: block !important;
}

.requisitos {
    background-color: #3E4551 !important;
    border-color: #3E4551 !important;
    padding: 20px;
    margin-left: 12px;
}

.btn-preguntas-frecuentes {
    width: 100%;
    border-radius: 16px;
    margin-top: 20px;
    margin-left: 12px;
    margin-bottom: 20px; /* ← Espacio inferior */

    background-color: #2F3540 !important;
    border-color: #2F3540 !important;
    /* Efecto resaltado inferior */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.25);
    /* Para que el botón se vea un poco más “alto” visualmente */
    padding-bottom: 12px;
}


a:hover{
    color: white !important;
}


:root {
    --primary: #2f6dcf;
    --primary-light: #2f6dcf22;
    --success: #17181b69;
    --error: #ef4444;
    --text-main: #f1f5fa;
    --text-sub: #b6c2d1;
    --bg-body: #323844;
    --accent-color: #2f6dcf;
    --card-bg: #23262e;
    --input-bg: #23262e;
    --border-color: #444a58;
    --shadow: 0 10px 25px rgba(0,0,0,0.15);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.docx-form-container {
    background: #3E4551; /* var(--card-bg);*/
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    max-width: 900px;
    width: 100%;
}

/* Banner de Validación */
.validation-banner {
    display: flex;
    align-items: center;
    background: #23262e;
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    color: var(--text-sub);
    font-size: 14px;
    transition: all 0.3s ease;
}

    .validation-banner strong {
        color: var(--text-main);
        margin: 0 5px;
    }

.banner-icon {
    color: var(--primary);
    margin-right: 12px;
    display: flex;
}

.validation-banner.error {
    background: #3a2323;
    border-left-color: var(--error);
    color: #ffb4b4;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

/* Títulos de sección */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 30px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title::after {
        content: "";
        height: 1px;
        background: #444a58;
        flex-grow: 1;
    }

/* Grid de Carga */
.docx-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.upload-card {
    position: relative;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    background: var(--input-bg);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    height: 100%;
    box-sizing: border-box;
}

    .upload-label:hover {
        border-color: var(--primary);
        background: #2f6dcf22;
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(47, 109, 207, 0.15);
    }

.upload-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.upload-label:hover .upload-icon {
    transform: scale(1.1) rotate(-8deg);
    background: var(--primary);
    color: white;
}

.main-text {
    display: block;
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
    margin-bottom: 4px;
}

.sub-text {
    display: block;
    color: var(--text-sub);
    font-size: 11px;
}

.file-name-badge {
    margin-top: 15px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    background: #23262e;
    padding: 4px 12px;
    border-radius: 20px;
    display: none; /* Se activa con JS */
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid var(--primary-light);
}

/* Animación Shake */
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

@media (max-width: 600px) {
    .docx-upload-grid {
        grid-template-columns: 1fr;
    }

    .docx-form-container {
        padding: 20px;
    }
}
