/* Survey Module Custom CSS */
.survey-container {
    max-width: 900px;
    margin: 30px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.survey-intro {
    margin-bottom: 40px;
}

.survey-title {
    color: #1e293b;
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 15px;
    letter-spacing: -0.025em;
}

.survey-intro {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    color: #475569;
    line-height: 1.6;
}

.step-indicator {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 10px;
}

.survey-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.survey-card-title {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 25px;
    padding-bottom: 15px;
    display: inline-block;
}

.form-group label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.survey-form-control {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: none;
    height: 40px;
    transition: all 0.2s;
}

.survey-form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Question Styling */
.question-item {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.question-text {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.question-stt {
    color: #3b82f6;
    margin-right: 10px;
}

/* Custom Radio Buttons */
.option-item {
    display: block;
    position: relative;
    padding: 12px 15px 12px 45px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
}

.option-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.option-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
}

.option-item:hover input ~ .checkmark {
    border-color: #3b82f6;
}

.option-item input:checked ~ .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.option-item input:checked ~ .checkmark:after {
    display: block;
}

.option-item .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.option-item.active {
    border-color: #3b82f6;
    background: #eff6ff;
}

.btn-survey-next {
    background: #1e293b;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.2s;
}

.btn-survey-next:hover {
    background: #0f172a;
    transform: translateX(5px);
}

.btn-survey-prev {
    background: transparent;
    color: #64748b;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-survey-prev:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
    transform: translateX(-5px);
}

.btn-survey-submit {
    background: #3b82f6;
    color: white;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.btn-survey-submit:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-survey-submit:active {
    transform: translateY(0);
}

/* Success Card */
.survey-success-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 40px auto;
    border: 1px solid #f1f5f9;
}

.success-icon {
    font-size: 80px;
    color: #10b981;
    margin-bottom: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.success-msg {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Wait Card */
.survey-wait-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 40px auto;
    border: 1px solid #fef3c7;
}

.wait-icon {
    font-size: 80px;
    color: #f59e0b;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.wait-title {
    font-size: 28px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 15px;
}

.wait-msg {
    color: #78350f;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .survey-card {
        padding: 20px;
    }
}
