/* RevOps Octopus Public Form */

.revops-octopus-form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.revops-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.revops-form-header h2 {
    font-size: 32px;
    margin: 0 0 16px 0;
    color: #1d2327;
}

.revops-form-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.ai-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 24px;
    margin: 0 0 24px 0;
    color: #1d2327;
}

.rating-help {
    color: #666;
    font-style: italic;
    margin-bottom: 24px;
}

/* Form Fields */
.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d2327;
}

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

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #2271b1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* Rating Fields */
.rating-fields {
    display: grid;
    gap: 24px;
}

.rating-field {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rating-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d2327;
}

.rating-buttons {
    display: flex;
    gap: 8px;
}

.rating-buttons input[type="radio"] {
    display: none;
}

.rating-button {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.rating-buttons input[type="radio"]:checked + .rating-button {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

.rating-button:hover {
    border-color: #2271b1;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.button-primary {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

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

.button-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Messages */
#revops-form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    display: none;
}

#revops-form-message.success {
    display: block;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

#revops-form-message.error {
    display: block;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Results */
.revops-results {
    margin-top: 40px;
}

.results-header {
    text-align: center;
    margin-bottom: 32px;
}

.results-header h2 {
    font-size: 28px;
    color: #1d2327;
}

#results-content {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.results-actions {
    text-align: center;
}

.results-actions .button {
    padding: 12px 32px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.results-actions .button:hover {
    background: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .revops-octopus-form-wrapper {
        padding: 24px;
    }
    
    .revops-form-header h2 {
        font-size: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .rating-buttons {
        flex-wrap: wrap;
    }
}
