/* ============ TASARIM TOKENLARI ============ */
:root {
    --bg-deep: #020617;
    --bg-mid: #0a1024;
    --surface: rgba(15, 23, 42, 0.88);
    --surface-solid: #0f1729;
    --surface-sunken: #020617;
    --border-subtle: rgba(148, 163, 184, 0.14);
    --border-strong: rgba(148, 163, 184, 0.28);

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #8b96ac;

    --brand: #22c55e;
    --brand-dark: #16a34a;
    --brand-light: #4ade80;
    --brand-glow: rgba(34, 197, 94, 0.35);

    --danger: #ef4444;
    --danger-light: #fb7185;
    --warning: #fab219;
    --info: #3987e5;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-full: 999px;

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 10px 30px var(--brand-glow);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 160ms var(--ease);
    --t-base: 260ms var(--ease);

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg-deep);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background:
        radial-gradient(ellipse 900px 500px at 15% -10%, rgba(34, 197, 94, 0.16), transparent 60%),
        radial-gradient(ellipse 700px 500px at 100% 0%, rgba(57, 135, 229, 0.08), transparent 55%),
        linear-gradient(160deg, var(--bg-deep), var(--bg-mid) 55%, var(--bg-deep));
    background-attachment: fixed;
    color: var(--text-primary);
    overscroll-behavior: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    letter-spacing: -0.01em;
}

::selection {
    background: var(--brand-glow);
    color: white;
}

/* Özel kaydırma çubuğu */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.4);
    background-clip: padding-box;
}

h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--brand-light);
    outline-offset: 2px;
    border-radius: 6px;
}

.hidden {
    display: none !important;
}

svg {
    display: block;
}

/* ============ SPLASH ============ */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background:
        radial-gradient(circle at 50% 35%, rgba(34, 197, 94, 0.25), transparent 45%),
        linear-gradient(160deg, var(--bg-deep), var(--bg-mid));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

#splash-screen.splash-hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    width: 108px;
    height: 108px;
    border-radius: 30px;
    background: linear-gradient(150deg, var(--brand-light), var(--brand-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 58px;
    font-weight: 800;
    box-shadow: var(--shadow-glow), inset 0 2px 0 rgba(255, 255, 255, 0.25);
    animation: splashPop 0.7s var(--ease);
}

#splash-screen h1 {
    margin: 24px 0 6px;
    font-size: 32px;
    font-weight: 800;
    animation: fadeInUp 0.6s var(--ease) 0.15s backwards;
}

#splash-screen p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    animation: fadeInUp 0.6s var(--ease) 0.25s backwards;
}

@keyframes splashPop {
    0% { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ AUTH ============ */
.auth-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-box {
    width: 430px;
    max-width: 100%;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.5s var(--ease);
}

.brand-area {
    text-align: center;
    margin-bottom: 26px;
}

.brand-logo {
    width: 78px;
    height: 78px;
    margin: 0 auto 14px;
    border-radius: 22px;
    background: linear-gradient(150deg, var(--brand-light), var(--brand-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-glow), inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

.brand-area h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

.brand-area p {
    color: var(--text-secondary);
    margin: 8px 0 0;
    font-size: 14px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: var(--surface-sunken);
    padding: 6px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    border: 1px solid var(--border-subtle);
}

.auth-tabs button {
    border: none;
    border-radius: 13px;
    padding: 12px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--t-base), color var(--t-base);
}

.auth-tabs button.active {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: white;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.28);
}

.auth-panel {
    animation: fadeInUp 0.35s var(--ease);
}

.auth-panel label,
.upload-card label {
    display: block;
    margin: 14px 0 7px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    background: var(--surface-sunken);
    color: var(--text-primary);
    outline: none;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

input::placeholder {
    color: var(--text-muted);
}

input:hover {
    border-color: var(--border-strong);
}

input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-glow);
}

textarea {
    width: 100%;
    min-height: 90px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    background: var(--surface-sunken);
    color: var(--text-primary);
    outline: none;
    font-size: 15px;
    font-family: var(--font-body);
    resize: vertical;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

textarea::placeholder {
    color: var(--text-muted);
}

textarea:hover {
    border-color: var(--border-strong);
}

textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-glow);
}

select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    background: var(--surface-sunken);
    color: var(--text-primary);
    outline: none;
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

select:hover {
    border-color: var(--border-strong);
}

select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-glow);
}

select option {
    background: var(--surface-solid);
    color: var(--text-primary);
}

button {
    font: inherit;
    user-select: none;
}

.primary-btn,
.secondary-btn,
.logout-btn,
.small-btn {
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), opacity var(--t-base);
}

.primary-btn {
    position: relative;
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
    color: white;
    font-size: 15px;
    box-shadow: var(--shadow-glow);
}

.primary-btn:hover {
    box-shadow: 0 14px 40px var(--brand-glow);
    transform: translateY(-1px);
}

.primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.secondary-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border-radius: var(--radius-sm);
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.secondary-btn:hover {
    background: rgba(148, 163, 184, 0.18);
}

.primary-btn:active,
.secondary-btn:active,
.logout-btn:active,
.small-btn:active {
    transform: scale(0.97);
}

.btn-yukleniyor {
    color: transparent !important;
    pointer-events: none;
}

.btn-yukleniyor::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.sifre-unuttum-link {
    text-align: center;
    margin: 14px 0 0;
}

.sifre-unuttum-link a {
    color: var(--brand-light);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.sifre-unuttum-link a:hover {
    text-decoration: underline;
}

.mini-info {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 0;
}

.kvkk-onay {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    cursor: pointer;
}

.kvkk-onay input {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
    cursor: pointer;
}

.kvkk-onay span {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.auth-footer-link {
    margin-top: 18px;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-muted);
}

.auth-footer-link a {
    color: var(--text-muted);
    text-decoration: underline;
}

.auth-footer-link a:hover {
    color: var(--brand-light);
}

.message {
    min-height: 20px;
    margin: 14px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.message.success {
    color: var(--brand-light);
}

.message.error {
    color: var(--danger-light);
}

/* ============ APP SHELL ============ */
.app-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    padding-bottom: 60px;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.app-header h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
}

.app-header p {
    margin: 3px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.logout-btn {
    min-width: 88px;
    min-height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.14);
    color: var(--danger-light);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.22);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.header-titles {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.header-titles > div {
    min-width: 0;
}

.header-titles h1,
.header-titles p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-wrap {
    position: relative;
    flex-shrink: 0;
}

.menu-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}

.menu-btn svg {
    fill: currentColor;
}

.menu-btn:hover {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.acilir-menu {
    position: absolute;
    top: 50px;
    left: 0;
    background: var(--surface-solid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 220px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 50;
    animation: menuAcil 0.18s var(--ease);
    transform-origin: top left;
}

.acilir-menu .menu-grup-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-grup-baslik .menu-ok {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform var(--t-fast);
}

.menu-grup-baslik.acik .menu-ok {
    transform: rotate(180deg);
}

.menu-alt-grup {
    margin: 2px 4px 6px 12px;
    padding-left: 10px;
    border-left: 2px solid var(--border-subtle);
}

.menu-alt-grup button {
    font-size: 13px;
    padding: 10px 14px;
}

@keyframes menuAcil {
    0% { opacity: 0; transform: scale(0.94) translateY(-6px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.acilir-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 11px;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background var(--t-fast), color var(--t-fast);
}

.acilir-menu button:hover {
    background: rgba(34, 197, 94, 0.1);
    color: var(--text-primary);
}

/* ============ SEKME GEÇİŞLERİ ============ */
.sekme {
    animation: fadeInUp 0.35s var(--ease);
}

/* ============ AVATAR ============ */
.avatar-goster,
.avatar-harf {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-harf {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--brand-light), var(--brand-dark));
    color: white;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
}

.avatar-alani {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.profil-kart {
    text-align: center;
}

.profil-foto-btn {
    min-height: 38px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.avatar-input {
    display: none;
}

.avatar-mini {
    width: 40px;
    height: 40px;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: none;
}

/* ============ KARTLAR ============ */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.dashboard-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    overflow: hidden;
}

.dashboard-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), transparent);
    opacity: 0.6;
}

.dashboard-card.big {
    grid-column: span 2;
}

.dashboard-card span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.dashboard-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
}

.dashboard-card small {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    word-break: break-word;
}

.upload-card,
.result-card,
.history-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
}

.upload-card h2,
.result-card h2,
.history-card h2 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 800;
}

.upload-card p {
    margin-top: 0;
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 14px;
}

.button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.status-text {
    color: var(--brand-light);
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 500;
}

/* ============ ŞİFRE GÜCÜ GÖSTERGESİ ============ */
.sifre-guc-kontrol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.sifre-kontrol-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 600;
    transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}

.sifre-kontrol-item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.sifre-kontrol-item.gecerli {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--brand-light);
}

/* ============ YÖNETİCİ PANELİ ============ */
#yonAramaKutusu {
    margin-bottom: 14px;
}

.yonetici-liste .history-item button.small-btn {
    margin-top: 10px;
}

/* ============ HATIRLATICI BANNER ============ */
.hatirlatici-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(57, 135, 229, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 18px;
    animation: fadeInUp 0.4s var(--ease);
}

.hatirlatici-icerik {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hatirlatici-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.18);
    color: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hatirlatici-icerik > div:not(.hatirlatici-icon) {
    flex: 1;
    min-width: 0;
}

.hatirlatici-icerik strong {
    display: block;
    font-size: 14.5px;
    margin-bottom: 3px;
}

.hatirlatici-icerik p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.hatirlatici-kapat {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}

.hatirlatici-kapat:hover {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-primary);
}

.beklenen-maas-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.beklenen-maas-form input {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface-solid);
    color: var(--text-primary);
    font-size: 14px;
}

.beklenen-maas-form .small-btn {
    flex-shrink: 0;
}

.calisilan-gun-alani {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.calisilan-gun-alani label {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.calisilan-gun-alani label small {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 11.5px;
    line-height: 1.5;
    margin-top: 3px;
}

.calisilan-gun-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.calisilan-gun-form input {
    width: 90px;
    flex-shrink: 0;
    min-height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface-solid);
    color: var(--text-primary);
    font-size: 14px;
}

.calisilan-gun-alani .mini-info {
    display: block;
    margin-top: 8px;
}

.beklenti-kutu {
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 16px;
    animation: fadeInUp 0.35s var(--ease);
}

.beklenti-kutu p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.beklenti-kutu span {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.beklenti-kutu.negatif {
    background: rgba(250, 178, 25, 0.08);
    border: 1px solid rgba(250, 178, 25, 0.3);
}

.beklenti-kutu.negatif p {
    color: var(--warning);
}

.beklenti-kutu.pozitif {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.beklenti-kutu.pozitif p {
    color: var(--brand-light);
}

.ik-ozet-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(250, 178, 25, 0.4);
    background: rgba(250, 178, 25, 0.14);
    color: var(--warning);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--t-fast);
}

.ik-ozet-btn:hover {
    background: rgba(250, 178, 25, 0.24);
}

/* ============ DROPZONE (DOSYA YÜKLEME) ============ */
.dropzone {
    position: relative;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    background: rgba(2, 6, 23, 0.35);
    transition: border-color var(--t-base), background var(--t-base), transform var(--t-fast);
}

.dropzone:hover {
    border-color: var(--brand);
    background: rgba(34, 197, 94, 0.06);
}

.dropzone.dropzone-hover {
    border-color: var(--brand);
    background: rgba(34, 197, 94, 0.1);
    transform: scale(1.01);
}

.dropzone-icon {
    color: var(--brand-light);
    margin: 0 auto 12px;
}

.dropzone-text {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.dropzone-text span {
    color: var(--brand-light);
    font-weight: 700;
}

.dropzone-not {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.dropzone-dosya-adi {
    margin: 12px 0 0;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    word-break: break-all;
}

.dropzone-dosya-adi:empty {
    display: none;
}

.dropzone-input {
    display: none;
}

/* ============ ROZETLER ============ */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: var(--brand-light);
    font-size: 12.5px;
    font-weight: 700;
}

.uyari-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(250, 178, 25, 0.14);
    border: 1px solid rgba(250, 178, 25, 0.3);
    color: var(--warning);
    font-size: 12.5px;
    font-weight: 700;
}

.uyari-kutu {
    background: rgba(250, 178, 25, 0.08);
    border: 1px solid rgba(250, 178, 25, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 16px;
    animation: fadeInUp 0.35s var(--ease);
}

.uyari-kutu p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--warning);
}

.uyari-kutu ul {
    margin: 0;
    padding-left: 20px;
    color: #fde68a;
    line-height: 1.65;
    font-size: 14px;
}

/* ============ SONUÇ EKRANI ============ */
.sonuc-hero {
    background: linear-gradient(160deg, rgba(34, 197, 94, 0.1), rgba(2, 6, 23, 0.4));
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 18px;
    animation: fadeInUp 0.4s var(--ease);
}

.sonuc-ozet {
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 18px;
    font-size: 14.5px;
}

.hero-net {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.hero-net-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-net-deger {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 2px 0;
}

.hero-net-gunluk {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.net-oran-bar {
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.25);
    overflow: hidden;
    margin-top: 10px;
}

.net-oran-dolu {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-light));
    transition: width 0.8s var(--ease);
}

.net-oran-etiketler {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.sonuc-hero .result-line {
    margin-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: none;
    padding: 12px 0 0;
}

.kalem-grubu {
    margin-bottom: 16px;
    animation: fadeInUp 0.4s var(--ease);
}

.kalem-baslik {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kalem-baslik.kazanc {
    color: var(--brand-light);
}

.kalem-baslik.kesinti {
    color: var(--danger-light);
}

.result-box {
    background: var(--surface-sunken);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 6px 16px;
    line-height: 1.7;
}

#kidemSonuc .result-box:not(:first-child) {
    margin-top: 14px;
}

.result-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 11px 0;
    font-size: 14px;
}

.result-line:last-child {
    border-bottom: none;
}

.result-line span {
    color: var(--text-muted);
}

.result-line strong {
    text-align: right;
    font-weight: 700;
}

.result-line.vurgulu strong {
    color: var(--brand-light);
}

.bulunan-tutarlar {
    background: var(--surface-sunken);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 4px 16px;
    margin-bottom: 4px;
}

.bulunan-tutarlar summary {
    padding: 12px 0;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    list-style: none;
}

.bulunan-tutarlar summary::-webkit-details-marker {
    display: none;
}

.bulunan-tutarlar summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 8px;
    color: var(--brand-light);
    transition: transform var(--t-fast);
}

.bulunan-tutarlar[open] summary::before {
    transform: rotate(90deg);
}

.bulunan-tutarlar p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.9;
    padding-bottom: 14px;
    margin: 0;
}

/* ============ BÖLÜM BAŞLIKLARI / LİSTELER ============ */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.small-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.small-btn:hover {
    background: rgba(148, 163, 184, 0.2);
}

.history-item {
    background: var(--surface-sunken);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-bottom: 10px;
    transition: border-color var(--t-base), transform var(--t-fast);
}

.history-item-tiklanabilir {
    cursor: pointer;
}

.history-item-tiklanabilir:hover {
    border-color: rgba(34, 197, 94, 0.35);
}

.history-item-tiklanabilir:active {
    transform: scale(0.99);
}

.history-item:hover {
    border-color: var(--border-strong);
}

.history-item strong {
    display: block;
    margin-bottom: 5px;
}

.history-item small {
    color: var(--text-muted);
}

.history-item p {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.5;
}

.history-item-ust {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.sil-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger-light);
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
}

.sil-btn:hover {
    background: rgba(239, 68, 68, 0.22);
}

.sil-btn:active {
    transform: scale(0.92);
}

.tehlikeli-bolge {
    border-color: rgba(239, 68, 68, 0.25) !important;
    background: linear-gradient(160deg, rgba(239, 68, 68, 0.06), var(--surface)) !important;
}

.tehlikeli-bolge h2 {
    color: var(--danger-light);
}

.danger-btn {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.16);
    color: var(--danger-light);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--t-base), transform var(--t-fast);
}

.danger-btn:hover {
    background: var(--danger);
    color: white;
}

.danger-btn:active {
    transform: scale(0.98);
}

.empty-text {
    color: var(--text-muted);
    margin-bottom: 0;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
}

/* ============ MAAŞ TRENDİ GRAFİĞİ ============ */
.trend-legend {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.trend-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.trend-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.trend-svg-wrap {
    position: relative;
}

.trend-svg {
    width: 100%;
    height: 220px;
    display: block;
    overflow: visible;
}

.trend-svg .grid-line {
    stroke: rgba(148, 163, 184, 0.13);
    stroke-width: 1;
}

.trend-svg .eksen-etiket {
    fill: var(--text-muted);
    font-size: 10px;
    font-family: var(--font-body);
}

.trend-svg .seri-cizgi {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trend-svg .nokta {
    stroke: var(--surface-solid);
    stroke-width: 1.5;
}

.trend-svg .direkt-etiket {
    fill: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-body);
}

.trend-svg .yillik-cubuk {
    fill: var(--brand);
    transition: opacity var(--t-fast);
}

.trend-svg .yillik-cubuk:hover {
    opacity: 0.78;
}

.trend-crosshair {
    stroke: rgba(148, 163, 184, 0.4);
    stroke-width: 1;
    stroke-dasharray: 3 3;
}

.trend-tooltip {
    position: absolute;
    pointer-events: none;
    background: var(--surface-solid);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-primary);
    white-space: nowrap;
    transform: translate(-50%, -110%);
    box-shadow: var(--shadow-md);
    z-index: 5;
}

/* ============ BORDRO KARŞILAŞTIR ============ */
.karsilastir-secim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.karsilastir-donem {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.karsilastir-ok {
    color: var(--brand-light);
}

.karsilastir-net-deger {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin: 2px 0;
}

.karsilastir-net-deger.pozitif {
    color: var(--brand-light);
}

.karsilastir-net-deger.negatif {
    color: var(--danger-light);
}

.karsilastir-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 12px 0;
    font-size: 14px;
}

.karsilastir-satir:last-child {
    border-bottom: none;
}

.karsilastir-etiket {
    color: var(--text-muted);
}

.karsilastir-degerler {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.karsilastir-degerler small {
    color: var(--text-muted);
    font-weight: 500;
}

.karsilastir-degerler strong {
    font-weight: 700;
}

.delta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.delta-badge.delta-pozitif {
    background: rgba(34, 197, 94, 0.14);
    color: var(--brand-light);
}

.delta-badge.delta-negatif {
    background: rgba(239, 68, 68, 0.14);
    color: var(--danger-light);
}

/* ============ ÇALIŞMA TAKVİMİ ============ */
.takvim-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.takvim-nav strong {
    font-family: var(--font-display);
    font-size: 15px;
}

.takvim-lejant {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
    margin-bottom: 4px;
}

.takvim-lejant-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12.5px;
}

.takvim-nokta {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.takvim-nokta.calisti { background: var(--brand); }
.takvim-nokta.devamsizlik { background: var(--danger); }
.takvim-nokta.izin { background: var(--warning); }

.takvim-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 12px;
}

.takvim-gun-baslik {
    text-align: center;
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 700;
    padding-bottom: 4px;
}

.takvim-gun {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--surface-sunken);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--t-fast), border-color var(--t-fast);
}

.takvim-gun:hover {
    border-color: rgba(34, 197, 94, 0.35);
}

.takvim-gun:active {
    transform: scale(0.94);
}

.takvim-gun.bos {
    border: none;
    background: transparent;
    cursor: default;
}

.takvim-gun.calisti {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--brand-light);
}

.takvim-gun.devamsizlik {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
    color: var(--danger-light);
}

.takvim-gun.izin {
    background: rgba(250, 178, 25, 0.18);
    border-color: rgba(250, 178, 25, 0.4);
    color: var(--warning);
}

.mesai-not-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mesai-not-liste {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mesai-not-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--surface-sunken);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* ============ BORDRO SÖZLÜĞÜ ============ */
.sozluk-liste {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sozluk-item {
    background: var(--surface-sunken);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.sozluk-item strong {
    display: block;
    color: var(--brand-light);
    font-size: 14.5px;
    margin-bottom: 5px;
}

.sozluk-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.6;
}

/* ============ DESTEK BOTU ============ */
.destek-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    border: none;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    z-index: 60;
    transition: transform var(--t-fast), box-shadow var(--t-base);
}

.destek-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px var(--brand-glow);
}

.destek-panel {
    position: fixed;
    right: 20px;
    bottom: 88px;
    width: min(360px, calc(100vw - 40px));
    height: min(520px, calc(100vh - 140px));
    background: var(--surface-solid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 60;
    animation: fadeInUp 0.25s var(--ease);
}

.destek-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.destek-header strong {
    font-size: 14.5px;
}

.destek-kapat {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}

.destek-kapat:hover {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-primary);
}

.destek-mesajlar {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.destek-balon {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    line-height: 1.55;
    white-space: pre-line;
}

.destek-balon.bot {
    align-self: flex-start;
    background: var(--surface-sunken);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}

.destek-balon.kullanici {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
    color: white;
    border-bottom-right-radius: 4px;
}

.destek-balon.yaziyor {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
}

.yaziyor-nokta {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: yaziyorZipla 1.1s infinite ease-in-out;
}

.yaziyor-nokta:nth-child(2) {
    animation-delay: 0.15s;
}

.yaziyor-nokta:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes yaziyorZipla {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.destek-hizli-sorular {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 12px;
    flex-shrink: 0;
    max-height: 120px;
    overflow-y: auto;
}

.destek-hizli-btn {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: rgba(34, 197, 94, 0.08);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast);
}

.destek-hizli-btn:hover {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.3);
}

.destek-yonetici-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 16px 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--t-fast);
}

.destek-yonetici-link:hover {
    color: var(--brand-light);
}

.destek-yanit-input {
    width: 100%;
    min-height: 64px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface-sunken);
    color: var(--text-primary);
    font-size: 13.5px;
    font-family: inherit;
    resize: vertical;
}

.destek-giris {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.destek-giris input {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface-sunken);
    color: var(--text-primary);
    font-size: 13.5px;
}

.destek-giris .small-btn {
    flex-shrink: 0;
}

/* ============ ONBOARDING (yeni kullanıcı yönlendirmesi) ============ */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 20px;
}

.onboarding-kart {
    width: 100%;
    max-width: 420px;
    background: var(--surface-solid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px 28px;
    text-align: center;
    animation: fadeInUp 0.35s var(--ease);
}

.onboarding-kart h2 {
    font-family: var(--font-display);
    font-size: 22px;
    margin: 0 0 14px;
    color: var(--text-primary);
}

.onboarding-kart p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 24px;
}

.onboarding-noktalar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.onboarding-nokta {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
    transition: background var(--t-fast);
}

.onboarding-nokta.aktif {
    background: var(--brand);
}

.onboarding-butonlar {
    display: flex;
    gap: 10px;
}

.onboarding-butonlar button {
    flex: 1;
    margin-top: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .auth-container {
        padding: 18px;
    }

    .auth-box {
        padding: 22px;
        border-radius: 22px;
    }

    .app-container {
        padding: 16px;
        padding-bottom: 48px;
    }

    .app-header {
        align-items: center;
    }

    .app-header h1 {
        font-size: 21px;
    }

    .app-header p {
        font-size: 12px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .dashboard-card {
        padding: 14px;
        border-radius: 18px;
    }

    .dashboard-card strong {
        font-size: 19px;
    }

    .hero-net-deger {
        font-size: 32px;
    }

    .button-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .karsilastir-secim-grid {
        grid-template-columns: 1fr;
    }

    .karsilastir-degerler {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    .karsilastir-net-deger {
        font-size: 30px;
    }

    .upload-card,
    .result-card,
    .history-card {
        border-radius: 20px;
        padding: 18px;
    }

    .dropzone {
        padding: 24px 14px;
    }

    button {
        min-height: 48px;
    }
}
