.ai-cio-survey-container {
    max-width: 800px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ai-cio-survey-form .form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

.ai-cio-survey-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #23282d;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.ai-cio-survey-form .form-group {
    margin-bottom: 20px;
}

.ai-cio-survey-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.ai-cio-survey-form .options label {
    font-weight: normal;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
}

.ai-cio-survey-form .checkbox-group label {
    display: block;
    margin-bottom: 5px;
}

.ai-cio-survey-form input[type="text"],
.ai-cio-survey-form input[type="number"],
.ai-cio-survey-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.ai-cio-survey-form textarea {
    min-height: 100px;
}

.ai-cio-survey-form .form-submit input[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.ai-cio-survey-form .form-submit input[type="submit"]:hover {
    background: #005177;
}

/* Country Multi-Select */
.ai-cio-country-multiselect .ai-cio-country-select {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.ai-cio-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.ai-cio-chip {
    background: #e5e5e5;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.ai-cio-chip .remove {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
}

.ai-cio-chip .remove:hover {
    color: #d63638;
}

/* Success and Error Messages */
.ai-cio-success-message {
    padding: 15px;
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Error Modal */
.ai-cio-error-modal {
    display: block;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.ai-cio-error-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ai-cio-error-modal-header {
    padding: 20px;
    background-color: #f8d7da;
    border-bottom: 1px solid #f5c6cb;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-cio-error-modal-header h3 {
    margin: 0;
    color: #721c24;
    font-size: 18px;
}

.ai-cio-error-modal-close {
    color: #721c24;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.ai-cio-error-modal-close:hover,
.ai-cio-error-modal-close:focus {
    color: #000;
}

.ai-cio-error-modal-body {
    padding: 20px;
    color: #721c24;
}

.ai-cio-error-modal-body ul {
    margin: 10px 0 0 20px;
}

.ai-cio-error-modal-footer {
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
    border-radius: 0 0 8px 8px;
    text-align: right;
}

.ai-cio-error-modal-footer button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.ai-cio-error-modal-footer button:hover {
    background: #005177;
}

/* Error Field Highlighting */
.ai-cio-survey-form .form-group.ai-cio-error label {
    color: #d63638;
}

.ai-cio-survey-form .form-group.ai-cio-error input[type="text"],
.ai-cio-survey-form .form-group.ai-cio-error input[type="number"],
.ai-cio-survey-form .form-group.ai-cio-error textarea,
.ai-cio-survey-form .form-group.ai-cio-error .ai-cio-country-select {
    border-color: #d63638;
}

/* AI Recommendations Display */
.ai-cio-recommendations-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ai-cio-recommendations-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0073aa;
}

.ai-cio-recommendations-header h2 {
    color: #23282d;
    font-size: 28px;
    margin-bottom: 10px;
}

.ai-cio-recommendations-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.ai-cio-recommendations-steps {
    margin-bottom: 30px;
}

.ai-cio-recommendation-card {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ai-cio-recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
}

.ai-cio-recommendation-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.ai-cio-recommendation-content {
    flex: 1;
}

.ai-cio-recommendation-content h3 {
    margin: 0 0 10px 0;
    color: #23282d;
    font-size: 20px;
}

.ai-cio-recommendation-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.ai-cio-recommendations-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.ai-cio-recommendations-footer p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.ai-cio-btn-new-survey {
    display: inline-block;
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.ai-cio-btn-new-survey:hover {
    background: #005177;
    color: #fff;
}