/***********************************************************************************************************************/
/* CIGED 2026 - Formulario de Pre-registro - Estilo Moderno                                                              */
/***********************************************************************************************************************/

/* --- 1. Variables y Reset --- */
:root {
    --primary-color: #0A2540;
    --accent-color: #E63946;
    --accent-hover: #c02e3a;
    --background-color: #ffffff;
    --surface-color: #FFFFFF;
    --text-color: #212529;
    --text-muted-color: #6C757D;
    --border-color: #DEE2E6;
    --shadow-color: rgba(10, 37, 64, 0.08);
    --shadow-color-hover: rgba(10, 37, 64, 0.15);
    --success-color: #2ECC71;
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(230, 57, 70, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(10, 37, 64, 0.05) 0%, transparent 40%);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    /* height: 100vh; */
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* --- 2. Header Hero --- */
.form-hero {
    text-align: center;
    padding: 1rem;
}

.form-hero__badge {
    display: inline-block;
    background: #122A3B;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.TituloPrincipal {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.form-hero__subtitle {
    font-size: 1rem;
    color: var(--text-muted-color);
    margin: 0 0 0.5rem;
}

.form-hero__note {
    font-size: 0.85rem;
    color: var(--text-muted-color);
    margin: 0;
}

.form-hero__note b {
    color: var(--accent-color);
}

/* --- 3. Barra de Progreso --- */
.progress-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 246, 249, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-radius: 12px;
}

#progressbar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px;
    counter-reset: step;
    text-align: center;
    position: relative;
}

#progressbar li {
    position: relative;
    flex: 1;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

#progressbar li .step-icon {
    display: block;
    width: 36px;
    height: 36px;
    line-height: 34px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted-color);
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto 8px auto;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

#progressbar li .step-label {
    display: block;
    transition: color 0.3s ease;
}

#progressbar li::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    top: 17px;
    left: -50%;
    z-index: 1;
    transition: background 0.3s ease;
}

#progressbar li:first-child::after {
    content: none;
}

#progressbar li.active {
    color: var(--primary-color);
}

#progressbar li.active .step-icon {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
}

#progressbar li.done .step-icon {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

#progressbar li.done::after,
#progressbar li.active::after {
    background: var(--accent-color);
}

/* --- 4. Estructura de Pasos --- */
.steps {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.steps fieldset {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 2.5rem;
    border-top: 4px solid var(--accent-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    display: none;
    transition: box-shadow 0.3s ease;
}

.steps fieldset:first-of-type {
    display: block;
    opacity: 1;
    position: relative;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* --- 5. Títulos de Sección --- */
.fs-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fs-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted-color);
    text-align: center;
    margin: 0;
    font-weight: 400;
}

/* --- 6. Filas y Campos --- */
.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row--2 {
    grid-template-columns: 1fr 1fr;
}

.form-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.hs-form-field {
    margin-bottom: 1rem;
}

.steps label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    text-align: left;
}

.steps input:not([type="checkbox"]):not([type="radio"]):not(.switch-input),
.steps textarea,
.steps select {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.steps select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.steps input:focus,
.steps textarea:focus,
.steps select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
    background-color: #fff;
}

.steps input.is-invalid,
.steps select.is-invalid,
.steps textarea.is-invalid {
    border-color: var(--accent-color);
    background-color: #fff5f5;
}

.steps textarea {
    resize: vertical;
    min-height: 90px;
}

/* --- 7. Botones de Acción --- */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    clear: both;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-family);
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
}

.steps .next,
.steps .submit {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.25);
}

.steps .next:hover,
.steps .submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
}

.steps .previous {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
    margin-left: auto;
    margin-right: auto;
}

.steps .previous:hover {
    background-color: #f1f1f1;
    border-color: #ccc;
    transform: translateY(-2px);
}

/* Reordenar: previous a la izquierda, next a la derecha */
.form-actions .previous {
    order: 1;
    margin-right: auto;
    margin-left: 0;
}

.form-actions .next,
.form-actions .submit,
.form-actions .action-button--confirm {
    order: 2;
    margin-left: auto;
}

.action-button--confirm {
    background-color: var(--success-color) !important;
    border-color: var(--success-color) !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3) !important;
    color: white !important;
    padding-inline: 2rem !important;
    text-decoration: none !important;
}

.action-button--confirm:hover {
    background-color: #27ae60 !important;
}

/* --- 8. Errores --- */
.error1 {
    display: block;
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    padding-left: 0.2rem;
    font-weight: 500;
}

.error1 i,
.error1::before {
    display: none;
}

/* --- 9. Switch (Toggle Pagar/Después) --- */
.pay-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #eef1f5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.pay-toggle__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pay-toggle__label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

.pay-toggle__hint {
    font-size: 0.8rem;
    color: var(--text-muted-color);
}

/* Contenedor del control (texto + switch) */
.pay-toggle__control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Texto de estado ("Después" / "Pagar") */
.pay-toggle__status {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted-color);
    transition: color 0.3s ease;
    min-width: 70px;
    text-align: right;
}

/* Cuando el switch está activo, el texto cambia de color */
.switch-input:checked ~ .pay-toggle__status,
.pay-toggle__control:has(.switch-input:checked) .pay-toggle__status {
    color: var(--accent-color);
}

/* Contenedor del switch (solo la pastilla) */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
    flex-shrink: 0;
}

.switch-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* Fondo del switch */
.switch-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c4c9ce;
    transition: background-color 0.3s ease;
    border-radius: 32px;
}

/* Bolita deslizante */
.switch-handle {
    position: absolute;
    height: 24px;
    width: 24px;
    left: 4px;
    top: 4px;
    background-color: white;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 2;
}

/* Estado ON: fondo rojo + bolita a la derecha */
.switch-input:checked ~ .switch-label {
    background-color: var(--accent-color);
}

.switch-input:checked ~ .switch-handle {
    left: calc(100% - 28px);
}
/* --- 10. Badge de Precio --- */
.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #1e4d7b);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    margin: 0.75rem auto 1rem;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
}

.price-badge b {
    color: #ffd166;
    font-size: 1.1rem;
}

/* --- 11. Métodos de Pago --- */
.payment-methods {
    display: none;
    gap: 1rem;
    margin: 1.5rem 0;
}

.payment-methods label.btn {
    flex: 1;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    font-weight: 600;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-methods input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-methods label.btn:hover {
    border-color: var(--accent-color);
    background-color: rgba(230, 57, 70, 0.03);
}

.payment-methods label.btn:has(input:checked) {
    border-color: var(--accent-color);
    background-color: rgba(230, 57, 70, 0.08);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.payment-methods label.btn:has(input:checked)::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 12px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

/* --- 12. Info de Pago --- */
.payment-info {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 1rem 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-info h4 {
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-info li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.9rem;
}

.payment-info li:last-child {
    border-bottom: none;
}

.payment-info li span:first-child {
    color: var(--text-muted-color);
}

.payment-info li b,
.payment-info li span[data-role] {
    color: var(--primary-color);
    font-weight: 700;
}

/* --- 13. Formulario de Pago --- */
.payment-form {
    animation: slideDown 0.3s ease;
}

.payment-notice {
    animation: slideDown 0.3s ease;
}

.notice-card {
    background: linear-gradient(135deg, #fff9e6, #fff3d6);
    border: 1px solid #ffe08a;
    border-left: 4px solid #ffb800;
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 1rem 0;
}

.notice-card h4 {
    margin: 0 0 1rem;
    color: #8a6d00;
    font-size: 1rem;
    text-transform: uppercase;
}

.notice-card ul {
    padding-left: 1.25rem;
    margin: 0;
}

.notice-card li {
    font-size: 0.9rem;
    color: #6b5500;
    margin-bottom: 0.5rem;
}

.notice-card li:last-child {
    margin-bottom: 0;
}

.notice-card b {
    color: #8a6d00;
}

/* --- 14. Confirmación --- */
.confirmation-info {
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 1rem 0;
}

.confirmation-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.confirmation-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.confirmation-info li:last-child {
    border-bottom: none;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.success-message {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #e8f8f0, #d4f5e3);
    border: 1px solid #a8e6c1;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    animation: slideDown 0.4s ease;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.success-message h3 {
    color: #1e8449;
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-message p {
    color: #2c6e49;
    margin: 0;
    font-size: 1rem;
}

.error-message {
    text-align: center;
    padding: 2rem 1rem;
    background: #fff5f5;
    border: 1px solid #ffc9c9;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.error-message p {
    color: var(--accent-color);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* --- 15. Responsive --- */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.75rem 3rem;
    }

    .form-hero {
        padding: 1rem 0.5rem;
    }

    .TituloPrincipal {
        font-size: 1.5rem;
    }

    .form-hero__subtitle {
        font-size: 0.9rem;
    }

    .progress-wrapper {
        padding: 0.75rem 0;
    }

    #progressbar li .step-label {
        display: none;
    }

    #progressbar li .step-icon {
        width: 30px;
        height: 30px;
        line-height: 28px;
        font-size: 0.8rem;
    }

    #progressbar li::after {
        top: 14px;
    }

    .steps fieldset {
        padding: 1.5rem 1.25rem;
        border-radius: var(--radius-sm);
    }

    .form-row--2,
    .form-row--3 {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .action-button {
        width: 100%;
        min-width: unset;
    }

    .form-actions .previous,
    .form-actions .next,
    .form-actions .submit,
    .form-actions .action-button--confirm {
        margin: 0;
        order: unset;
    }

    .payment-methods {
        flex-direction: column;
    }

    .pay-toggle {
        flex-direction: column;
        text-align: center;
    }

    .price-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .fs-title {
        font-size: 1.2rem;
    }

    .payment-info {
        padding: 1rem;
    }

    .payment-info li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

@media (max-width: 400px) {
    .TituloPrincipal {
        font-size: 1.25rem;
    }

    .steps fieldset {
        padding: 1.25rem 1rem;
    }

    .fs-title {
        font-size: 1.1rem;
    }
}

























@import url(https://fonts.googleapis.com/css?family=Archivo+Narrow);
.cube-folding {
  width: 50px;
  height: 50px;
  display: inline-block;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  font-size: 0;
}
.cube-folding span {
  position: relative;
  width: 25px;
  height: 25px;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  transform: scale(1.1);
  display: inline-block;
}
.cube-folding span::before {
  content: "";
  background-color: white;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 25px;
  height: 25px;
  -moz-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  -webkit-animation: folding 2.5s infinite linear both;
  -moz-animation: folding 2.5s infinite linear both;
  animation: folding 2.5s infinite linear both;
}
.cube-folding .leaf2 {
  -webkit-transform: rotateZ(90deg) scale(1.1);
  -moz-transform: rotateZ(90deg) scale(1.1);
  transform: rotateZ(90deg) scale(1.1);
}
.cube-folding .leaf2::before {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  background-color: #f2f2f2;
}
.cube-folding .leaf3 {
  -webkit-transform: rotateZ(270deg) scale(1.1);
  -moz-transform: rotateZ(270deg) scale(1.1);
  transform: rotateZ(270deg) scale(1.1);
}
.cube-folding .leaf3::before {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
  background-color: #f2f2f2;
}
.cube-folding .leaf4 {
  -webkit-transform: rotateZ(180deg) scale(1.1);
  -moz-transform: rotateZ(180deg) scale(1.1);
  transform: rotateZ(180deg) scale(1.1);
}
.cube-folding .leaf4::before {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  background-color: #e6e6e6;
}

@-webkit-keyframes folding {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    -moz-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }
  25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    -moz-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
  }
  90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    -moz-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }
}
@-moz-keyframes folding {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    -moz-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }
  25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    -moz-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
  }
  90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    -moz-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }
}
@-ms-keyframes folding {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    -moz-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }
  25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    -moz-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
  }
  90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    -moz-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }
}
@keyframes folding {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    -moz-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }
  25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    -moz-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
  }
  90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    -moz-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }
}
.cube-wrapper {
  position: fixed;
  left: 50%;
  top: 50%;
  margin-top: -50px;
  margin-left: -50px;
  width: 100px;
  height: 100px;
  text-align: center;
}
.cube-wrapper:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  margin: auto;
  width: 90px;
  height: 6px;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.1);
  -webkit-filter: blur(2px);
  filter: blur(2px);
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  -webkit-animation: shadow 0.5s ease infinite alternate;
  -moz-animation: shadow 0.5s ease infinite alternate;
  animation: shadow 0.5s ease infinite alternate;
}
.cube-wrapper .loading {
  font-size: 12px;
  letter-spacing: 0.1em;
  display: block;
  color: white;
  position: relative;
  top: 25px;
  z-index: 2;
  -webkit-animation: text 0.5s ease infinite alternate;
  -moz-animation: text 0.5s ease infinite alternate;
  animation: text 0.5s ease infinite alternate;
}

@-webkit-keyframes text {
  100% {
    top: 35px;
  }
}
@-moz-keyframes text {
  100% {
    top: 35px;
  }
}
@-ms-keyframes text {
  100% {
    top: 35px;
  }
}
@keyframes text {
  100% {
    top: 35px;
  }
}
@-webkit-keyframes shadow {
  100% {
    bottom: -18px;
    width: 100px;
  }
}
@-moz-keyframes shadow {
  100% {
    bottom: -18px;
    width: 100px;
  }
}
@-ms-keyframes shadow {
  100% {
    bottom: -18px;
    width: 100px;
  }
}
@keyframes shadow {
  100% {
    bottom: -18px;
    width: 100px;
  }
}


.body_loader {
  min-height: 100%;
}

.body_loader {
    background: rgba(0, 0, 0, 0.9);
    /* fallback for old browsers */
    /* background: -webkit-linear-gradient(to left, rgba(255, 16, 25, 0.6), rgba(255, 0, 0, 0.9)); */
    /* Chrome 10-25, Safari 5.1-6 */
    /* background: linear-gradient(to left, rgba(255, 0, 0, 0.9), rgba(255, 16, 25, 0.6)); */
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    font-family: arial;

    z-index: 100;
    position: fixed;
    width: 100dvw;
    height: 100dvh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}