html, body {
    margin: 0 !important;
    padding: 0 !important;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    line-height: inherit;
}

.nd-page{
    /* ===== Theme tokens (new dark neumorphism) ===== */
    --bg: #0A0A0A;
    --bg-elevated: #191919;

    --surface: #3A3A3A;
    --surface-2: #474747;

    --text: #B4B4B4;
    --muted: #89877F;

    --ink: #D7D7D7;              /* более “яркий” текст, если нужен */
    --line: #5B5B5A;

    --accent: #F8E663;
    --accent-pressed: #EBD84F;
    --accent-soft: rgba(248, 230, 99, .18);

    --radius-xl: 26px;
    --radius-lg: 18px;

    /* Shadows closer to your screenshot */
    --shadow-1: 0 18px 60px rgba(0,0,0,.55);
    --shadow-2: 0 10px 32px rgba(0,0,0,.45);
    --shadow-soft: 0 16px 40px rgba(0,0,0,.35);

    min-height: 100vh;
    background:
            radial-gradient(900px 500px at 70% 40%, rgba(248, 230, 99, .10), transparent 60%),
            radial-gradient(800px 520px at 20% 70%, rgba(255,255,255,.05), transparent 62%),
            var(--bg);
    color: var(--text);
    overflow-x: clip;
    font-family: "Quicksand", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.nd-container{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}


/* ===== Nav ===== */
.nd-nav{
    position: relative;
    padding: 26px 0 10px;
}
.nd-nav-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.nd-brand{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.nd-brand-mark{
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
}
.nd-brand-mark svg{ width: 34px; height: 34px; }

.nd-brand-text{ display: grid; gap: 3px; }
.nd-brand-name{ font-weight: 600; font-size: 15px; letter-spacing: .1px; opacity: .9; }

.nd-brand-scribble{
    width: 92px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(248,230,99,0), rgba(248,230,99,.70), rgba(248,230,99,0));
    transform: translateY(-2px);
    filter: blur(.2px);
    opacity: .75;
}

.nd-menu{ margin-left: auto; }

.nd-burger{
    display:none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    border-radius: 12px;
    cursor: pointer;
}
.nd-burger span{
    display:block;
    height: 2px;
    width: 22px;
    background: rgba(180,180,180,.85);
    margin: 5px auto;
    border-radius: 999px;
}

.nd-menu-links{
    display: flex;
    align-items: center;
    gap: 28px;
}
.nd-menu-spacer{ width: 20px; }

.nd-link{
    position: relative;
    text-decoration: none;
    color: rgba(180,180,180,.75);
    font-size: 13px;
    letter-spacing: .22px;
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
}
.nd-link:hover{ color: rgba(220,220,220,.92); }

.nd-link.is-active{
    color: var(--accent);
}

.nd-link-ink{
    position: absolute;
    left: 50%;
    top: 22px;
    width: 36px;
    height: 12px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(248,230,99,0), rgba(248,230,99,.75), rgba(248,230,99,0));
    border-radius: 999px;
    filter: blur(.2px);
    opacity: .9;
}

.nd-link-ghost{
    color: rgba(180,180,180,.55);
    letter-spacing: .34px;
}
.nd-link-cta{
    color: var(--accent);
    letter-spacing: .34px;
}


/* ===== Auth modal ===== */
.nd-modal-open{
    overflow: hidden;
}

.nd-modal-open .nd-nav,
.nd-modal-open .nd-hero,
.nd-modal-open .nd-footer{
    filter: blur(10px);
    transform: translateZ(0);
    transition: filter .18s ease;
}

.nd-auth-overlay{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: auto;
}

.nd-auth-glow{
    position: absolute;
    width: min(720px, 92vw);
    height: min(720px, 92vw);
    border-radius: 999px;
    background:
            radial-gradient(circle at 35% 35%, rgba(248,230,99,.22), transparent 60%),
            radial-gradient(circle at 65% 70%, rgba(255,255,255,.10), transparent 62%);
    filter: blur(12px);
    opacity: .9;
}

.nd-auth-modal{
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 36px);
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(58,58,58,.92);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-1);
}

.nd-auth-x{
    position:absolute;
    right: 20px;
    top: 10px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.25);
    cursor:pointer;
    font-size: 18px;
    font-weight: 900;
    color: rgba(220,220,220,.70);
}

.nd-auth-title{
    font-weight: 900;
    font-size: 18px;
    color: rgba(240,240,240,.92);
}
.nd-auth-sub{
    margin-top: 4px;
    color: rgba(180,180,180,.60);
    font-weight: 800;
    font-size: 12px;
}

.nd-auth-form{ margin-top: 14px; display:grid; gap: 12px; }
.nd-auth-row{ display:grid; gap: 8px; }
.nd-auth-label{ font-weight: 900; font-size: 12px; color: rgba(180,180,180,.75); }


/* ===== Common (adapted) ===== */
.nd-hero{
    padding: 36px 0 0;
}

.nd-hero-inner{
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    align-items: start;
}


/* ===== Responsive ===== */
@media (max-width: 980px){
    .nd-hero-inner{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nd-pay{ justify-content: flex-start; }
}

@media (max-width: 760px){
    .nd-container{ padding: 0 18px; }

    .nd-burger{ display:block; }
    .nd-menu-links{
        position: absolute;
        right: 18px;
        top: 76px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background: rgba(58,58,58,.92);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 18px;
        padding: 14px;
        box-shadow: var(--shadow-2);
        display: none;
        min-width: 220px;
        backdrop-filter: blur(8px);
    }
    .nd-menu-links.is-open{ display:flex; }
    .nd-menu-spacer{ display:none; }

    .nd-footer-cols{ flex-direction: column; gap: 18px; }
}


.nd-btn{
    height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    border: 0;
    cursor:pointer;
    color: rgba(20,20,20,.95);
    font-weight: 900;
    display:flex;
    align-items:center;
    gap: 10px;
    background: linear-gradient(180deg, rgba(248,230,99,.98), rgba(235,216,79,.98));
    box-shadow: 0 16px 40px rgba(0,0,0,.40), 0 10px 26px rgba(248,230,99,.12);
}

.nd-btn-ghost{
    height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    cursor:pointer;
    color: rgba(180,180,180,.82);
    font-weight: 900;
    display:flex;
    align-items:center;
    gap: 10px;
}
.nd-btn-ghost:hover{
    border-color: rgba(248,230,99,.25);
    background: rgba(248,230,99,.06);
}
.nd-btn-ghost.danger,
.nd-icon-btn.danger{
    border-color: rgba(255,91,200,.20);
}
.nd-btn-ghost.danger:hover,
.nd-icon-btn.danger:hover{
    border-color: rgba(255,91,200,.35);
    background: rgba(255,91,200,.08);
}

.nd-icon-btn{
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    cursor:pointer;
    color: rgba(180,180,180,.82);
}
.nd-icon-btn:hover{
    background: rgba(255,255,255,.06);
}

.nd-pager{
    margin-top: 12px;
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 12px;
}
.nd-pager-mid{
    display:flex;
    align-items:center;
    gap: 10px;
    color: rgba(240,240,240,.80);
    font-weight: 900;
    font-size: 12px;
}

@media (max-width: 740px){
    .nd-card-head{ flex-direction: column; align-items: stretch; }
    .nd-btn{ width: 100%; justify-content:center; }
    .nd-cards{ display:grid; }
    .nd-pager{ flex-direction: column; align-items: stretch; }
    .nd-pager-mid{ justify-content:center; }
    .nd-btn-ghost{ justify-content:center; }
}

.nd-divider-yellow{
    height: 1px;
    margin: 10px 0 14px;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(248, 230, 99, 0.9),
            transparent
    );
}

@media (max-width: 640px){
    .nd-divider-yellow{
        margin: 8px 0 12px;
        box-shadow: 0 0 8px rgba(248,230,99,.25);
    }
}

.nd-tabs{
    margin-top: 14px;
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nd-tab{
    display:flex;
    align-items:center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
    color: rgba(180,180,180,.82);
    font-weight: 900;
    cursor: pointer;
}
.nd-tab i{ color: rgba(248,230,99,.90); }
.nd-tab:hover{
    background: rgba(248,230,99,.06);
    border-color: rgba(248,230,99,.20);
}
.nd-tab.is-active{
    background: rgba(248,230,99,.10);
    border-color: rgba(248,230,99,.30);
    color: rgba(248,230,99,.95);
    box-shadow: 0 10px 24px rgba(248,230,99,.12);
}

.nd-card{
    margin-top: 14px;
    border-radius: var(--radius-xl);
    background: rgba(58,58,58,.92);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-2);
    padding: 14px;
}

.nd-card-head{
    display:flex;
    align-items:flex-start;
    justify-content: space-between;
    gap: 12px;
}

.nd-card-title{
    font-weight: 900;
    color: rgba(240,240,240,.92);
    font-size: 16px;
}

.nd-card-sub{
    margin-top: 4px;
    color: rgba(180,180,180,.65);
    font-weight: 800;
    font-size: 12px;
}


.nd-alert{
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,91,200,.25);
    background: rgba(255,91,200,.08);
    color: rgba(240,240,240,.92);
    font-weight: 800;
}

.nd-empty{
    margin-top: 14px;
    border-radius: 14px;
    border: 1px dashed rgba(255,255,255,.12);
    padding: 16px;
    text-align:center;
}
.nd-empty-title{ font-weight: 900; color: rgba(240,240,240,.92); }
.nd-empty-sub{ margin-top: 4px; color: rgba(180,180,180,.65); font-weight: 800; font-size: 12px; }

.nd-table-wrap{ margin-top: 12px; overflow:auto; }
.nd-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    min-width: 700px;
}
.nd-table thead th{
    text-align:left;
    font-size: 12px;
    color: rgba(180,180,180,.65);
    font-weight: 900;
    padding: 0 12px;
}
.nd-table tbody tr{
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.08);
}
.nd-table tbody td{
    padding: 12px;
    color: rgba(240,240,240,.90);
    font-weight: 800;
}
.nd-table tbody tr td:first-child{ border-radius: 14px 0 0 14px; }
.nd-table tbody tr td:last-child{ border-radius: 0 14px 14px 0; }

.nd-col-actions{ width: 64px; }
.nd-actions{ display:flex; justify-content:flex-end; gap:6px; }
.nd-mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.nd-dim{ color: rgba(180,180,180,.65); font-weight: 800; }

.nd-cards{ display:none; margin-top: 12px; gap: 10px; }
.nd-mini-card{
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
    padding: 12px;
}
.nd-mini-row{ display:flex; justify-content:space-between; gap: 12px; padding: 6px 0; }
.nd-mini-label{ color: rgba(180,180,180,.65); font-weight: 900; font-size: 12px; }
.nd-mini-value{ color: rgba(240,240,240,.90); font-weight: 900; font-size: 12px; text-align:right; max-width: 65%; overflow:hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-mini-actions{ margin-top: 10px; display:flex; justify-content:flex-end; }

.nd-modal-overlay{
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.55);
    display:grid;
    place-items:center;
    padding: 16px;
}
.nd-modal{
    width: min(560px, 100%);
    border-radius: var(--radius-xl);
    background: rgba(58,58,58,.98);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 40px 120px rgba(0,0,0,.55);
    padding: 14px;
}
.nd-modal-head{
    display:flex;
    justify-content: space-between;
    align-items:flex-start;
    gap: 10px;
}
.nd-modal-title{ font-weight: 900; color: rgba(240,240,240,.92); font-size: 16px; }
.nd-modal-sub{ margin-top: 4px; color: rgba(180,180,180,.65); font-weight: 800; font-size: 12px; }

.nd-form{ margin-top: 12px; display:grid; gap: 10px; }
.nd-field label{ display:block; font-weight: 900; font-size: 12px; color: rgba(180,180,180,.65); margin-bottom: 6px; }
.nd-input{
    width: 100%;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    color: rgba(240,240,240,.92);
    padding: 0 12px;
    font-weight: 900;
    outline: none;
}
.nd-input:focus{
    border-color: rgba(248,230,99,.35);
    box-shadow: 0 0 0 4px rgba(248,230,99,.10);
}

.nd-modal-actions{
    margin-top: 6px;
    display:flex;
    justify-content:flex-end;
    gap: 10px;
}


.nd-inbox-card{
    margin-top: 14px;
    border-radius: var(--radius-xl);
    background: rgba(58,58,58,.92);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-2);
    padding: 14px;
}

.nd-inbox-head{
    display:flex;
    align-items:flex-start;
    justify-content: space-between;
    gap: 12px;
}

.nd-inbox-title{
    font-weight: 900;
    color: rgba(240,240,240,.92);
    font-size: 16px;
}

.nd-inbox-sub{
    margin-top: 4px;
    color: rgba(180,180,180,.65);
    font-weight: 800;
    font-size: 12px;
}

.nd-inbox-table{ min-width: 860px; }

.nd-row-click{
    cursor:pointer;
    transition: transform .08s ease, filter .08s ease;
}
.nd-row-click:hover{
    filter: brightness(1.03);
}
.nd-subject-line{
    display:flex;
    align-items:center;
    gap: 10px;
}
.nd-dot{
    margin-left: 12px;
    margin-right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    color: rgba(248,230,99,.85);
    box-shadow: 0 10px 24px rgba(248,230,99,.18);
    flex: 0 0 auto;
}
.nd-subject-text{
    font-weight: 900;
    color: rgba(240,240,240,.92);
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 520px;
}
.nd-trim{
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 240px;
}

.nd-col-unread{ width: 90px; }

.nd-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    color: rgba(20,20,20,.95);
    background: linear-gradient(180deg, rgba(248,230,99,.98), rgba(235,216,79,.98));
}

.nd-inbox-cards{
    display:grid;
    gap: 12px;
    margin-top: 12px;
}

.nd-inbox-mini{
    width: 100%;
    display: block;
    text-align:left;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
    padding: 14px;
    cursor:pointer;
    min-width: 0;
}

.nd-inbox-mini.unread{
    background: rgba(248, 230, 99, .10);
    border-color: rgba(248, 230, 99, .30);
    color: rgba(248, 230, 99, .95);
    box-shadow: 0 10px 24px rgba(248, 230, 99, .12);
}

.nd-inbox-mini:hover{
    border-color: rgba(248,230,99,.20);
    background: rgba(248,230,99,.06);
}

.nd-inbox-mini-top{
    display:flex;
    align-items:flex-start;
    justify-content: space-between;
    gap: 10px;
}

.nd-inbox-mini-subject{
    display:flex;
    align-items:center;
    gap: 10px;
    font-weight: 900;
    color: rgba(240,240,240,.92);
    font-size: 14px;
}

.nd-inbox-mini-meta{
    margin-top: 8px;
    display:flex;
    align-items:center;
    gap: 10px;
    color: rgba(180,180,180,.82);
    font-weight: 800;
    font-size: 12px;
}

.nd-inbox-mini-time{
    margin-top: 6px;
    color: rgba(180,180,180,.65);
    font-weight: 800;
    font-size: 12px;
}

@media (max-width: 740px){
    .nd-inbox-cards{ display:grid; }
    .nd-inbox-head{ flex-direction: column; align-items: stretch; }
}

/* ===== LIST CONTAINER ===== */
.nd-list {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

/* ===== ROW (CLICKABLE) ===== */
.nd-row {
    all: unset;
    cursor: pointer;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;

    padding: 14px 16px;
    border-radius: 14px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);

    transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

.nd-row:hover {
    background: rgba(248,230,99,0.06);
    border-color: rgba(248,230,99,0.25);
}

.nd-row:active {
    transform: translateY(1px);
}

/* ===== ACTIVE ROW ===== */
.nd-row.is-active {
    background: rgba(248,230,99,0.10);
    border-color: rgba(248,230,99,0.35);
    box-shadow: 0 8px 24px rgba(248,230,99,0.12);
}

/* ===== MAIN CONTENT ===== */
.nd-row-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nd-row-title {
    font-weight: 900;
    color: rgba(240,240,240,.95);
    font-size: 14px;
}

/* ===== SUB TEXT ===== */
.nd-row-sub {
    font-size: 12px;
    font-weight: 700;
    color: rgba(180,180,180,.65);
    line-height: 1.4;
}

/* ===== RIGHT META (OPTIONAL) ===== */
.nd-row-meta {
    font-size: 12px;
    font-weight: 800;
    color: rgba(248,230,99,.9);
}

/* ===== EMPTY STATE ===== */
.nd-empty {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.08);
    text-align: center;
}

.nd-empty-title {
    font-weight: 900;
    color: rgba(240,240,240,.9);
}

.nd-empty-sub {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(180,180,180,.6);
}

.nd-btn-primary{
    background: linear-gradient(180deg, rgba(248,230,99,.98), rgba(235,216,79,.98));
    color: rgba(20,20,20,.95);
    font-weight: 900;
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
}


.nd-help {
    display: flex;
    gap: 10px;
    align-items: flex-start;

    margin-top: 12px;
    padding: 12px 14px;

    border-radius: 12px;
    background: rgba(248,230,99,0.06);
    border: 1px solid rgba(248,230,99,0.25);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;

    color: rgba(240,240,240,0.9);
}

.nd-help::before {
    content: "💡";
    font-size: 16px;
    line-height: 1.2;
    margin-top: 1px;
}

/* ===== Textarea base ===== */
.nd-textarea{
    width: 100%;
    min-height: 260px;
    resize: vertical;
    padding: 14px 14px;
    margin-top:12px;
    border-radius: 14px;

    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(240,240,240,.92);

    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.nd-textarea:focus{
    border-color: rgba(248,230,99,.30);
    box-shadow:
            0 0 0 3px rgba(248,230,99,.12),
            inset 0 1px 0 rgba(255,255,255,.05);
}

/* ===== Nice scrollbars (Chrome/Edge/Safari) ===== */
.nd-textarea::-webkit-scrollbar{
    width: 12px;
    height: 12px;
}

.nd-textarea::-webkit-scrollbar-track{
    background: rgba(0,0,0,.18);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.06);
}

.nd-textarea::-webkit-scrollbar-thumb{
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    border: 3px solid rgba(0,0,0,.18); /* делает "капсулу" */
}

.nd-textarea::-webkit-scrollbar-thumb:hover{
    background: rgba(255,255,255,.26);
}

/* желтый акцент когда фокус в поле */
.nd-textarea:focus::-webkit-scrollbar-thumb{
    background: rgba(248,230,99,.35);
}

.nd-textarea:focus::-webkit-scrollbar-thumb:hover{
    background: rgba(248,230,99,.50);
}

/* ===== Firefox ===== */
.nd-textarea{
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.22) rgba(0,0,0,.18);
}

.nd-textarea:focus{
    scrollbar-color: rgba(248,230,99,.45) rgba(0,0,0,.18);
}

.nd-select{
    width: 100%;
    height: 42px;
    padding: 0 40px 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(248,230,99,.28);
    background: rgba(17,18,20,.65);
    color: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}

.nd-select:focus{
    border-color: rgba(248,230,99,.55);
    box-shadow: 0 0 0 3px rgba(248,230,99,.14), 0 10px 28px rgba(0,0,0,.45);
}

/* стрелка */
.nd-select-wrap{
    position: relative;
    display: inline-block;
    width: 100%;
}

.nd-select-wrap:after{
    content:"";
    position:absolute;
    right: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid rgba(248,230,99,.85);
    border-bottom: 2px solid rgba(248,230,99,.85);
    pointer-events: none;
    opacity: .9;
}

/* --- What browsers allow inside dropdown --- */
.nd-select option{
    background: rgb(22,23,26);   /* dark */
    color: rgba(255,255,255,.92);
}

/* hover/selected styling is browser-limited, но это улучшает */
.nd-select option:checked{
    background: rgb(40,40,46);
}

/* ===== Email details modal — field rows =====
   Rendered via RenderTreeBuilder in C# (DetailField), so styles cannot
   live in the scoped Settings.razor.css — they must be global. */

.nd-dfield{
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px 0;
}

.nd-dfield-label{
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(180,180,180,.50);
    padding-left: 2px;
}

.nd-dfield-row{
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 6px 6px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(0,0,0,.18);
    transition: border-color .15s, background .15s;
}

.nd-dfield-row:hover{
    border-color: rgba(255,255,255,.12);
    background: rgba(0,0,0,.26);
}

.nd-dfield-row:focus-within{
    border-color: rgba(248,230,99,.30);
    background: rgba(0,0,0,.26);
}

.nd-dfield-value{
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: rgba(240,240,240,.92);
    overflow-wrap: anywhere;
    line-height: 1.35;
    min-width: 0;
}

.nd-dfield-value.is-masked{
    letter-spacing: 2px;
    color: rgba(200,200,200,.78);
}

.nd-dfield-value.is-dim{
    color: rgba(180,180,180,.38);
    font-weight: 600;
}

.nd-dfield-actions{
    display: flex;
    gap: 2px;
    flex-shrink: 0;
    opacity: .75;
    transition: opacity .15s;
}

.nd-dfield-row:hover .nd-dfield-actions,
.nd-dfield-row:focus-within .nd-dfield-actions{
    opacity: 1;
}

.nd-dfield-btn{
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(200,200,200,.70);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: color .15s, background .15s, border-color .15s;
}

.nd-dfield-btn:hover{
    color: #f8e663;
    background: rgba(248,230,99,.08);
    border-color: rgba(248,230,99,.22);
}

.nd-dfield-btn.is-copied,
.nd-dfield-btn.is-copied:hover{
    color: #adffcc;
    background: rgba(45,163,97,.16);
    border-color: rgba(135,255,184,.38);
}
