/*  =======================================================
    Pro Auth — Cursor app-inspired UI (light)
    Soft white canvas · clean borders · minimal accents
    ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;450;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* surfaces */
    --bg:           #f7f7f5;
    --bg-app:       #fbfbf9;
    --sidebar-bg:   #f3f3f1;
    --card-bg:      #ffffff;
    --surface:      #f6f6f4;
    --surface-2:    #ececea;
    --surface-3:    #e2e2df;

    /* borders */
    --border:        #e4e4e1;
    --border-strong: #d4d4d0;
    --border-soft:   #ededea;

    /* text */
    --text:        #18181b;
    --text-soft:   #3f3f46;
    --text-muted:  #71717a;
    --text-dim:    #a1a1aa;

    /* accent — Cursor uses near-black primary */
    --primary:       #18181b;
    --primary-hover: #27272a;
    --primary-text:  #ffffff;
    --link:          #0a58ca;

    /* status */
    --error:    #dc2626;
    --error-bg: #fef2f2;
    --error-border: #fecaca;
    --success:  #16a34a;
    --success-bg: #f0fdf4;
    --success-border: #bbf7d0;
    --warning:  #d97706;
    --warning-bg: #fffbeb;
    --warning-border: #fde68a;
    --info:     #2563eb;
    --info-bg:  #eff6ff;

    /* radius */
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* shadow — very soft */
    --shadow-xs: 0 1px 0 rgba(0,0,0,.04);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow:    0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: rgba(24,24,27,0.18); color: inherit; }

html, body { height: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

/* ===========================  Sidebar  =========================== */
.sidebar {
    width: 240px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    padding: 16px 10px 14px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-height: 100vh;
}

.logo {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text);
    letter-spacing: -0.015em;
    border-radius: 8px;
    transition: background .15s;
}
.logo svg { color: var(--text); width: 18px; height: 18px; }
.logo:hover { background: var(--surface-2); }

.sidebar nav > div {
    padding-left: 12px;
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 14px 0 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 450;
    border-radius: 7px;
    transition: background .12s, color .12s;
    margin-bottom: 1px;
    border: 1px solid transparent;
}
.nav-item svg { width: 16px; height: 16px; color: var(--text-muted); transition: color .12s; flex-shrink: 0; }
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item:hover svg { color: var(--text); }
.nav-item.active {
    background: #ffffff;
    color: var(--text);
    font-weight: 500;
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
}
.nav-item.active svg { color: var(--text); }

/* logout link tinted */
.nav-item[type="submit"], button.nav-item { font-family: inherit; }

.sidebar-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.72rem;
    text-align: center;
}

/* Bottom user pill */
.sidebar-user {
    margin-top: auto;
    padding: 8px 10px;
    border: 1px solid var(--border);
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 9px;
    transition: background .12s, border-color .12s;
    box-shadow: var(--shadow-xs);
}
.sidebar-user:hover { background: #fafafa; border-color: var(--border-strong); }

.sidebar-user-avatar,
.sidebar-user-initials {
    width: 30px; height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sidebar-user-initials {
    background: linear-gradient(135deg, #18181b, #3f3f46);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
}
.sidebar-user-info { overflow: hidden; min-width: 0; }
.sidebar-user-name {
    font-size: 0.82rem; font-weight: 500; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block;
}
.sidebar-user-email {
    font-size: 0.7rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block;
}

/* ===========================  Main / Layout  =========================== */
.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 40px;
    min-height: 100vh;
    background: var(--bg-app);
}

.container { width: 100%; max-width: 420px; animation: fadeIn .35s ease-out; }
.container-wide { width: 100%; max-width: 1100px; animation: fadeIn .35s ease-out; align-self: flex-start; padding-top: 8px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Page heading for wide containers */
.container-wide h1 {
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em !important;
    color: var(--text);
    margin-bottom: 6px !important;
}
/* tag-line under h1 if present */
.container-wide > h1 + .alert,
.container-wide > h1 + .status-grid,
.container-wide > h1 + .card { margin-top: 20px; }

/* ===========================  Card  =========================== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.card-header {
    margin-bottom: 24px;
    text-align: center;
}
.container-wide .card-header { text-align: left; }

.card-title {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text);
}
.card-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===========================  Form  =========================== */
.form-group { margin-bottom: 14px; }

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-soft);
}

.form-input {
    width: 100%;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:hover { border-color: var(--border-strong); }
.form-input:focus {
    outline: none;
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(24,24,27,0.08);
}

input[type="date"].form-input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
input[type="date"].form-input::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* ===========================  Buttons  =========================== */
.btn {
    width: 100%;
    padding: 9px 16px;
    background: var(--primary);
    color: var(--primary-text);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    margin-top: 12px;
    letter-spacing: -0.005em;
    transition: background .12s, transform .12s;
    box-shadow: var(--shadow-xs);
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn:active { transform: translateY(0.5px); }

.btn-secondary {
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
    margin-top: 8px;
}
.btn-secondary:hover { background: var(--surface); border-color: var(--border-strong); }

/* ===========================  Alerts  =========================== */
.alert {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    margin-bottom: 18px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-error   { background: var(--error-bg);   color: var(--error);   border-color: var(--error-border); }
.alert-success { background: var(--success-bg); color: var(--success); border-color: var(--success-border); }

/* ===========================  Footer-text (auth pages)  =========================== */
.footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-text a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-strong);
    transition: border-color .12s;
}
.footer-text a:hover { border-color: var(--text); }

/* ===========================  Profile / Avatar  =========================== */
.profile-view {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
}
.profile-row {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.profile-row:last-child { border-bottom: none; }
.profile-label { width: 130px; color: var(--text-muted); font-size: 0.8rem; font-weight: 500; }
.profile-value { color: var(--text); font-weight: 500; font-size: 0.875rem; }

.profile-avatar-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 28px;
}
.avatar-wrapper {
    position: relative;
    width: 96px; height: 96px;
}
.avatar-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform .2s;
}
.avatar-img:hover { transform: scale(1.03); }
.avatar-initials {
    cursor: pointer;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #18181b, #52525b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}
.upload-badge {
    position: absolute; bottom: 0; right: 0;
    width: 30px; height: 30px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: background .12s, transform .12s;
}
.upload-badge:hover { background: var(--text); color: #fff; transform: scale(1.06); }

.upload-info-centered h3 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; letter-spacing: -0.01em; }
.upload-info-centered p  { font-size: 0.8rem; color: var(--text-muted); }

.avatar-initials, .avatar-img { margin: 0 auto; }

#profile_pic { display: none !important; }

.upload-progress-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.btn-link-danger {
    background: none;
    border: none;
    color: var(--error);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    margin: 6px auto 0;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background .12s;
    display: block;
    font-family: inherit;
}
.btn-link-danger:hover { background: var(--error-bg); }

.remove-badge {
    position: absolute; top: -2px; right: -2px;
    width: 26px; height: 26px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--error);
    box-shadow: var(--shadow);
    padding: 0;
    z-index: 11;
    transition: transform .12s, background .12s;
}
.remove-badge:hover { background: var(--error); color: #fff; transform: scale(1.1); }

/* ===========================  Modal  =========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 27, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn .15s ease-out;
}
.modal-card {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: slideUp .2s ease-out;
}
.modal-icon-danger {
    width: 48px; height: 48px;
    background: var(--error-bg);
    color: var(--error);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    border: 1px solid var(--error-border);
}
.modal-title  { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; color: var(--text); letter-spacing: -0.01em; }
.modal-text   { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; margin-bottom: 20px; }
.modal-actions{ display: flex; gap: 8px; }
.modal-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: background .12s, border-color .12s;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
}
.modal-btn:hover { background: var(--surface); border-color: var(--border-strong); }
.modal-btn-danger {
    background: var(--error);
    color: #fff;
    border: 1px solid var(--error);
}
.modal-btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }

/* ===========================  Action buttons (admin)  =========================== */
.action-btn {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.76rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-soft);
    font-family: inherit;
    transition: background .12s, color .12s, border-color .12s;
}
.action-btn:hover { background: var(--surface); color: var(--text); border-color: var(--border-strong); }

.unlock-btn   { background: var(--warning-bg); color: #b45309; border-color: var(--warning-border); }
.unlock-btn:hover  { background: #fef3c7; }

.suspend-btn  { background: var(--error-bg); color: var(--error); border-color: var(--error-border); }
.suspend-btn:hover { background: #fee2e2; }

.activate-btn { background: var(--success-bg); color: var(--success); border-color: var(--success-border); }
.activate-btn:hover { background: #dcfce7; }

.delete-btn   { background: #ffffff; color: var(--error); border-color: var(--error-border); }
.delete-btn:hover { background: var(--error); color: #fff; border-color: var(--error); }

/* ===========================  Admin: status grid + tables  =========================== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.status-card {
    background: var(--card-bg) !important;
    padding: 18px 20px !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow);
}
.status-card h3 {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.status-value {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: var(--text);
    display: flex; align-items: center; gap: 8px;
    letter-spacing: -0.02em;
}
.status-ok    { color: var(--success) !important; }
.status-error { color: var(--error) !important; }

.security-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
}
.security-table th,
.security-table td {
    padding: 12px 12px !important;
    text-align: left;
    border-bottom: 1px solid var(--border-soft) !important;
}
.security-table th {
    font-size: 0.72rem !important;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em;
    background: var(--surface);
}
.security-table td {
    font-size: 0.875rem !important;
    color: var(--text-soft) !important;
}
.security-table tbody tr { transition: background .1s; }
.security-table tbody tr:hover { background: var(--surface); }

.badge {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
}
.badge-danger { background: var(--error-bg) !important; color: var(--error) !important; border-color: var(--error-border); }

/* ===========================  Lightbox  =========================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 27, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity .25s;
}
.lightbox-overlay.active { display: flex; opacity: 1; }
.lightbox-window {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
    transform: scale(.94);
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}
.lightbox-overlay.active .lightbox-window { transform: scale(1); }
.lightbox-content {
    max-width: 500px; max-height: 500px;
    width: 100%; height: auto;
    object-fit: contain;
    border-radius: 14px;
    display: block;
}
.lightbox-close-inner {
    position: absolute; top: -10px; right: -10px;
    background: #18181b;
    color: #ffffff;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    border: none;
    z-index: 2001;
    transition: transform .15s;
}
.lightbox-close-inner:hover { transform: scale(1.12); }

/* ===========================  Inline-style overrides (safety net)  =========================== */
/* Older views hard-code colors; normalize them to light palette. */
[style*="color: #6b7280"],
[style*="color:#6b7280"],
[style*="color: #9ca3af"],
[style*="color:#9ca3af"],
[style*="color: #4b5563"],
[style*="color:#4b5563"]  { color: var(--text-muted) !important; }

[style*="color: #374151"],
[style*="color:#374151"]  { color: var(--text-soft) !important; }

[style*="font-family: monospace"],
[style*="font-family:monospace"] {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace !important;
    font-size: 0.82rem !important;
    color: var(--text) !important;
}

/* normalize old tinted backgrounds */
[style*="background: #fee2e2"],
[style*="background:#fee2e2"] { background: var(--error-bg) !important; color: var(--error) !important; }
[style*="background: #d1fae5"],
[style*="background:#d1fae5"] { background: var(--success-bg) !important; color: var(--success) !important; }
[style*="background: #fef3c7"],
[style*="background:#fef3c7"] { background: var(--warning-bg) !important; color: #b45309 !important; }
[style*="background: #f3f4f6"],
[style*="background:#f3f4f6"] { background: var(--surface) !important; color: var(--text-soft) !important; }

/* ===========================  Responsive  =========================== */
/* Mobile <=900px: sidebar tamamen sidebar.php inline <style> tarafindan yonetiliyor
   (m-topbar + m-tabbar + display:none sidebar). Burada sadece icerik tipografi/boyut. */
@media (max-width: 900px) {
    .main-content { padding: 16px 14px calc(96px + env(safe-area-inset-bottom, 0px)); }
    .card { padding: 22px 18px; border-radius: 14px; }
    .container-wide h1 { font-size: 1.25rem !important; }
}
@media (max-width: 560px) {
    .card { padding: 20px 16px; }
    .card-title { font-size: 1.2rem; }
    .form-input { font-size: 0.9rem; }
    .modal-card { padding: 22px 18px; }
}

/* ===========================  Scrollbar (webkit, subtle)  =========================== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.22); background-clip: padding-box; border: 2px solid transparent; }

/* ===========================  Onay Modali (appConfirm)  =========================== */
html.app-confirm-open, html.app-confirm-open body { overflow: hidden; }

.app-confirm {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .18s ease, visibility 0s linear .18s;
}
.app-confirm[aria-hidden="false"] { visibility: visible; transition-delay: 0s; }
.app-confirm.is-visible { opacity: 1; }

.app-confirm__backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 15, 17, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.app-confirm__card {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.30), 0 12px 30px -6px rgba(0,0,0,0.18);
    width: 100%;
    max-width: 420px;
    padding: 26px 24px 22px;
    text-align: center;
    transform: translateY(8px) scale(.97);
    transition: transform .22s cubic-bezier(.22,.61,.36,1);
}
.app-confirm.is-visible .app-confirm__card { transform: translateY(0) scale(1); }

.app-confirm__icon {
    width: 52px; height: 52px;
    border-radius: 999px;
    margin: 0 auto 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f5;
    color: #18181b;
}

.app-confirm__title {
    margin: 0 0 6px;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.app-confirm__msg {
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.app-confirm__actions {
    display: flex;
    gap: 10px;
    justify-content: stretch;
}
.app-confirm__btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.app-confirm__btn:hover { transform: translateY(-1px); filter: brightness(.97); }
.app-confirm__btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(24,24,27,0.12); }

.app-confirm__btn--cancel {
    background: #ffffff;
    color: var(--text);
    border-color: var(--border);
}
.app-confirm__btn--cancel:hover { background: var(--surface); border-color: var(--border-strong); }

.app-confirm__btn--ok {
    /* renk JS tarafından inline atanıyor (variant) */
    background: #18181b;
    color: #ffffff;
}

@media (max-width: 480px) {
    .app-confirm__card { padding: 22px 18px 18px; border-radius: 12px; }
    .app-confirm__title { font-size: 1.05rem; }
    .app-confirm__msg   { font-size: 0.88rem; margin-bottom: 18px; }
    .app-confirm__actions { flex-direction: column-reverse; gap: 8px; }
}
