@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=Inter:wght@400;600;800&display=swap');

:root {
    --primary: #f26522;
    --intel-blue: #0071c5;
    --bg-color: #f4f7f6;
    --text-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ✨ YENİ: Masaüstü görünümü için dış arka plan rengi */
html {
    background-color: #e2e8f0; 
}

/* ✨ GÜNCELLENDİ: Uygulamayı ekranın ortasına sabitle ve genişliğini sınırla */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    
    max-width: 480px; /* Telefon/Tablet genişliği sınırı */
    margin: 0 auto; /* Bilgisayarda ekranın tam ortasına hizala */
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.1); /* Masaüstünde kenarlara şık bir gölge ver */
    position: relative;
}

.hidden {
    display: none !important;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 15px;
}

.login-card {
    max-width: 400px;
    margin: 40px auto;
    text-align: center;
}

.signature {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-orange {
    background-color: var(--primary);
    color: white;
}

.btn-intel {
    background-color: var(--intel-blue);
    color: white;
}

.btn:active {
    transform: scale(0.98);
}

.header {
    background: white;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-scroll {
    display: flex;
    overflow-x: auto;
    padding: 15px;
    gap: 10px;
    background: var(--bg-color);
    scrollbar-width: none; /* Firefox */
}

.nav-scroll::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.nav-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.nav-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.section.active {
    display: block;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    border: 1px solid #f1f1f1;
}

.empty-msg {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-out {
    animation: slideOut 0.3s forwards;
}

@keyframes slideOut {
    to { opacity: 0; transform: translateX(-100%); }
}