/* ==========================================================================
   MyRepublic Theme - Helper & Modal Styles Only
   (No overrides for Themify Header or Navigation to maintain 100% parity)
   ========================================================================== */

/* Quick Order Modal */
.mr-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.mr-modal-container {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: mrModalZoom 0.25s ease-out;
}

@keyframes mrModalZoom {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.mr-modal-header {
    background: linear-gradient(135deg, #521c74 0%, #e6007e 100%);
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mr-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.mr-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
}

.mr-modal-close:hover {
    opacity: 1;
}

.mr-modal-body {
    padding: 24px;
}

.mr-modal-desc {
    font-size: 13px;
    color: #666;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.mr-form-group {
    margin-bottom: 14px;
}

.mr-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.mr-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
}

.mr-form-control:focus {
    border-color: #e6007e;
    outline: none;
}

.mr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.mr-btn-block { width: 100%; }

.mr-btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.mr-btn-whatsapp:hover {
    background: #20b858;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
