body {
    font-family: "Inter Tight", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.header {
    padding: 1rem;
    text-align: center;
    background: white;
}

.header img {
    max-height: 60px;
}

.banner-image {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.banner-image.fade {
    opacity: 0;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    /* background-image: url('background-image.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
}

/* .gradient-overlay {
    position: absolute;
    top: -40vh;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(128, 128, 128);
    background: linear-gradient(180deg, rgba(128, 128, 128, 0) 0%, rgba(0, 0, 248, 1) 25%);
} */

.gradient-overlay {
    position: absolute;
    top: -50vh;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at bottom right, rgba(109, 56, 252, 1) 0%, rgba(128, 128, 128, 0) 50%),
        linear-gradient(180deg, rgba(128, 128, 128, 0) 0%, rgba(0, 0, 248, 1) 27%);
}

.gradient-overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background:
        url('/survey/assets/img/confetti.png') no-repeat center top,
        radial-gradient(circle at bottom right, rgba(109, 56, 252, 1) 0%, rgba(128, 128, 128, 0) 50%),
        radial-gradient(circle at top left, rgba(109, 56, 252, 1) 0%, rgba(128, 128, 128, 0) 50%),
        linear-gradient(0deg, rgba(0, 0, 248, 1) 70%, rgba(0, 0, 248, 1) 27%);

    background-size: cover, cover;
    background-blend-mode: normal, normal, normal;
}


.tabs-container {
    position: relative;
    z-index: 2;
}

.progress-tabs {
    display: flex;
    justify-content: space-between;
}

.step {
    flex: 1;
    text-align: left;
    position: relative;
    padding: 0 10px;
    cursor: pointer;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 30%;
    width: 70%;
    height: 2px;
    background: #E5E7EB;
    z-index: -1;
}
/* completed */
.step.activo:not(:last-child)::after {
    background: #10B981;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #6B7280;
    position: relative;
    z-index: 2;
}
/* completed */
.step.activo .step-circle {
    border-color: #10B981;
    color: #10B981;
}

.step-title {
    color: #333;
    margin-bottom: 5px;
}

.step-status {
    background-color: #F3F4F6;
    color: #4B5563;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
}
/* completed */
.step.activo .step-status {
    background-color: #D1FAE5;
    color: #047857;
}

.content-section {
    position: relative;
    z-index: 2;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.rating-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.rating-option {
    text-align: center;
}

.rating-option i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.continue-btn {
    border-color: #0000F8;
    color: #0000F8;
    background-color: #f8f9fa;
}

.continue-btn:hover {
    background: #0000F8;
    color: white;
}

.question-row {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
}

.px-32 {
    padding-left: 32px !important;
    padding-right: 32px !important;
}

.p-32 {
    padding: 32px !important;
}

.fs-12 {
    font-size: 12px;
    color: #4B5563;
}

.text-danger-zc {
    color: #FF3F32;
}

.text-warning-zc {
    color: #FFCE2B;
}

.text-success-zc {
    color: #2FB14C;
}

.fs-sm {
    font-size: 0.875rem;
}

.zc-text-primary {
    color: #1D2E51;
}

/* Contenedor de confetti */
.confetti-container {
    position: relative;
    overflow: hidden;
}

/* Estilos de confetti */
.confetti {
    position: absolute;
    width: 5px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    animation: confetti-fall 2s infinite ease-in-out;
    z-index: 10;
    opacity: 0; /* Inicia invisible */
}

/* Confetti con posiciones y tamaños aleatorios */
.confetti:nth-child(1)  { left: 5%;   animation-delay: 0s;   background-color: #ff4757; }
.confetti:nth-child(2)  { left: 10%;  animation-delay: 0.2s; background-color: #ffa502; }
.confetti:nth-child(3)  { left: 15%;  animation-delay: 0.4s; background-color: #2ed573; }
.confetti:nth-child(4)  { left: 20%;  animation-delay: 0.6s; background-color: #1e90ff; }
.confetti:nth-child(5)  { left: 25%;  animation-delay: 0.8s; background-color: #eccc68; }
.confetti:nth-child(6)  { left: 30%;  animation-delay: 1s;   background-color: #ff6348; }
.confetti:nth-child(7)  { left: 35%;  animation-delay: 1.2s; background-color: #ff4757; }
.confetti:nth-child(8)  { left: 40%;  animation-delay: 1.4s; background-color: #2ed573; }
.confetti:nth-child(9)  { left: 45%;  animation-delay: 1.6s; background-color: #ffa502; }
.confetti:nth-child(10) { left: 50%;  animation-delay: 1.8s; background-color: #1e90ff; }
.confetti:nth-child(11) { left: 55%;  animation-delay: 2s;   background-color: #ff4757; }
.confetti:nth-child(12) { left: 60%;  animation-delay: 2.2s; background-color: #eccc68; }
.confetti:nth-child(13) { left: 65%;  animation-delay: 2.4s; background-color: #ffa502; }
.confetti:nth-child(14) { left: 70%;  animation-delay: 2.6s; background-color: #1e90ff; }
.confetti:nth-child(15) { left: 75%;  animation-delay: 2.8s; background-color: #ff6348; }
.confetti:nth-child(16) { left: 80%;  animation-delay: 3s;   background-color: #2ed573; }
.confetti:nth-child(17) { left: 85%;  animation-delay: 3.2s; background-color: #ffa502; }
.confetti:nth-child(18) { left: 90%;  animation-delay: 3.4s; background-color: #ff4757; }
.confetti:nth-child(19) { left: 95%;  animation-delay: 3.6s; background-color: #2ed573; }
.confetti:nth-child(20) { left: 100%; animation-delay: 3.8s; background-color: #1e90ff; }

/* Tamaños y velocidades aleatorias */
.confetti:nth-child(odd) {
    width: 6px;
    height: 12px;
    animation-duration: 2.5s;
}
.confetti:nth-child(even) {
    width: 4px;
    height: 8px;
    animation-duration: 1.5s;
}


/* Animación del confetti */
@keyframes confetti-fall {
    0% {
        top: -10%;
        transform: rotate(0deg);
        opacity: 1; /* Aparece en movimiento */
    }
    100% {
        top: 110%;
        transform: rotate(720deg); /* Rotación más rápida */
        opacity: 0; /* Se desvanece al final */
    }
}


/* Animación del confetti */
@keyframes confetti-fall {
    0% {
        opacity: 1; /* El confetti será visible desde el principio */
        top: -10%; /* Posición inicial */
        transform: rotate(0deg);
    }
    100% {
        top: 110%; /* Confetti sale de la pantalla */
        transform: rotate(360deg);
        opacity: 0; /* Se desvanece */
    }
}