/* Enhanced Tagline Quiz Styling */
.form-wrapper .tagline-quiz {
    margin-bottom: 12px !important;
    background-image: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05)) !important;
    border-radius: 6px !important;
    padding: 10px !important;
    border: 1px solid rgba(255, 235, 0, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Decorative design elements removed */
.form-wrapper .tagline-quiz::before {
    display: none; /* Hide the top-left circle */
}

.form-wrapper .tagline-quiz::after {
    display: none; /* Hide the bottom-right circle */
}

/* Heading styling */
.form-wrapper .tagline-quiz p {
    color: #ffeb00;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Oswald', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    padding-left: 6px;
    border-left: 3px solid #ffeb00;
}

/* Options container */
.form-wrapper .tagline-quiz .options {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1;
}

/* Individual option styling */
.form-wrapper .tagline-quiz label {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Option text styling */
.form-wrapper .tagline-quiz .option-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Radio button styling */
.form-wrapper .tagline-quiz input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #ffeb00;
    border-radius: 50%;
    margin: 0;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    background: transparent;
}

/* Custom radio button indicator */
.form-wrapper .tagline-quiz input[type="radio"]::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #ffeb00;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s ease-in-out;
}

/* Checked state styling */
.form-wrapper .tagline-quiz input[type="radio"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}

.form-wrapper .tagline-quiz input[type="radio"]:checked + .option-text {
    color: #ffeb00;
    text-shadow: 0 0 5px rgba(255, 235, 0, 0.4);
}

.form-wrapper .tagline-quiz label:has(input[type="radio"]:checked) {
    background: rgba(255, 235, 0, 0.15);
    border-left-color: #ffeb00;
}

/* Hover effects */
.form-wrapper .tagline-quiz label:hover {
    background: rgba(255, 235, 0, 0.1);
    border-left-color: rgba(255, 235, 0, 0.5);
}

.form-wrapper .tagline-quiz label:hover .option-text {
    transform: translateX(3px);
}

.form-wrapper .tagline-quiz label:active {
    transform: scale(0.98);
}

/* Transition for smooth effects */
.form-wrapper .tagline-quiz .option-text {
    transition: transform 0.2s ease;
}

/* Animation for ripple effect on click */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive design */
@media (max-width: 767px) {
    .form-wrapper .tagline-quiz {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .tagline-quiz p {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .tagline-quiz label {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .tagline-quiz input[type="radio"] {
        width: 14px;
        height: 14px;
    }
    
    .tagline-quiz input[type="radio"]::after {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 479px) {
    .tagline-quiz {
        padding: 6px;
        margin-bottom: 8px;
    }
    
    .tagline-quiz p {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .tagline-quiz label {
        font-size: 12px;
        padding: 4px 6px;
    }
    
    .tagline-quiz input[type="radio"] {
        width: 12px;
        height: 12px;
    }
    
    .tagline-quiz input[type="radio"]::after {
        width: 6px;
        height: 6px;
    }
}
