/* ===== AXO Modal Styles ===== */
.axo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--dark);
    background: var(--light);
}

.axo-form-detailed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    padding: 20px;
    background: var(--light);
    border-radius: var(--border-radius);
}

.form-section h4 {
    margin-bottom: 15px;
    color: var(--dark);
}

.axo-form-detailed label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    font-weight: 500;
}

.axo-form-detailed input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.axo-form-detailed label:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: center;
}

.form-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 10px;
}

/* ===== AXO Animations ===== */
[data-axo-observe] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-axo-observe].axo-visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card {
    transition: opacity 0.3s ease;
}

/* ===== Responsive Modals ===== */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .form-section {
        padding: 15px;
    }
}