.acf-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
}

/* Progress Bar Styles */
.acf-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 40px 0;
    padding: 20px 0;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.acf-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
    transition: all 0.3s ease;
}

.acf-progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    background: white;
    color: #666;
}

.acf-progress-step.active .acf-progress-circle {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

.acf-progress-step.completed .acf-progress-circle {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.acf-progress-step.completed .acf-progress-circle::before {
    content: "✓";
    font-size: 18px;
}

.acf-progress-step span {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.acf-progress-step.active span {
    color: #0073aa;
    font-weight: 600;
}

.acf-progress-line {
    flex: 1;
    height: 2px;
    background: #ddd;
    margin: 0 10px;
    max-width: 60px;
    transition: all 0.3s ease;
}

.acf-progress-line.completed {
    background: #0073aa;
}

.acf-step {
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.acf-step.active {
    display: block;
}

.acf-step h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.acf-field {
    margin-bottom: 20px;
}

.acf-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.acf-field input,
.acf-field textarea,
.acf-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.acf-field input:focus,
.acf-field textarea:focus,
.acf-field select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.acf-field input.error,
.acf-field textarea.error,
.acf-field select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/* HTML Editor Styles */
.acf-html-editor {
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 200px;
    background: white;
    transition: border-color 0.3s ease;
}

.acf-html-editor:focus-within {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.acf-html-editor.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.acf-html-editor .ql-toolbar {
    border-bottom: 1px solid #ccc;
    border-radius: 4px 4px 0 0;
}

.acf-html-editor .ql-container {
    border-radius: 0 0 4px 4px;
    min-height: 150px;
}

.acf-html-editor .ql-editor {
    padding: 12px;
    min-height: 150px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.acf-html-editor .ql-editor.ql-blank::before {
    color: #999;
    font-style: italic;
}

.acf-options {
    margin: 20px 0;
}

.acf-option {
    margin-bottom: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.acf-option:hover {
    border-color: #0073aa;
}

.acf-option input[type="radio"] {
    display: none;
}

.acf-option label {
    display: block;
    padding: 20px;
    cursor: pointer;
    margin: 0;
}

.acf-option label h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.acf-option label p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.acf-option input[type="radio"]:checked + label {
    background-color: #f0f8ff;
}

.acf-option input[type="radio"]:checked + label::before {
    content: "✓";
    position: absolute;
    right: 20px;
    top: 20px;
    color: #0073aa;
    font-weight: bold;
    font-size: 18px;
}

.acf-option {
    position: relative;
}

.acf-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.acf-btn-primary {
    background-color: #0073aa;
    color: white;
}

.acf-btn-primary:hover:not(:disabled) {
    background-color: #005a87;
}

.acf-btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.acf-btn-secondary {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
}

.acf-btn-secondary:hover {
    background-color: #e1e1e1;
}

.acf-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.acf-nav-buttons button {
    min-width: 120px;
}

.acf-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}

.acf-notice p {
    margin: 0;
    color: #856404;
}

.acf-success-message {
    text-align: center;
    padding: 40px 20px;
}

.acf-success-message h3 {
    color: #28a745;
    font-size: 28px;
    margin-bottom: 15px;
}

.acf-success-message p {
    color: #666;
    font-size: 16px;
}

.acf-field small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

/* Radio group styling for scheduling */
.acf-radio-group {
    margin: 10px 0;
}

.acf-radio-group label {
    font-weight: normal;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.acf-radio-group label:hover {
    background-color: #f8f9fa;
}

.acf-radio-group input[type="radio"]:checked + label,
.acf-radio-group label:has(input[type="radio"]:checked) {
    background-color: #e3f2fd;
    border-color: #0073aa;
}

/* Editorial notes styling */
.acf-field textarea[name="editorial_notes"] {
    background-color: #fff9c4;
    border: 1px solid #f9e79f;
}

.acf-field textarea[name="editorial_notes"]:focus {
    border-color: #f39c12;
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.2);
}

/* Date input styling */
input[type="date"] {
    min-width: 200px;
}

.acf-loading {
    text-align: center;
    padding: 20px;
}

.acf-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin: 15px 0;
}

.acf-payment-details {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.acf-payment-details h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.acf-payment-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.acf-payment-total {
    border-top: 2px solid #0073aa;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 600;
    font-size: 18px;
}

#stripe-card-element {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 20px 0;
    background: white;
}

.StripeElement {
    padding: 0;
}

.StripeElement--focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.StripeElement--invalid {
    border-color: #dc3545;
}

@media (max-width: 768px) {
    .acf-form-container {
        padding: 15px;
    }
    
    .acf-step {
        padding: 20px 15px;
    }
    
    .acf-nav-buttons {
        flex-direction: column;
    }
    
    .acf-nav-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .acf-option label {
        padding: 15px;
    }
    
    .acf-payment-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .acf-progress-bar {
        padding: 15px 10px;
        margin-bottom: 30px;
    }
    
    .acf-progress-step {
        min-width: 60px;
    }
    
    .acf-progress-step span {
        font-size: 11px;
    }
    
    .acf-progress-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .acf-progress-line {
        max-width: 40px;
        margin: 0 5px;
    }
}