﻿/* Dialog sizing */
.lgx-modal-dialog {
    max-width: 520px;
}

/* iPhone Liquid Glass */
.lgx-glass {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(16,18,22,.55);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.10);
    overflow: hidden;
}

    .lgx-glass::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(700px 260px at 20% 0%, rgba(255,255,255,.12), transparent 60%), radial-gradient(520px 220px at 85% 15%, rgba(120,180,255,.10), transparent 55%), radial-gradient(520px 260px at 60% 110%, rgba(255,120,180,.10), transparent 55%);
        filter: blur(2px);
        pointer-events: none;
    }

    .lgx-glass::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(255,255,255,.03), transparent 38%, rgba(0,0,0,.16) );
        pointer-events: none;
    }

/* Header */
.lgx-header {
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    padding: 14px 16px;
}

.lgx-title {
    color: #fff;
    font-weight: 700;
    letter-spacing: .2px;
}

.lgx-close {
    opacity: .9;
}

/* Body */
.lgx-body {
    position: relative;
    padding: 16px;
    color: rgba(255,255,255,.92);
}

.lgx-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #8fb8ff;
    background: rgba(90,140,255,.16);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    flex: 0 0 auto;
}

.lgx-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.lgx-sub {
    font-size: .86rem;
    color: rgba(255,255,255,.65);
}

.lgx-sep {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,.10);
    margin: 14px 0;
}

.lgx-grid {
    display: grid;
    gap: 12px;
}

.lgx-item {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0,0,0,.14);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.lgx-label {
    font-size: .72rem;
    letter-spacing: .14em;
    color: rgba(255,255,255,.50);
    margin-bottom: 4px;
}

.lgx-value {
    font-size: .95rem;
    color: rgba(255,255,255,.92);
}

/* Buttons */
.lgx-btn {
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

.lgx-btn-ghost {
    background: rgba(0,0,0,.12);
    color: rgba(255,255,255,.92);
}

    .lgx-btn-ghost:hover {
        background: rgba(255,255,255,.06);
        color: #fff;
    }

.lgx-btn-danger {
    background: rgba(220, 53, 69, .85);
    color: #fff;
    border-color: rgba(255,255,255,.12);
}

    .lgx-btn-danger:hover {
        background: rgba(220, 53, 69, .95);
        color: #fff;
    }

/* Optional: nicer backdrop */
.modal-backdrop.show {
    opacity: .55;
}
