/* External Survey Styles */
.external-survey-list {
    margin-bottom: 20px;
}

.external-survey-list .card {
    transition: transform 0.2s ease-in-out;
    border: 1px solid #e3e6f0;
}

.external-survey-list .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.question-item {
    background-color: #f8f9fc;
    border-left: 4px solid #4e73df !important;
}

.question-text {
    color: #2e59d9;
    font-weight: 600;
    margin-bottom: 15px;
}

.options-container {
    margin-left: 20px;
}

.form-check {
    margin-bottom: 8px;
}

.form-check-input:checked {
    background-color: #4e73df;
    border-color: #4e73df;
}

.percentage-scale {
    display: flex;
    align-items: center;
    gap: 10px;
}

.percentage-value {
    font-weight: 600;
    color: #4e73df;
    min-width: 50px;
}

.likert-scale {
    display: flex;
    justify-content: space-between;
    max-width: 300px;
}

.likert-scale .form-check-inline {
    margin-right: 0;
}

.survey-info {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.survey-info h5 {
    color: #1976d2;
    margin-bottom: 10px;
}

.survey-info p {
    color: #424242;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .likert-scale {
        flex-direction: column;
        gap: 10px;
    }
    
    .question-item {
        margin-bottom: 15px;
    }
    
    .options-container {
        margin-left: 10px;
    }
}

/* Animation for survey cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.external-survey-list .card {
    animation: fadeInUp 0.5s ease-out;
}

/* Custom button styles */
.btn-external-survey {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-external-survey:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Form validation styles */
.is-invalid {
    border-color: #dc3545 !important;
}

.text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading states */
.survey-loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.survey-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}
