/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 60px 0 40px;
    color: white;
}

.title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title i {
    font-size: 2rem;
    color: #3b82f6;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.card {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #333;
}

.card-header {
    background: #2a2a2a;
    color: white;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.card-header p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Form Styles */
.form-container {
    padding: 40px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e0e0e0;
    font-size: 1rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #2a2a2a;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    background: #333;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
}

/* Radio and Checkbox Styles */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.radio-item label,
.checkbox-item label {
    cursor: pointer;
    color: #e0e0e0;
}

/* Rating Stars */
.rating-group {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.rating-star {
    font-size: 24px;
    color: #444;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-star:hover,
.rating-star.active {
    color: #3b82f6;
}

/* Submit Button */
.submit-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.btn-submit {
    background: #3b82f6;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
}

.btn-submit:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Progress Indicator */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #3b82f6;
    transition: width 0.3s ease;
}

/* Required Field Indicator */
.required {
    color: #ef4444;
    margin-left: 4px;
}

/* Success Message */
.success-message {
    background: #1e3a2e;
    border: 1px solid #2d5a3d;
    color: #4ade80;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .title i {
        font-size: 1.8rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .btn-submit {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 40px 0 30px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .card-header {
        padding: 20px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Animation */
.success-animation {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Form validation styles */
.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Forms Embed */
.forms-embed {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
}

.forms-embed iframe {
    display: block;
    background: #1a1a1a;
}

/* Direct Link Section */
.direct-link-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.direct-link-section p {
    color: #e0e0e0;
    margin-bottom: 15px;
    font-size: 1rem;
}

.direct-link-section .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.direct-link-section .btn-submit:hover {
    background: #2563eb;
}
