/* =========================================
   Environment Banner (DEV / STAGING / PROD)
   ========================================= */
.env-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 6px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    z-index: 9999;
}

/* Keep body content from sliding under the fixed banner */
body.env-banner-active {
    padding-top: 34px;
}

.env-dev {
    background-color: #e67e22;
}

.env-staging {
    background-color: #8e44ad;
}

.env-prod {
    background-color: #2ecc71;
}

.env-localhost {
    background-color: #3498db;
}

.px-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.px-modal.hidden {
    display: none;
}

.px-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.px-modal-card {
    position: relative;
    max-width: 420px;
    margin: 15vh auto;
    background: #0f1c2e;
    border-radius: 12px;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.px-modal-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

.px-modal-body {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.px-modal-actions {
    margin-top: 20px;
    text-align: right;
}

.px-btn-primary {
    background: #2bb673;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
}
