/*********************************************************************
	Global Maintenance Mode Overlay - Lightweight & Fast
**********************************************************************/

/* Maintenance overlay - Solid background for better performance */
.vhp-maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    animation: fadeIn 0.3s ease-in;
}

/* Card container - Clean & lightweight */
.vhp-maintenance-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 50px 60px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease-out;
}

/* Icon container - Simpler animation */
.vhp-maintenance-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.vhp-maintenance-icon svg {
    width: 64px;
    height: 64px;
    stroke: #1A7EFF;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Title */
.vhp-maintenance-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    font-family: "Open Sans", sans-serif;
}

/* Message text */
.vhp-maintenance-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 32px 0;
    font-family: "Open Sans", sans-serif;
}

/* Refresh button - Solid color for performance */
.vhp-maintenance-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1A7EFF;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: "Open Sans", sans-serif;
    box-shadow: 0 2px 8px rgba(26, 126, 255, 0.25);
}

.vhp-maintenance-button:hover {
    background: #0056d2;
    box-shadow: 0 4px 12px rgba(26, 126, 255, 0.35);
}

.vhp-maintenance-button:active {
    background: #003d99;
}

.vhp-maintenance-button svg {
    width: 18px;
    height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Removed heavy pulse animation for better performance */

/* Responsive design */
@media screen and (max-width: 768px) {
    .vhp-maintenance-card {
        padding: 40px 30px;
        max-width: 90%;
    }

    .vhp-maintenance-title {
        font-size: 24px;
    }

    .vhp-maintenance-message {
        font-size: 14px;
    }

    .vhp-maintenance-icon {
        font-size: 48px;
    }

    .vhp-maintenance-icon svg {
        width: 48px;
        height: 48px;
    }
}

@media screen and (max-width: 480px) {
    .vhp-maintenance-card {
        padding: 30px 20px;
    }

    .vhp-maintenance-title {
        font-size: 20px;
    }

    .vhp-maintenance-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Prevent body scroll when maintenance mode is active */
body.vhp-maintenance-active {
    overflow: hidden;
}
