.mf-form-control {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

/* Green button: Book Now */
#mf-open-popup {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    background-color: #000; /* NTIA-style green */
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#mf-open-popup:hover {
    background-color: #7A9D78;
    border-color: #000;
}

/* Black button: Continue to Payment */
button.mf-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    background-color: #7a9d78;
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

button.mf-button:hover {
    background-color: #000;
}


.mf-note {
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
    font-style: italic;
}


#mf-modal h3 {
    margin-top: 0;
}

/* Modal overlay */
#mf-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto; /* allow scroll on overflow */
    padding: 30px;     /* spacing for top/bottom breathing room */
}

/* Show modal */
#mf-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* Modal content box */
#mf-modal .mf-modal-content {
    background: #fff;
    padding: 40px 30px;
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

#mf-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s ease;
}

#mf-modal-close:hover {
    color: #000;
}

.mf-spinner {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.mf-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
    color: #fff;
    display: none;
}

.mf-toast.show {
    display: block;
    opacity: 1;
}

.mf-toast.success {
    background-color: #28a745; /* green */
}

.mf-toast.error {
    background-color: #cc1b6f; /* NTIA red/pink */
}

.mf-toast-icon {
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}

.mf-toast-message {
    vertical-align: middle;
}



@keyframes spin {
    to { transform: rotate(360deg); }
}


@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
