/* ============================================================
   Carpyx Lab Reload — Account Access Overlay (central SAS)
   FILE: public/assets/css/member/account-overlay.css
   Responsibility: style ONLY for the account overlay
   ============================================================ */

.member-account-overlay-root {
    position: fixed;
    inset: 0;
    z-index: 2400;

    /* IMPORTANT: do NOT block map interactions outside modal */
    pointer-events: none;
}

/* Modal itself captures clicks */
.member-account-overlay {
    width: min(560px, calc(100vw - 24px));
    margin: 0 auto;
    margin-top: 14vh;

    pointer-events: auto;

    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);

    background: rgba(20, 20, 20, 0.78);
    color: #f5f7fa;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    padding: 16px;
}

.member-account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.member-account-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.member-account-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(40, 40, 40, 0.6);
    color: #f5f7fa;

    cursor: pointer;
}

.member-account-close:hover {
    background: rgba(55, 55, 55, 0.75);
}

.member-account-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-form-row label {
    font-size: 12px;
    opacity: 0.85;
}

.member-input {
    height: 40px;
    border-radius: 12px;
    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 10, 10, 0.35);
    color: #f5f7fa;
}

.member-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.member-btn {
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(40, 40, 40, 0.65);
    color: #f5f7fa;

    cursor: pointer;
}

.member-btn:hover {
    background: rgba(55, 55, 55, 0.8);
}

.member-btn.primary {
    border-color: rgba(95, 209, 255, 0.55);
}

.member-inline-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    opacity: 0.9;
}

.member-inline-links button {
    all: unset;
    cursor: pointer;
    color: #5fd1ff;
}

.member-hint {
    font-size: 12px;
    opacity: 0.85;
    line-height: 1.45;
}

.member-message {
    font-size: 12px;
    line-height: 1.45;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 10, 0.25);
}

/* UI-HIDDEN (choice #1 = B) */
body.ui-hidden #member-account-overlay-root {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}