.ai-consultant-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-consultant-headline {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.ai-consultant-subheadline {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.ai-consultant-field {
    margin-bottom: 20px;
}

.ai-consultant-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.ai-consultant-field .required {
    color: #d32f2f;
}

.ai-consultant-field input[type="text"],
.ai-consultant-field input[type="email"],
.ai-consultant-field textarea,
.ai-consultant-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.ai-consultant-field input[type="text"]:focus,
.ai-consultant-field input[type="email"]:focus,
.ai-consultant-field textarea:focus,
.ai-consultant-field select:focus {
    outline: none;
    border-color: #2271b1;
}

.ai-consultant-field textarea {
    resize: vertical;
    min-height: 100px;
}

.ai-consultant-field .radio-label,
.ai-consultant-field .checkbox-label {
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
}

.ai-consultant-field input[type="radio"],
.ai-consultant-field input[type="checkbox"] {
    margin-right: 8px;
}

.ai-consultant-submit-container {
    text-align: center;
    margin-top: 30px;
}

.ai-consultant-submit {
    background: #2271b1;
    color: #ffffff;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.ai-consultant-submit:hover {
    background: #135e96;
}

.ai-consultant-loading {
    display: inline-block;
    margin-left: 15px;
    color: #666;
}

.ai-consultant-loading .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-consultant-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.ai-consultant-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ai-consultant-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ai-consultant-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.ai-consultant-modal-content {
    position: relative;
    margin: 50px auto;
    max-width: 700px;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ai-consultant-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 10;
}

.ai-consultant-modal-close:hover {
    color: #333;
}

.ai-consultant-result {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.result-summary {
    background: #f0f7ff;
    padding: 20px;
    border-left: 4px solid #2271b1;
    margin-bottom: 30px;
    line-height: 1.8;
}

.result-recommendations {
    margin-bottom: 30px;
}

.recommendation-item {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.recommendation-item h4 {
    margin-top: 0;
    color: #2271b1;
}

.result-disclaimers,
.result-followups {
    margin-bottom: 30px;
}

.result-disclaimers ul,
.result-followups ul {
    line-height: 1.8;
}

.result-email-note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.ai-consultant-feedback {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.star-rating {
    font-size: 48px;
    cursor: pointer;
    margin: 20px 0;
}

.star-rating .star {
    color: #ddd;
    transition: color 0.2s;
}

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

.feedback-form {
    margin-top: 20px;
    text-align: left;
}

.feedback-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
    resize: vertical;
}

.feedback-form button {
    margin-top: 10px;
    background: #2271b1;
    color: #ffffff;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.feedback-form button:hover {
    background: #135e96;
}

.feedback-thank-you {
    margin-top: 20px;
    color: #155724;
    font-weight: 600;
}

@media (max-width: 768px) {
    .ai-consultant-form-container {
        padding: 20px;
    }

    .ai-consultant-headline {
        font-size: 24px;
    }

    .ai-consultant-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
}
