.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.confirm-box {
    width: 100%;
    max-width: 460px;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    overflow: hidden;
    animation: confirmIn .2s ease-out;
}

.confirm-body {
    padding: 28px;
}

.confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
}

.confirm-box.warning .confirm-icon { background: rgba(245,158,11,.16); color: #f59e0b; }
.confirm-box.danger .confirm-icon { background: rgba(239,68,68,.16); color: #ef4444; }
.confirm-box.info .confirm-icon { background: rgba(59,130,246,.16); color: #3b82f6; }
.confirm-box.success .confirm-icon { background: rgba(16,185,129,.16); color: #10b981; }

.confirm-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.confirm-message {
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.6;
}

.confirm-footer {
    border-top: 1px solid #27272a;
    padding: 18px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.confirm-btn {
    padding: 10px 18px;
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.confirm-cancel {
    background: #27272a;
    color: white;
}

.confirm-action {
    color: white;
}

.confirm-box.warning .confirm-action { background: #d97706; }
.confirm-box.danger .confirm-action { background: #dc2626; }
.confirm-box.info .confirm-action { background: #2563eb; }
.confirm-box.success .confirm-action { background: #059669; }

@keyframes confirmIn {
    from {
        opacity: 0;
        transform: scale(.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.prompt-box {
    max-width: 560px;
}

.prompt-field {
    margin-top: 22px;
}

.prompt-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.prompt-label {
    color: #e4e4e7;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .02em;
}

.prompt-counter {
    color: #71717a;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.prompt-textarea {
    width: 100%;
    min-height: 128px;
    resize: vertical;
    border: 1px solid #3f3f46;
    border-radius: 17px;
    background: #18181b;
    color: #f4f4f5;
    padding: 14px 15px;
    font: inherit;
    font-size: 14px;
    line-height: 1.55;
    outline: none;
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.prompt-textarea::placeholder {
    color: #71717a;
}

.prompt-textarea:hover {
    border-color: #52525b;
}

.prompt-textarea:focus {
    border-color: #0ea5e9;
    background: #111114;
    box-shadow:
        0 0 0 3px rgba(14,165,233,.14);
}

.prompt-textarea-error {
    border-color: #ef4444;
    box-shadow:
        0 0 0 3px rgba(239,68,68,.12);
}

.prompt-help {
    margin-top: 8px;
    color: #71717a;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .prompt-box {
        max-width: 100%;
    }

    .prompt-textarea {
        min-height: 150px;
    }

    .confirm-footer {
        flex-direction: column-reverse;
    }

    .confirm-footer .confirm-btn {
        width: 100%;
    }
}

