/**
 * Online Consultation Booking Form Styles
 */

.ocb-booking-form-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ocb-form-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.ocb-form-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    text-align: center;
}

.ocb-form-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0 0 40px 0;
}

.ocb-form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8e8e8;
}

.ocb-form-section:last-of-type {
    border-bottom: none;
}

.ocb-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ocb-section-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
}

.ocb-required {
    color: #e74c3c;
    font-weight: 600;
}

.ocb-form-group {
    margin-bottom: 20px;
}

.ocb-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ocb-form-col {
    flex: 1;
    min-width: 250px;
}

.ocb-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.ocb-input,
.ocb-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.ocb-input:focus,
.ocb-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.ocb-input.ocb-error,
.ocb-select.ocb-error {
    border-color: #e74c3c;
}

.ocb-help-text {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 6px;
}

/* Checkbox and Radio Styles */
.ocb-checkbox-group,
.ocb-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ocb-checkbox-label,
.ocb-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.ocb-checkbox-label:hover,
.ocb-radio-label:hover {
    background: #f8f9fa;
}

.ocb-checkbox,
.ocb-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #3498db;
    flex-shrink: 0;
}

/* Requirements Section */
.ocb-requirement-group {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.ocb-requirement-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

/* File Upload */
.ocb-file-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ocb-file-input:hover {
    border-color: #3498db;
    background: #f0f7ff;
}

.ocb-file-list {
    margin-top: 15px;
}

.ocb-file-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ocb-file-list-items li {
    padding: 8px 12px;
    background: #f0f7ff;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

/* Fee Box */
.ocb-fee-box {
    background: #f0f7ff;
    border-left: 4px solid #3498db;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ocb-fee-box h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #2c3e50;
}

.ocb-fee-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ocb-fee-list li {
    padding: 8px 0;
    font-size: 15px;
    color: #333;
}

.ocb-fee-list li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: 600;
    margin-right: 8px;
}

/* Consultation Fee Display */
.ocb-consultation-fee {
    animation: slideDown 0.3s ease;
}

.ocb-consultation-fee .ocb-fee-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    margin-bottom: 0;
}

.ocb-fee-amount {
    font-size: 24px;
    font-weight: 700;
    color: #2e7d32;
    margin: 10px 0 0 0;
}

/* Submit Button */
.ocb-submit-section {
    text-align: center;
    padding-top: 20px;
}

.ocb-submit-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    min-width: 200px;
}

.ocb-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.ocb-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.ocb-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ocb-btn-loader {
    display: inline-block;
}

/* Messages */
.ocb-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.ocb-message.ocb-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ocb-message.ocb-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Error States */
.ocb-error {
    border-color: #e74c3c !important;
}

.ocb-form-group.ocb-error .ocb-label,
.ocb-checkbox-group.ocb-error,
.ocb-radio-group.ocb-error {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ocb-form-wrapper {
        padding: 25px 20px;
    }
    
    .ocb-form-title {
        font-size: 26px;
    }
    
    .ocb-form-row {
        flex-direction: column;
    }
    
    .ocb-form-col {
        min-width: 100%;
    }
    
    .ocb-booking-form-container {
        margin: 20px auto;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .ocb-form-title {
        font-size: 22px;
    }
    
    .ocb-section-title {
        font-size: 18px;
    }
    
    .ocb-submit-btn {
        width: 100%;
        padding: 14px 30px;
    }
}

/* Print Styles */
@media print {
    .ocb-submit-btn,
    .ocb-file-input {
        display: none;
    }
}

