/* ACC Elementor Widget Styles */

.acc-elementor-wrapper {
    margin: 0 auto;
}

.acc-elementor-wrapper .acc-checkout-box {
    margin: 0 auto;
    display: inline-block;
}

/* Ensure proper alignment */
.acc-elementor-wrapper[style*="text-align: left"] .acc-checkout-box {
    margin-left: 0;
    margin-right: auto;
}

.acc-elementor-wrapper[style*="text-align: right"] .acc-checkout-box {
    margin-left: auto;
    margin-right: 0;
}

.acc-elementor-wrapper[style*="text-align: center"] .acc-checkout-box {
    margin-left: auto;
    margin-right: auto;
}

/* Editor preview styles */
.elementor-editor-active .acc-elementor-preview {
    background: #f9f9f9;
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.elementor-editor-active .acc-elementor-preview h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.elementor-editor-active .acc-elementor-preview p {
    margin: 0;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .acc-elementor-wrapper .acc-checkout-box {
        max-width: 100% !important;
        width: 100%;
    }
}
