/* Fullscreen popup - clean glass UI */

.wmfs-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wmfs-hidden {
    display: none !important;
}

.wmfs-card {
    width: min(560px, 92vw);
    border-radius: 16px;
    padding: 16px;
    color: rgba(255, 255, 255, 0.92);
    font:
        14px/1.35 system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        sans-serif;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.06)
    );
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.wmfs-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.wmfs-title {
    font-size: 16px;
    font-weight: 650;
    letter-spacing: 0.2px;
}

.wmfs-sub {
    margin-top: 2px;
    font-size: 12px;
    opacity: 0.72;
}

.wmfs-pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.18);
    font-size: 12px;
    white-space: nowrap;
}

/* On-launch row */
.wmfs-switchRow {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.wmfs-switchText {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wmfs-switchTitle {
    font-weight: 650;
}
.wmfs-switchSub {
    font-size: 12px;
    opacity: 0.68;
}

/* Toggle button (green/red) */
.wmfs-toggleBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    user-select: none;
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

.wmfs-toggleBtn .wmfs-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.wmfs-toggleBtn.wmfs-on {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(80, 255, 160, 0.35);
}

.wmfs-toggleBtn.wmfs-on .wmfs-dot {
    background: rgba(80, 255, 160, 0.95);
    box-shadow: 0 0 0 3px rgba(80, 255, 160, 0.18);
}

.wmfs-toggleBtn.wmfs-off {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 90, 90, 0.35);
}

.wmfs-toggleBtn.wmfs-off .wmfs-dot {
    background: rgba(255, 90, 90, 0.95);
    box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.18);
}

.wmfs-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.wmfs-btn {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 255, 255, 0.92);
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
}

.wmfs-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.22);
}

.wmfs-ghost {
    background: transparent;
}

.wmfs-hint {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.65;
}
