/* ═══════════════════════════════════════════════════════════════════
   VarAtlas Topluluk — Profile & Modal Specific CSS
   (Profil sayfasına özel ek stiller, hesabımı sil modalı vs.)
═══════════════════════════════════════════════════════════════════ */

/* ── Danger Button ───────────────────────────────────────────────── */
.btn-danger {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 0 16px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tr);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .btn-danger:hover {
        background: #fca5a5;
    }
}

[data-theme="dark"] .btn-danger {
    background: rgba(220, 38, 38, 0.15);
    color: #ef4444;
}

[data-theme="dark"] .btn-danger:hover {
    background: rgba(220, 38, 38, 0.25);
}

/* Sadece yazısı kırmızı olan link tarzı buton (Düzenle ekranında kullanılır) */
.btn-text-danger {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 16px;
    transition: color var(--tr);
}

.btn-text-danger:hover {
    color: #b91c1c;
}

/* ── Delete Account Modal ────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--tr);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--surface);
    width: 90%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(20px) scale(0.95);
    transition: transform var(--tr);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-actions .btn {
    flex: 1;
}
