:root {
    --primary-color: #3498db;
    --primary-light: #4895ef;
    --secondary-color: #2c3e50;
    --success-color: #2ecc71;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-color: #dee2e6;
    --gray: #6c757d;
}

html {
    font-size: 16px !important;
}

.d-flex {
    display: flex !important;
}


.row.match-height {
    display: flex;
    flex-wrap: wrap;
}

    .row.match-height > [class*=col] {
        display: flex;
        flex-direction: column;
    }

    .row.match-height > [class*=col] {
        display: flex;
        flex-direction: column;
        text-decoration: none;
    }

        .row.match-height > [class*=col] > .card-box {
            flex: 1; /* Hace que la tarjeta ocupe todo el alto del enlace */
            display: flex;
            flex-direction: column;
        }

        .row.match-height > [class*=col] > a {
            display: flex;
            flex-direction: column;
            flex: 1; /* Hace que el enlace ocupe todo el alto de la columna */
            text-decoration: none;
        }

            .row.match-height > [class*=col] > a > .card-box {
                flex: 1; /* Hace que la tarjeta ocupe todo el alto del enlace */
                display: flex;
                flex-direction: column;
                justify-content: center; /* Centra el contenido verticalmente */
            }

.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

.align-items-center {
    align-items: center !important;
}

.table-colored.table-gray thead th {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.border-gray-1 {
    border: 1px solid #eee !important;
}

.grid-structure .grid-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.background-gray {
    background-color: var(--light-color);
    border-radius: .2rem;
    padding: 15px;
    /*margin: 20px 0;*/
    border: 1px solid #e1e5eb;
}
.color-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    /*border-left: 4px solid #3498db;*/
}

.color-info-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.color-list {
    list-style: none;
    padding: 0px;
}

    .color-list li {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.color-indicator {
    min-width: 15px;
    min-height: 15px;
    border-radius: 50%;
}

.confirmation-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

    .stat-item.bg-success {
        background-color: rgba(50, 200, 97, 0.3) !important;
        color: #32c861;
    }

    .stat-item.bg-danger {
        background-color: rgba(249, 106, 116, 0.3) !important;
        color: #f96a74;
    }
    .stat-item.bg-warning {
        background-color: rgba(255, 169, 28, 0.3) !important;
        color: #ffa91c;
    }
    .stat-item.bg-primary {
        background-color: rgba(68, 137, 228, 0.3) !important;
        color: #4489e4;
    }
    .stat-item.bg-info {
        background-color: rgba(52, 211, 235, 0.3) !important;
        color: #34d3eb;
    }

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    font-size: 0.8rem;
    color: #7f8c8d;
}


.label-gray {
    background-color: #f8f9fa;
}

.info-grid {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    gap: 15px;
}

/* Forzar columnas fijas */
.grid-1 {
    grid-template-columns: repeat(1, 1fr) !important;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.grid-6 {
    grid-template-columns: repeat(6, 1fr) !important;
}

.grid-responsive {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

.info-value {
    color: #555;
}

.sale-folio {
    font-family: monospace;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #2c3e50;
}

.full-width {
    grid-column: 1 / -1; /* se extiende de la primera a la última columna */
}

.guest-list {
    margin-top: 25px;
}

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fafafa;
}

.guest-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guest-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.guest-details {
    flex: 1;
}

.guest-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.guest-type {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.guest-actions {
    display: flex;
    gap: 10px;
}

.date-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.date-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.date-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.date-value {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.payment-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    border-top: 2px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}

.ticket-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: monospace;
}

.ticket-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.ticket-total {
    border-top: 1px dashed #ccc;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.date-selection {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}
.date-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.date-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}
.date-value {
    font-size: 1.1rem;
    color: #7f8c8d;
}


/*CSS PARA FILE ICON Y MANUALES*/
.manuals-container {
    /*max-width: 1000px;*/
    margin: 0 auto;
    /*background: white;*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);*/
    padding: 25px;
}

.page-header {
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
    margin-top: 0;
    color: #2c3e50;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

    .page-header .btn {
        margin-top: 10px;
    }

.module-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.module-title {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #3498db;
}

.manual-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .manual-item {
        flex-direction: row;
        align-items: center;
    }
}

.manual-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.manual-icon {
    font-size: 28px;
    margin-right: 15px;
    width: 40px;
    text-align: center;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .manual-icon {
        margin-bottom: 0;
    }
}

.pdf-icon {
    color: #e74c3c;
}

.word-icon {
    color: #3498db;
}

.manual-info {
    flex-grow: 1;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .manual-info {
        margin-bottom: 0;
    }
}

.manual-name {
    font-weight: 500;
    margin-bottom: 3px;
    color: #2c3e50;
    word-break: break-word;
}

.manual-details {
    font-size: 12px;
    color: #7f8c8d;
}

.manual-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.btn-action {
    padding: 6px 8px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s;
    margin: 2px;
    white-space: nowrap;
}

    .btn-action i {
        margin-right: 3px;
    }

.upload-area {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    position: relative;
}

    .upload-area:hover {
        background-color: #edf7fd;
        border-color: #2c3e50;
    }

    .upload-area.dragover {
        background-color: #edf7fd;
        border-color: #2c3e50;
    }

.upload-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 15px;
}

.file-list {
    margin-top: 25px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 4px solid #3498db;
}

.file-icon {
    margin-right: 10px;
    color: #3498db;
}

.file-name {
    flex-grow: 1;
}

.file-actions .btn {
    padding: 3px 8px;
    margin-left: 5px;
}

.file-requirements {
    background-color: #e8f4fc;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
    font-size: 13px;
}

    .file-requirements ul {
        padding-left: 20px;
        margin-bottom: 0;
    }

.file-size {
    color: #7f8c8d;
    font-size: 12px;
    margin-left: 10px;
}

.upload-status {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

    .file-input-wrapper input[type=file] {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        cursor: pointer;
        width: 100%;
        height: 100%;
    }

.empty-section {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-style: italic;
}

.manual-date {
    margin-right: 10px;
}

.manual-size {
    background-color: #f3f3f3;
    padding: 2px 6px;
    border-radius: 3px;
}

.search-box {
    margin-bottom: 20px;
    position: relative;
}

    .search-box .form-control {
        padding-left: 35px;
    }

.search-icon {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #7f8c8d;
}

/*FIN DE SECCION*/


.img-thumbnail-success {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #dcf6e8 !important;
    color: #3acc7c !important;
    border: 1px solid #dcf6e8 !important;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.img-thumbnail-warning {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #ffefe1 !important;
    color: #ffa450 !important;
    border: 1px solid #ffefe1 !important;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.thumb-xxl {
    height: 200px;
    width: 200px;
}

.text-end {
    text-align: right !important;
}

.text-h4 {
    color: rgba(47,43,61);
    font-weight: 500;
    line-height: 1.375rem;
    font-family: "Public Sans", sans-serif, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1.5rem !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.text-body-1 {
    color: rgba(47,43,61, 0.7);
    font-weight: 400;
    line-height: 1.375rem;
    font-family: "Public Sans", sans-serif, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 0.9375rem !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.border-0 {
    border-width: 0 !important;
}

.iniciales-user-sm {
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: slategray;
    color: #fff;
    font-size: xx-large;
    text-align: center;
    overflow: hidden;
}

    .iniciales-user-sm span {
        display: inline-block;
        max-width: 100%;
        font-size: x-small;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        font-weight: bold;
        transform: scale(1);
        transform-origin: center;
        transition: transform 0.2s ease-in-out;
    }

.iniciales-user {
    height: 120px;
    width: 120px;
    display: flex;
    align-items: center;
    background-color: slategray;
    color: #fff;
    justify-content: center;
    font-size: xx-large;
    text-align: center;
    overflow: hidden;
}

.iniciales-user-xl {
    height: 200px;
    width: 200px;
    display: flex;
    align-items: center;
    background-color: slategray;
    color: #fff;
    justify-content: center;
    font-size: 4rem;
    text-align: center;
    overflow: hidden;
}

.iniciales-user span {
    display: inline-block;
    max-width: 100%;
    font-size: x-large;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    font-weight: bold;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.2s ease-in-out;
}

.progress-section {
    margin-top: 12px;
    font-size: 13px;
}

.progress-bar-bg {
    background-color: #eee;
    height: 6px;
    border-radius: 5px;
    margin: 6px 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #7b5de3;
    width: 0%;
    transition: width 0.4s ease;
}

.price {
    font-size: 32px;
    color: #7b5de3;
    font-weight: bold;
}

.month {
    color: #888;
    font-size: 14px;
    font-weight: bold;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e3e3e3;
}

    .detail-item:last-child {
        border-bottom: none;
    }

.p-3 {
    padding: 1rem !important;
}

#Background {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #F0F0F0;
    filter: alpha(opacity=80);
    opacity: 0.8;
    z-index: 100000;
}

.GridPager a, .GridPager span {
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 5px !important;
    display: inline-block;
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    border: 1px solid #ddd;
}

.GridPager a {
    color: #313a46;
    text-decoration: none;
    background-color: #fff;
}

.GridPager span {
    background-color: #64c5b1;
    color: #fff;
    border-color: #64c5b1;
}

.GridPager a:hover {
    background-color: #e2e2e2;
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

#ProgressS {
    position: fixed;
    top: 40%;
    left: 35%;
    height: 12%;
    width: 30%;
    z-index: 100001;
    background-color: #FFFFFF;
    border-radius: 8px;
}

.buttons {
    text-align: center;
    margin-right: 20px;
}

    .buttons ul {
        margin: 0;
        padding: 0;
    }

        .buttons ul li {
            display: inline-block;
            text-align: center;
            margin-left: 30px;
        }

            .buttons ul li input {
                width: 48px;
                height: auto;
            }



.paginationControls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .paginationControls a, .paginationControls span a {
        text-align: center;
        text-decoration: none;
        display: inline-block;
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        border: 1px solid #ddd;
    }

    .paginationControls a, .paginationControls span a {
        color: #313a46;
        text-decoration: none;
        background-color: #fff;
    }

        .paginationControls span a.active {
            background-color: #64c5b1;
            color: #fff;
            border-color: #64c5b1;
        }

.form-switch-md {
    padding-left: 2.5rem;
    min-height: 24px;
    line-height: 24px;
}

.form-check, .form-check-input input[type="checkbox"], .form-check-label {
    cursor: pointer;
    margin-bottom: 0;
}

.form-check {
    position: relative;
    text-align: left;
}

.form-switch {
    padding-left: 2.5em;
}

.form-check {
    display: block;
    min-height: 1.21875rem;
    padding-left: 1.5em;
    margin-bottom: .125rem;
}

.form-switch .form-check-input input[type="checkbox"]:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}


.form-switch .form-check-input input[type="checkbox"] {
    width: 2em;
    margin-left: -2.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2em;
    -webkit-transition: background-position .15s ease-in-out;
    transition: background-position .15s ease-in-out
}

.form-switch-md .form-check-input input[type="checkbox"] {
    width: 40px;
    height: 20px;
    left: -.5rem;
    position: relative;
}

.form-check-input input[type="checkbox"]:checked {
    background-color: #556ee6;
    border-color: #556ee6;
}

.form-check .form-check-input input[type="checkbox"] {
    float: left;
    margin-left: -1.5em;
}

.form-check, .form-check-input input[type="checkbox"], .form-check-label {
    cursor: pointer;
    margin-bottom: 0;
}


.form-check-input input[type="checkbox"] {
    width: 1em;
    height: 1em;
    margin-top: 0px;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    -webkit-transition: background-color .15s ease-in-out, background-position .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, background-position .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, background-position .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, background-position .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}
/* Estilo para labels con la clase required */
label.required::after {
    content: '*';
    color: red;
    margin-left: 5px; /* Espacio entre el texto y el asterisco */
}
/*validaciones*/

.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip,
.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip {
    display: block;
}

/* Estilo para el input con Select2 */
.select2-container.is-invalid .select2-selection--single {
    border: none; /*Elimina el borde predeterminado */
    padding-right: calc(1.5em + 0.94rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f46a6a'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f46a6a' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.235rem) center;
    background-size: calc(0.75em + 0.47rem) calc(0.75em + 0.47rem);
}

    .select2-container.is-invalid .select2-selection--single::before {
        content: ''; /* Agrega un contenido vacío para el pseudo-elemento */
        position: absolute; /* Posición absoluta con respecto al contenedor principal */
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border: 1px solid #f46a6a; /* Establece el borde */
        border-radius: 4px; /* Establece el radio de borde */
        pointer-events: none; /* No permite interacciones con el pseudo-elemento */
    }

    .select2-container.is-invalid .select2-selection--single:focus::before {
        border-color: #f46a6a; /* Color de borde al estar enfocado */
        -webkit-box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25);
        box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25);
    }


.select2-container.is-valid .select2-selection--single {
    padding-right: calc(1.5em + 0.94rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2334c38f' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.235rem) center;
    background-size: calc(0.75em + 0.47rem) calc(0.75em + 0.47rem);
}

    .select2-container.is-valid .select2-selection--single::before {
        content: ''; /* Agrega un contenido vacío para el pseudo-elemento */
        position: absolute; /* Posición absoluta con respecto al contenedor principal */
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border: 1px solid #34c38f; /* Establece el borde */
        border-radius: 4px; /* Establece el radio de borde */
        pointer-events: none; /* No permite interacciones con el pseudo-elemento */
    }

    .select2-container.is-valid .select2-selection--single:focus::before {
        /*border-color: #34c38f;*/ /* Color de borde al estar enfocado */
        -webkit-box-shadow: 0 0 0 0.15rem rgba(52, 195, 143, 0.25);
        box-shadow: 0 0 0 0.15rem rgba(52, 195, 143, 0.25);
    }
/**/



.form-control.is-invalid {
    border-color: #f46a6a;
    padding-right: calc(1.5em + 0.94rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f46a6a'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f46a6a' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.235rem) center;
    background-size: calc(0.75em + 0.47rem) calc(0.75em + 0.47rem);
}

    .form-control.is-invalid:focus {
        border-color: #f46a6a;
        -webkit-box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25);
        box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25);
    }

textarea.form-control.is-invalid {
    padding-right: calc(1.5em + 0.94rem);
    background-position: top calc(0.375em + 0.235rem) right calc(0.375em + 0.235rem);
}

.form-select.is-invalid {
    border-color: #f46a6a;
}

    .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] {
        padding-right: calc(0.75em + 3.205rem);
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f46a6a'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f46a6a' stroke='none'/%3e%3c/svg%3e");
        background-position: right 0.75rem center, center right 2.5rem;
        background-size: 16px 12px, calc(0.75em + 0.47rem) calc(0.75em + 0.47rem);
    }

    .form-select.is-invalid:focus {
        border-color: #f46a6a;
        -webkit-box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25);
        box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25);
    }

.form-check-input.is-invalid {
    border-color: #f46a6a;
}

    .form-check-input.is-invalid:checked {
        background-color: #f46a6a;
    }

    .form-check-input.is-invalid:focus {
        -webkit-box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25);
        box-shadow: 0 0 0 0.15rem rgba(244, 106, 106, 0.25);
    }

    .form-check-input.is-invalid ~ .form-check-label {
        color: #f46a6a;
    }

.form-check-inline .form-check-input ~ .invalid-feedback {
    margin-left: .5em;
}

.input-group .form-control.is-invalid,
.input-group .form-select.is-invalid {
    z-index: 2;
}

    .input-group .form-control.is-invalid:focus,
    .input-group .form-select.is-invalid:focus {
        z-index: 3;
    }

.form-control.is-valid {
    border-color: #34c38f;
    padding-right: calc(1.5em + .94rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2334c38f' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .235rem) center;
    background-size: calc(.75em + .47rem) calc(.75em + .47rem);
}
/*end validaciones*/

/*WIZARD*/

.wizard-container {
    /* background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: 20px;*/
    transition: all 0.3s ease;
}

/*.wizard-container:hover {
        box-shadow: 0 12px 30px rgba(0,0,0,.12);
    }*/

.wizard-vertical .wizard-steps {
    border-right: 1px solid #eee;
    padding-right: 15px;
}

.wizard-step {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
}

.step-title {
    font-weight: 600;
}

.step-desc {
    font-size: 12px;
    color: #888;
}

.wizard-step:hover {
    background: #f5f5f5;
}

.wizard-step-index {
    min-width: 30px;
    min-height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    margin-right: 10px;
    font-weight: 600;
    color: #777;
    transition: all 0.3s ease;
}

.wizard-step.active {
    background-color: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

    .wizard-step.active .wizard-step-index {
        border-color: var(--primary-color);
        background-color: var(--primary-color);
        color: #fff;
    }

.wizard-step.completed .wizard-step-index {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #fff;
}

.wizard-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-pane.active {
    display: block;
}

.wizard-progress {
    height: 6px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 0 16px;
}

    .wizard-progress > div {
        height: 100%;
        width: 0%;
        background: #007bff;
        transition: width .5s;
    }

/* Versión horizontal */
.wizard-horizontal .wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.wizard-horizontal .wizard-step.active {
    background: rgb(234 244 251);
    border-color: rgba(52, 152, 219, 0.3);
}

.wizard-horizontal .wizard-step {
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 20px 15px;
    flex: 1;
    margin: 0 5px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

    .wizard-horizontal .wizard-step:first-child {
        margin-left: 0;
    }

    .wizard-horizontal .wizard-step:last-child {
        margin-right: 0;
    }

.wizard-horizontal .wizard-step-index {
    margin: 0 auto 10px;
}

.wizard-horizontal .wizard-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #eee;
    z-index: 1;
}

.wizard-horizontal .wizard-progress {
    /* position: absolute;
    top: 40%;
    left: 0;
    height: 4px;
    z-index: 1;
    margin: 0;*/
}

/*.wizard-horizontal .wizard-step .step-desc {
    display: none;
}*/

.wizard-horizontal .wizard-step.active .step-desc {
    display: block;
}

.wizard-toggle {
    margin-bottom: 30px;
    text-align: center;
}

.wizard-toggle-btn {
    padding: 12px 25px;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

    .wizard-toggle-btn.active {
        background: var(--primary-color);
        color: white;
    }

    .wizard-toggle-btn:first-child {
        border-right: none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .wizard-toggle-btn:last-child {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Responsive para wizard horizontal */
@media (max-width: 768px) {
    .wizard-horizontal .wizard-steps {
        flex-direction: column;
        align-items: flex-start;
    }

        .wizard-horizontal .wizard-steps::before {
            top: 0;
            bottom: 0;
            left: 50%;
            right: auto;
            width: 4px;
            height: auto;
            transform: none;
            background: #eee;
        }

    .wizard-horizontal .wizard-step:last-child {
        margin-bottom: 0;
    }

    .wizard-horizontal .wizard-progress {
        display: none;
    }

    .wizard-horizontal .wizard-step {
        flex: 0 0 100%;
        margin: 0 0 10px 0;
        text-align: left;
        flex-direction: row;
        min-width: 100%;
        transform: translateX(0);
    }

    .wizard-horizontal .wizard-step-index {
        margin: 0 10px 0 0;
        margin-bottom: 0;
    }
}

@media screen and (max-width:1024px) {
    .buttons {
        text-align: center;
        margin-right: -15px;
    }

        .buttons ul {
            text-align: center;
        }

            .buttons ul li {
                text-align: center;
                margin: 0;
                padding: 0;
                margin-left: -3px;
            }

                .buttons ul li input {
                    width: 50%;
                    height: 50%;
                }
}

/*@media screen and (max-width:767px) 
{
    
        width:50%;
        height:50%;
 
}*/
