/* =====================================================
   NIKOTAXI – FELLES POPUP-STANDARD
   ===================================================== */

.nt-driver-overlay,
.nt-wish-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .78);
}

.nt-driver-overlay { z-index: 100001; }
.nt-wish-overlay { z-index: 100000; }

.nt-driver-dialog,
.nt-wish-dialog {
    box-sizing: border-box;
    width: min(560px, 100%);
    max-height: 85vh;
    overflow: auto;
    padding: 24px;
    border: 1px solid var(--border, #334155);
    border-radius: 16px;
    background: var(--card-bg, #111827);
    color: var(--text, #f8fafc);
    box-shadow: var(--shadow, 0 16px 38px rgba(0,0,0,.35));
    font: 16px/1.45 system-ui, sans-serif;
}

.nt-driver-dialog h2,
.nt-wish-dialog h2 {
    margin: 0 0 12px;
    color: var(--text, #f8fafc);
    font-size: 1.3rem;
}

.nt-driver-subtitle,
.nt-wish-subtitle {
    margin: 0 0 20px;
    color: var(--muted, #94a3b8);
}

.nt-driver-label {
    display: block;
    margin-bottom: 7px;
    color: var(--text, #f8fafc);
    font-weight: 700;
}

.nt-driver-input {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border, #334155);
    border-radius: 8px;
    background: #020617;
    color: var(--text, #f8fafc);
    font: inherit;
}

.nt-driver-input:focus {
    outline: 2px solid var(--blue, #2563eb);
    outline-offset: 2px;
}

.nt-driver-help {
    margin: 8px 0 0;
    color: var(--muted, #94a3b8);
    font-size: .88rem;
}

.nt-driver-actions,
.nt-wish-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.nt-driver-actions button,
.nt-wish-actions button,
.nt-wish-close {
    border: 1px solid var(--border, #334155);
    border-radius: 9px;
    padding: 11px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nt-driver-save,
.nt-wish-yes {
    background: #166534;
    color: #fff;
}

.nt-driver-cancel,
.nt-wish-close {
    background: #1e293b;
    color: #f8fafc;
}

.nt-wish-no {
    background: #991b1b;
    color: #fff;
}

.nt-wish-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid var(--border, #334155);
}

.nt-wish-name {
    flex: 1 1 150px;
    color: var(--text, #f8fafc);
    font-weight: 650;
    overflow-wrap: anywhere;
}

.nt-wish-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.nt-wish-message {
    margin-top: 10px;
    color: #fca5a5;
}

.nt-wish-actions button:disabled {
    opacity: .55;
    cursor: wait;
}

.nt-driver-actions button:focus-visible,
.nt-wish-dialog button:focus-visible {
    outline: 2px solid var(--blue, #2563eb);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .nt-driver-dialog,
    .nt-wish-dialog {
        padding: 19px;
        max-height: 90vh;
    }

    .nt-driver-actions button,
    .nt-wish-actions button {
        flex: 1 1 auto;
    }
}
