#mwc-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.mwc-hidden {
    display: none !important;
}

.mwc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75) !important;
}

.mwc-box {
    position: relative;
    background: #121212 !important;
    color: #eee !important;
    width: 92%;
    max-width: 420px;
    margin: 8vh auto;
    padding: 22px;
    border-radius: 14px !important;
    z-index: 2;
}

.mwc-close {
    position: absolute;
    top: -16px;
    right: -16px;
    padding: 0 !important;
    background: #222 !important;
    border-radius: 50% !important;
    width: 36px;
    height: 36px;
    color: #fff !important;
    border: none;
    font-size: 18px !important;
    cursor: pointer !important;
}

.mwc-sub {
    color: #aaa !important;
    font-size: 14px !important;
}

.mwc-tabs {
    display: flex;
    margin-top: 16px;
}

.mwc-tabs button {
    flex: 1;
    background: #1f1f1f !important;
    color: #bbb !important;
    border: none !important;
    padding: 10px !important;
    cursor: pointer !important;
}

.mwc-tabs button.active {
    background: #333 !important;
    color: #fff !important;
}

.mwc-tab {
    display: none;
    margin-top: 12px;
}

.mwc-tab.active {
    display: block;
}

.mwc-tab input,
.mwc-tab select {
    width: 100%;
    padding: 10px !important;
    background: #1b1b1b !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    color: #fff !important;
    margin-bottom: 8px !important;
}

.mwc-note {
    text-align: center;
}

#mwc-send {
    width: 100%;
    padding: 12px !important;
    background: #4caf50 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

.mwc-divider {
    text-align: center;
    margin: 16px 0;
    position: relative;
}

.mwc-divider span {
    background: #121212 !important;
    padding: 0 10px !important;
    color: #777 !important;
}

.mwc-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #333 !important;
}

#mwc-open-browser {
    text-align: center;
}


.mwc-loading {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92) !important;
    z-index: 999;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    pointer-events: all;
}

.mwc-loading p {
    color: #e5e5e5 !important;
    font-size: 14px !important;
    margin-top: 12px !important;
}

.mwc-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid #444 !important;
    border-top-color: #25D366 !important;
    border-radius: 50% !important;
    animation: mwc-spin 0.9s linear infinite;
}

@keyframes mwc-spin {
    to { transform: rotate(360deg); }
}
