.max-w-\[90px\] {
    max-width: 90px;
}

.max-w-\[100px\] {
    max-width: 100px;
}

.max-w-\[150px\] {
    max-width: 150px;
}

.max-w-\[125px\] {
    max-width: 125px;
}

.max-w-\[175px\] {
    max-width: 175px
}

.max-w-\[200px\] {
    max-width: 200px
}

.max-h-\[125px\] {
    max-height: 125px
}

.max-h-\[500px\] {
    max-height: 500px
}

.max-h-\[580px\] {
    max-height: 580px
}

.bg-white\/30 {
    background-color: rgba(255, 255, 255, .3);
}

.bg-white\/50 {
    background-color: rgba(255, 255, 255, .5);
}

.mt-0 {
    margin-top: 0;
}

.gap-\[50px\] {
    gap: 50px;
}

.gap-\[15px\] {
    gap: 15px;
}
.gap-y-\[30px\] {
    row-gap: 30px;
}

/* ===== SURVEY FORM STYLING ===== */

/* Survey Container */
.survey-container {
    min-height: 100vh;
    padding: 2rem 0;
}

.survey-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.survey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f8ce70, #231f20, #f093fb);
}

/* Survey Header */
.survey-header {
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.survey-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.survey-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.survey-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Survey Content */
.survey-content {
    padding: 2.5rem;
}

/* Question Styling */
.survey-question {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.survey-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f8ce70 0%, #231f20 100%);
}

.survey-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.question-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.question-number {
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Radio Button Styling */
.radio-group {
    display: grid;
    gap: 0.75rem;
}

.radio-option {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #4a5568;
    position: relative;
    overflow: hidden;
}

.radio-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.radio-label span {
    position: relative;
    z-index: 1;
}

.radio-option input[type="radio"]:checked + .radio-label {
    border-color: #f8ce70;
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.radio-option:hover .radio-label {
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Textarea Styling */
.survey-textarea {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.survey-textarea:focus {
    outline: none;
    border-color: #f8ce70;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.survey-textarea::placeholder {
    color: #a0aec0;
    font-style: italic;
}

/* Submit Button */
.survey-submit-btn {
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.survey-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.survey-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.survey-submit-btn:hover::before {
    left: 100%;
}

.survey-submit-btn:active {
    transform: translateY(0);
}

/* Error Messages */
.survey-error {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border: 1px solid #fc8181;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #c53030;
    position: relative;
    overflow: hidden;
}

.survey-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #e53e3e;
}

/* Info Messages */
.survey-info {
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
    border: 1px solid #63b3ed;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #2b6cb0;
    position: relative;
    overflow: hidden;
}

.survey-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3182ce;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.survey-question {
    animation: fadeInUp 0.6s ease forwards;
}

.survey-question:nth-child(1) { animation-delay: 0.1s; }
.survey-question:nth-child(2) { animation-delay: 0.2s; }
.survey-question:nth-child(3) { animation-delay: 0.3s; }
.survey-question:nth-child(4) { animation-delay: 0.4s; }
.survey-question:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 768px) {
    .survey-content {
        padding: 1.5rem;
    }
    
    .survey-title {
        font-size: 2rem;
    }
    
    .question-title {
        font-size: 1.1rem;
    }
    
    .radio-label {
        padding: 0.75rem 1rem;
    }
    
    .survey-submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .survey-card {
        margin: 1rem;
        border-radius: 15px;
    }
    
    .survey-header {
        padding: 1.5rem;
    }
    
    .survey-content {
        padding: 1rem;
    }
    
    .survey-question {
        padding: 1rem;
    }
    
    .radio-group {
        gap: 0.5rem;
    }
}

/* Loading State */
.survey-submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.survey-submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success State */
.survey-question.completed {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    border-color: #68d391;
}

.survey-question.completed::before {
    background: linear-gradient(180deg, #48bb78 0%, #38a169 100%);
}

/* Progress Indicator */
.survey-progress {
    background: #e2e8f0;
    border-radius: 10px;
    height: 6px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.survey-progress-bar {
    background: linear-gradient(90deg, #f8ce70 0%, #231f20 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
}

.survey-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.w-5 {
    width: 2rem;
}

.h-5 {
    height: 2rem;
}

/* ===== SUCCESS PAGE STYLING ===== */

/* Success Icon */
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(248, 206, 112, 0.3);
    position: relative;
    overflow: hidden;
}

.success-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.success-icon {
    width: 40px;
    height: 40px;
    color: white;
    position: relative;
    z-index: 1;
}

.success-icon-small {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.success-icon-small svg {
    width: 14px;
    height: 14px;
    color: white;
}

/* Success Message */
.success-message {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f8ce70 0%, #231f20 100%);
}

/* Success Info Box */
.success-info {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    border: 1px solid #68d391;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.success-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #48bb78 0%, #38a169 100%);
}

/* Action Buttons */
.action-buttons {
    text-align: center;
}

.primary-action-btn {
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(248, 206, 112, 0.3);
    display: inline-block;
    text-decoration: none;
    margin-bottom: 2rem;
}

.primary-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.primary-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(248, 206, 112, 0.4);
    color: white;
    text-decoration: none;
}

.primary-action-btn:hover::before {
    left: 100%;
}

.primary-action-btn:active {
    transform: translateY(0);
}

/* Secondary Links */
.secondary-links {
    margin-top: 2rem;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.secondary-link {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.secondary-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8ce70 0%, #231f20 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.secondary-link span {
    position: relative;
    z-index: 1;
}

.secondary-link:hover {
    border-color: #f8ce70;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 206, 112, 0.2);
    color: white;
    text-decoration: none;
}

.secondary-link:hover::before {
    opacity: 1;
}

.secondary-link:hover span {
    color: white;
}

/* Success Page Animations */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design for Success Page */
@media (max-width: 768px) {
    .success-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .success-icon {
        width: 30px;
        height: 30px;
    }
    
    .success-message {
        padding: 1.5rem;
    }
    
    .success-info {
        padding: 1rem;
    }
    
    .primary-action-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .link-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .secondary-link {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .success-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .success-icon {
        width: 25px;
        height: 25px;
    }
    
    .success-message {
        padding: 1rem;
    }
    
    .success-info {
        padding: 0.75rem;
    }
    
    .primary-action-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}