/*
 * Payment Notice CSS for Manus Billing Lock
 * Version 1.0.0
 */

	.mbl-payment-notice-bar {
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 100%;
	    background-color: #ffc107; /* Warning color */
	    color: #333;
	    z-index: 999999999 !important; /* Maximum z-index for absolute priority */
	    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	    padding: 10px 20px;
	    box-sizing: border-box;
	    filter: none !important; /* Explicitly ensure no blur */
	    transform: none !important; /* Prevent any unwanted transforms */
	    -webkit-filter: none !important; /* Webkit-specific filter reset */
	    -webkit-transform: none !important; /* Webkit-specific transform reset */
	    isolation: isolate; /* Create a new stacking context */
	}

.mbl-notice-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.mbl-notice-content p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    flex-grow: 1;
}

/* Countdown Timer Styles */
.mbl-countdown {
    font-size: 14px;
    font-weight: 600;
    color: #856404;
    margin: 5px 15px;
    flex-shrink: 0;
}

.mbl-toggle-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

.mbl-toggle-button:hover {
    background-color: #c82333;
}

.mbl-details-panel {
    background-color: #fff3cd; /* Lighter background for details */
    padding: 15px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #ffeeba;
    max-width: 1200px;
    margin: 10px auto 0;
}

.mbl-details-panel h3, .mbl-details-panel h4 {
    margin-top: 0;
    color: #856404;
    border-bottom: 1px solid #ffeeba;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.mbl-details-panel ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.mbl-details-panel li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.mbl-details-panel a {
    color: #007bff;
    text-decoration: none;
}

.mbl-details-panel .mbl-note {
    font-size: 12px;
    color: #6c757d;
}

/* Solid Overlay Effect for Site Content */
body.mbl-overlay-content {
    position: relative;
    overflow: hidden; /* Prevent scrolling when blocked */
}

body.mbl-overlay-content::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark, opaque overlay */
    z-index: 999999998; /* Just below the notice bar */
    pointer-events: none; /* Allow interaction with elements above the overlay */
}

/* Ensure the notice is NOT affected by the overlay */
.mbl-payment-notice-bar {
    z-index: 999999999 !important; /* Must be higher than the overlay */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mbl-notice-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .mbl-notice-content p {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .mbl-toggle-button {
        width: 100%;
        padding: 10px;
    }
    
    .mbl-countdown {
        margin: 5px 0 10px 0;
        width: 100%;
        text-align: center;
    }
}
