/* app.css - Premium Mobil Tasarım Sistemi */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #090d16;
    --bg-surface: #131926;
    --bg-card: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.3);
    --primary-dark: #7c3aed;
    --accent: #06b6d4;
    
    /* Durum Renkleri */
    --status-bekliyor: #f59e0b; /* Turuncu */
    --status-islemde: #3b82f6; /* Mavi */
    --status-hazir: #10b981; /* Yeşil */
    --status-teslim-edildi: #64748b; /* Gri */
    
    --font-sans: 'Outfit', sans-serif;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Mobil Cihaz Çerçevesi (Masaüstünde merkezleme için) */
.phone-container {
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding-bottom: calc(75px + var(--safe-bottom)); /* Bottom nav yüksekliği kadar boşluk */
}

/* Header Tasarımı */
header {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 13, 22, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 18px 20px;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    font-size: 1.35rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

header .logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

header .logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Alt Navigasyon Barı (Bottom Nav) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: calc(68px + var(--safe-bottom));
    background: rgba(19, 25, 38, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: 100;
    padding-bottom: var(--safe-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 500;
    gap: 4px;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-item i {
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active i {
    transform: translateY(-2px);
    color: var(--primary);
}

/* Sayfa Bölümleri */
.screen {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.screen.active {
    display: block;
}

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

/* Dashboard & Genel Kartlar */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.pending::before { background-color: var(--status-bekliyor); }
.stat-card.progress::before { background-color: var(--status-islemde); }
.stat-card.ready::before { background-color: var(--status-hazir); }
.stat-card.earnings::before { background-color: var(--accent); }
.stat-card.active-total::before { background-color: var(--primary); }

.stat-card .value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card .label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Arama ve Filtre */
.search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px 12px 42px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Servis Kartları Listesi */
.list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card:active {
    transform: scale(0.98);
    background-color: rgba(30, 41, 59, 0.9);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plate-badge {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid #334155;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.plate-badge::before {
    content: "TR";
    background: #0047bb;
    color: white;
    font-size: 0.55rem;
    padding: 2px 3px;
    border-radius: 2px;
    margin-right: 5px;
    font-weight: bold;
}

.status-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.bekliyor { background-color: rgba(245, 158, 11, 0.15); color: var(--status-bekliyor); }
.status-badge.islemde { background-color: rgba(59, 130, 246, 0.15); color: var(--status-islemde); }
.status-badge.hazir { background-color: rgba(16, 185, 129, 0.15); color: var(--status-hazir); }
.status-badge.teslim-edildi { background-color: rgba(100, 116, 139, 0.15); color: var(--status-teslim-edildi); }

.card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vehicle-info {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.customer-name {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

.service-tag {
    background-color: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 500;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.price-text {
    font-weight: 600;
    color: var(--text-primary);
}

.price-text.red {
    color: #f43f5e;
}

/* Modaller (Kayıt Girişi & Detay Ekranı) */
.modal {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 200;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    visibility: hidden;
}

.modal.active {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.modal-header {
    padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-surface);
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 16px;
}

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

.form-control {
    width: 100%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* Çoklu Hizmet Seçimi */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.checkbox-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-card input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.checkbox-card.selected {
    border-color: var(--primary);
    background-color: rgba(139, 92, 246, 0.05);
}

/* İnteraktif Araç Şeması */
.damage-chart-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.vehicle-schema-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
}

.damage-zone {
    fill: rgba(255, 255, 255, 0.05);
    stroke: #334155;
    stroke-width: 1.5;
    cursor: pointer;
    transition: fill 0.2s, stroke 0.2s;
}

.damage-zone:hover {
    fill: rgba(255, 255, 255, 0.12);
}

.damage-zone.active {
    fill: rgba(239, 68, 68, 0.45);
    stroke: #ef4444;
}

.schema-legend {
    display: flex;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-danger {
    background-color: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.25);
}

.floating-action-btn {
    position: fixed;
    bottom: calc(85px + var(--safe-bottom));
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 24px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 90;
    cursor: pointer;
    transition: transform 0.2s;
}

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

/* Detay Ekranı Özel Elemanları */
.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.detail-section {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
}

.detail-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-row .value {
    font-weight: 500;
}

.detail-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.status-change-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.status-btn {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 10px 4px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    text-transform: uppercase;
}

.status-btn.active.bekliyor { background-color: var(--status-bekliyor); color: white; border-color: var(--status-bekliyor); }
.status-btn.active.islemde { background-color: var(--status-islemde); color: white; border-color: var(--status-islemde); }
.status-btn.active.hazir { background-color: var(--status-hazir); color: white; border-color: var(--status-hazir); }

.whatsapp-share-btn {
    background-color: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

/* Toast Bildirimi */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    visibility: hidden;
    background-color: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    z-index: 300;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.25s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Ayarlar Sayfası Elemanları */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.settings-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
}

.settings-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.settings-card p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

/* Boş Durum Görseli */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-muted);
    text-align: center;
    gap: 12px;
}

.empty-state i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--text-muted), var(--border-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Telefon Arama Daire Butonu */
.call-btn-circle {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: rgba(6, 182, 212, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent) !important;
    border: 1px solid rgba(6, 182, 212, 0.25);
    transition: all 0.2s;
    text-decoration: none;
}
.call-btn-circle:active {
    transform: scale(0.9);
    background-color: rgba(6, 182, 212, 0.25);
}

/* Fotoğraf Galerisi ve Önizleme Stilleri */
.photo-preview-card {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid var(--border-color);
}
.photo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-delete-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    background-color: rgba(244, 63, 94, 0.9);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    font-weight: bold;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.photo-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    background-color: var(--bg-surface);
}
.photo-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}
.photo-gallery-img:active {
    transform: scale(0.95);
}

/* Tam Ekran Fotoğraf Görüntüleyici */
.photo-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 13, 22, 0.96);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.photo-viewer-overlay.active {
    display: flex;
    animation: fadeInOverlay 0.2s ease-out;
}
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}
.photo-viewer-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}
.photo-viewer-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fotoğraf Yükleniyor Spinner/Hata Efektleri */
.photo-preview-card.uploading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 13, 22, 0.7);
    z-index: 2;
}
.photo-preview-card.uploading::after {
    content: "";
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    width: 24px;
    height: 24px;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    z-index: 3;
    animation: spinPhotoLoader 0.8s linear infinite;
}
@keyframes spinPhotoLoader {
    to { transform: rotate(360deg); }
}

.photo-preview-card.error::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(244, 63, 94, 0.65);
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Giriş Ekranı (Login Screen) Stilleri */
.login-screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.login-screen-overlay.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-card {
    width: 100%;
    max-width: 320px;
    background: rgba(19, 25, 38, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.login-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.login-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.login-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Şifre Noktaları Göstergesi */
.pin-dots-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background-color: transparent;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pin-dot.filled {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transform: scale(1.15);
}

.pin-dot.error {
    background-color: #f43f5e;
    border-color: #f43f5e;
    box-shadow: 0 0 10px #f43f5e;
    animation: shakeDot 0.3s ease;
}

@keyframes shakeDot {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Sayısal Tuş Takımı (Numpad) */
.numpad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 260px;
    margin: 0 auto;
}

.numpad-btn {
    aspect-ratio: 1.3;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    user-select: none;
    -webkit-user-select: none;
}

.numpad-btn:active {
    background-color: rgba(6, 182, 212, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(0.95);
}

.numpad-btn.delete {
    color: #f43f5e;
    border-color: rgba(244, 63, 94, 0.15);
    background-color: rgba(244, 63, 94, 0.05);
}

.numpad-btn.delete:active {
    background-color: rgba(244, 63, 94, 0.2);
    transform: scale(0.95);
}

.numpad-btn.submit {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.15);
    background-color: rgba(16, 185, 129, 0.05);
}

.numpad-btn.submit:active {
    background-color: rgba(16, 185, 129, 0.2);
    transform: scale(0.95);
}


