/* Deneyim Gelişim Tahsilat Sistemi - Style.css */

/* Yüzde stilleri */
.yuzde-yuksek {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.yuzde-orta {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.yuzde-dusuk {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Ekip tahsilat yüzde barları */
.yuzde-bar-container {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 4px;
    height: 20px;
    margin-top: 5px;
    overflow: hidden;
}

.yuzde-bar {
    height: 100%;
    text-align: center;
    line-height: 20px;
    color: white;
    font-weight: bold;
    transition: width 0.9s ease-in-out;
    background-color: #000000; /* default color in black theme */
}

.yuzde-bar-ekip-a { background-color: #000000; /* Ana siyah */ }
.yuzde-bar-ekip-b { background-color: #222222; /* Koyu siyah ton */ }
.yuzde-bar-ekip-c { background-color: #444444; /* Açık siyah ton */ }
.yuzde-bar-ekip-d { background-color: #111111; /* Farklı siyah ton */ }
.yuzde-bar-ekip-a {
    background-color: #000000; /* Ana siyah */
}

.yuzde-bar-ekip-b {
    background-color: #222222; /* Koyu siyah ton */
}

.yuzde-bar-ekip-c {
    background-color: #444444; /* Açık siyah ton */
}

.yuzde-bar-ekip-d {
    background-color: #111111; /* Farklı siyah ton */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #000000, #333333);
    padding: 15px 20px;
    margin-bottom: 20px;
    border-bottom: 3px solid #333333;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.header-logo h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.panel-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.panel-btn:hover {
    background: linear-gradient(135deg, #333333, #000000);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Dashboard Cards */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #000000, #333333);
    padding: 12px;
    border-radius: 12px 12px 0 0;
    margin: -20px -20px 15px -20px;
}

.card-value {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Bugünkü Tahsilat Card */
.card.bugunTahsilat {
    background-color: #d4af37;
    color: white;
}

.card.bugunTahsilat .card-title {
    background-color: #d4af37;
}

.card.bugunTahsilat .card-value {
    color: white;
}

/* Toplam Tahsilat Card */
.card.toplamTahsilat {
    background-color: #000000;
    color: white;
}

.card.toplamTahsilat .card-title {
    background-color: #85632f;
}

.card.toplamTahsilat .card-value {
    color: white;
}

/* Table Containers */
.table-container {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.table-container:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.table-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000000;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
    font-weight: 600;
}

/* Form Elemanları */
input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

button, 
input[type="submit"] {
    padding: 12px 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: linear-gradient(135deg, #f8f9fa, #dcdcdc);
    font-weight: bold;
    color: #000000;
}

tr:hover {
    background-color: #f8f9fa;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .panel-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .card-value {
        font-size: 28px;
    }
    
    .table-container {
        padding: 15px;
        overflow-x: auto;
    }
    
    th, td {
        padding: 10px;
    }

    /* Index’e özel mobil iyileştirmeler */
    .index-page .container {
        padding: 12px;
    }
    .index-page .table-title {
        font-size: 17px;
        font-weight: 700;
    }
    .index-page table {
        table-layout: fixed;
    }
    .index-page table th,
    .index-page table td { font-size: 12px; padding: 6px 8px; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
    .team-panels .table-container { padding: 12px; }
    .index-page table th {
        font-size: 15px;
        word-break: break-word;
    }
    .index-page table td {
        font-size: 13px;
        word-break: break-word;
    }
    .index-page .yuzde-bar-container {
        height: 16px;
    }
    .index-page .yuzde-bar {
        line-height: 15px;
        font-size: 11px;
    }
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Form Styles */
.form-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1d3557;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}

/* Login page */
.login-page {
    background: #f6f8fb;
    min-height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.login-header h1 {
    font-size: 20px;
    color: #1d3557;
    margin: 0 0 6px 0;
}

.login-header h2 {
    font-size: 18px;
    color: #457b9d;
    margin: 0;
}

.login-form label {
    display: block;
    margin: 12px 0 6px 0;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.login-form .btn {
    width: 100%;
    margin-top: 16px;
}

.login-form .show-password {
    margin: 6px 0 12px;
    font-size: 13px;
    color: #555;
}

.login-error {
    margin-top: 10px;
    color: #e63946;
    text-align: center;
}

/* Index’e özel: Tipografi güçlendirme */
.index-page .table-title {
    font-size: 21px;
    font-weight: 700;
}

.index-page table th {
    font-size: 17px;
    font-weight: 700;
}

.index-page table td {
    font-size: 16px;
}

.index-page .card-title {
    font-size: 19px;
    font-weight: 700;
}

.index-page .card-value {
    font-size: 38px;
    font-weight: 800;
}

/* Index’te sayısal kolonları kalınlaştır */
.index-page #performansTablosu td:nth-child(3),
.index-page #performansTablosu td:nth-child(4),
.index-page #performansTablosu td:nth-child(5) {
    font-weight: 600;
}

.index-page #ekipYuzdeleri td:nth-child(2),
.index-page #ekipYuzdeleri td:nth-child(3),
.index-page #tahsilatListesi td:nth-child(2) {
    font-weight: 700;
}

/* Login dark gold theme (black background) */
.login-page {
  --gold: #d4af37;
  --gold-600: #b8860b;
  --bg: #0a0a0a;
  --card: #121212;
  --text: #e5e5e5;
  background:
    radial-gradient(1200px circle at 10% -10%, rgba(212,175,55,0.08), transparent 35%),
    var(--bg);
  color: var(--text);
}

.login-page .login-container {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
}

.login-page .login-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)), var(--card);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.2), 0 12px 32px rgba(0,0,0,0.5);
}

.login-page .login-header h1,
.login-page .login-header h2 {
  color: var(--gold);
}

.login-page .login-logo {
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.35));
}

.login-page .login-form label {
  color: #cfcfcf;
}

.login-page .login-form input {
  background: #0f0f0f;
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--text);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, transform .05s;
  caret-color: var(--gold);
}

.login-page .login-form input::placeholder {
  color: #777;
}

.login-page .login-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
  outline: none;
}

.login-page .login-form .btn,
.login-page .btn {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #0a0a0a;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
}

.login-page .login-form .btn:hover,
.login-page .btn:hover {
  background: linear-gradient(135deg, #e0c25e, #c49521);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212,175,55,0.22);
}

.login-page .show-password { color: #aaa; }
.login-page .login-error { color: #ff6b6b; }
.login-page footer { color: #aaa; border-top-color: rgba(255,255,255,0.1); }

/* Yüzde hücresi arkaplan renkleri (satır değil, sadece hücre) */
.cell-yuzde-low { background-color: #ffe8e8; } /* Kırmızı - %10'un altı */
.cell-yuzde-mid { background-color: #fff3cd; } /* Sarı - %10-%20 arası */
.cell-yuzde-high { background-color: #d4edda; } /* Yeşil - %20'nin üstü */

@media (max-width: 480px) {
  .index-page .table-title { font-size: 16px; }
  .index-page table { table-layout: fixed; }
  .index-page table th,
  .index-page table td { font-size: 12px; padding: 6px 8px; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
  .team-panels .table-container { padding: 12px; }
}

/* Mobil yazı ve tablo iyileştirmeleri */
@media (max-width: 600px) {
  .table-container { padding: 14px; overflow-x: auto; }
  .table-title { font-size: 18px; }
  table { table-layout: fixed; }
  th, td { padding: 8px 10px; font-size: 13px; white-space: normal; word-break: break-word; }
  .team-summary { font-size: 13px; }
}

/* Modern Siyah-Beyaz Arkaplan Tasarımı */
.modern-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: #ffffff;
}

.modern-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(0, 0, 0, 0.02) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0, 0, 0, 0.02) 50%, transparent 60%),
        radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
    background-size: 200px 200px, 200px 200px, 300px 300px, 300px 300px;
    animation: patternMove 30s linear infinite;
}

.modern-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.01) 2px,
            rgba(0, 0, 0, 0.01) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.01) 2px,
            rgba(0, 0, 0, 0.01) 4px
        );
    background-size: 100px 100px;
    animation: gridMove 25s linear infinite reverse;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation: floatUp 15s infinite linear;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation: floatDiagonal 18s infinite linear;
    animation-delay: 2s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 30%;
    animation: floatUp 12s infinite linear;
    animation-delay: 4s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 40%;
    left: 70%;
    animation: floatSide 20s infinite linear;
    animation-delay: 1s;
}

.particle-5 {
    width: 2px;
    height: 2px;
    top: 10%;
    left: 50%;
    animation: floatUp 16s infinite linear;
    animation-delay: 3s;
}

.particle-6 {
    width: 7px;
    height: 7px;
    top: 70%;
    left: 15%;
    animation: floatDiagonal 22s infinite linear;
    animation-delay: 5s;
}

.particle-7 {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 90%;
    animation: floatSide 14s infinite linear;
    animation-delay: 2.5s;
}

.particle-8 {
    width: 3px;
    height: 3px;
    top: 90%;
    left: 60%;
    animation: floatUp 19s infinite linear;
    animation-delay: 1.5s;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    opacity: 0.06;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 0, 0, 0.08) 70%);
    top: 15%;
    left: 85%;
    transform: rotate(45deg);
    animation: rotateFloat 30s infinite linear;
    border-radius: 8px;
}

.shape-2 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 40%, rgba(0, 0, 0, 0.06) 60%);
    top: 75%;
    left: 5%;
    transform: rotate(-30deg);
    animation: rotateFloat 25s infinite linear reverse;
    border-radius: 50%;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, transparent 50%, rgba(0, 0, 0, 0.05) 50%);
    top: 45%;
    left: 25%;
    transform: rotate(60deg);
    animation: rotateFloat 35s infinite linear;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.02) 0%, 
            rgba(0, 0, 0, 0.01) 25%, 
            rgba(0, 0, 0, 0.03) 50%, 
            rgba(0, 0, 0, 0.01) 75%, 
            rgba(0, 0, 0, 0.02) 100%);
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.03) 0%, 
            rgba(0, 0, 0, 0.02) 25%, 
            rgba(0, 0, 0, 0.01) 50%, 
            rgba(0, 0, 0, 0.03) 75%, 
            rgba(0, 0, 0, 0.02) 100%);
    }
}

@keyframes floatingOrbs {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.8;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9) rotate(240deg);
        opacity: 0.6;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes floatDiagonal {
    0% {
        transform: translate(100vw, 100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(-100px, -100px) scale(1);
        opacity: 0;
    }
}

@keyframes floatSide {
    0% {
        transform: translateX(100vw) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateFloat {
    0% {
        transform: rotate(0deg) translateY(0px);
    }
    50% {
        transform: rotate(180deg) translateY(-20px);
    }
    100% {
        transform: rotate(360deg) translateY(0px);
    }
}

/* Revert: make table and card titles white background with gold text */
.table-title, .card-title {
  background: #ffffff !important;
  color: #d4af37 !important;
  border-bottom: 2px solid #d4af37 !important;
}

.table-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000000;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
    font-weight: 600;
}

/* Form Elemanları */
input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

button, 
input[type="submit"] {
    padding: 12px 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: linear-gradient(135deg, #f8f9fa, #dcdcdc);
    font-weight: bold;
    color: #000000;
}

tr:hover {
    background-color: #f8f9fa;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .panel-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .card-value {
        font-size: 28px;
    }
    
    .table-container {
        padding: 15px;
        overflow-x: auto;
    }
    
    th, td {
        padding: 10px;
    }

    /* Index’e özel mobil iyileştirmeler */
    .index-page .container {
        padding: 12px;
    }
    .index-page .table-title {
        font-size: 17px;
        font-weight: 700;
    }
    .index-page table {
        table-layout: fixed;
    }
    .index-page table th,
    .index-page table td { font-size: 12px; padding: 6px 8px; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
    .team-panels .table-container { padding: 12px; }
    .index-page table th {
        font-size: 15px;
        word-break: break-word;
    }
    .index-page table td {
        font-size: 13px;
        word-break: break-word;
    }
    .index-page .yuzde-bar-container {
        height: 16px;
    }
    .index-page .yuzde-bar {
        line-height: 15px;
        font-size: 11px;
    }
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Form Styles */
.form-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1d3557;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}

/* Login page */
.login-page {
    background: #f6f8fb;
    min-height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.login-header h1 {
    font-size: 20px;
    color: #1d3557;
    margin: 0 0 6px 0;
}

.login-header h2 {
    font-size: 18px;
    color: #457b9d;
    margin: 0;
}

.login-form label {
    display: block;
    margin: 12px 0 6px 0;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.login-form .btn {
    width: 100%;
    margin-top: 16px;
}

.login-form .show-password {
    margin: 6px 0 12px;
    font-size: 13px;
    color: #555;
}

.login-error {
    margin-top: 10px;
    color: #e63946;
    text-align: center;
}

/* Index’e özel: Tipografi güçlendirme */
.index-page .table-title {
    font-size: 21px;
    font-weight: 700;
}

.index-page table th {
    font-size: 17px;
    font-weight: 700;
}

.index-page table td {
    font-size: 16px;
}

.index-page .card-title {
    font-size: 19px;
    font-weight: 700;
}

.index-page .card-value {
    font-size: 38px;
    font-weight: 800;
}

/* Index’te sayısal kolonları kalınlaştır */
.index-page #performansTablosu td:nth-child(3),
.index-page #performansTablosu td:nth-child(4),
.index-page #performansTablosu td:nth-child(5) {
    font-weight: 600;
}

.index-page #ekipYuzdeleri td:nth-child(2),
.index-page #ekipYuzdeleri td:nth-child(3),
.index-page #tahsilatListesi td:nth-child(2) {
    font-weight: 700;
}

/* Yüzde hücresi arkaplan renkleri (satır değil, sadece hücre) */
.cell-yuzde-low { background-color: #ffe8e8; } /* Kırmızı - %10'un altı */
.cell-yuzde-mid { background-color: #fff3cd; } /* Sarı - %10-%20 arası */
.cell-yuzde-high { background-color: #d4edda; } /* Yeşil - %20'nin üstü */

@media (max-width: 480px) {
  .index-page .table-title { font-size: 16px; }
  .index-page table { table-layout: fixed; }
  .index-page table th,
  .index-page table td { font-size: 12px; padding: 6px 8px; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
  .team-panels .table-container { padding: 12px; }
}

/* Mobil yazı ve tablo iyileştirmeleri */
@media (max-width: 600px) {
  .table-container { padding: 14px; overflow-x: auto; }
  .table-title { font-size: 18px; }
  table { table-layout: fixed; }
  th, td { padding: 8px 10px; font-size: 13px; white-space: normal; word-break: break-word; }
  .team-summary { font-size: 13px; }
}

/* Admin: mavi butonları altın renge çevir */
.table-container .btn,
.form-container .btn,
.table-container .btn-primary,
.form-container .btn-primary,
.table-container .panel-btn,
.form-container .panel-btn {
  background: linear-gradient(135deg, #ffcc00, #e6b800) !important;
  color: #000000 !important; /* altın üstünde koyu metin okunaklı */
  border: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Hover efekti: tonları ters çevir ve hafif yükselt */
.table-container .btn:hover,
.form-container .btn:hover,
.table-container .btn-primary:hover,
.form-container .btn-primary:hover,
.table-container .panel-btn:hover,
.form-container .panel-btn:hover {
  background: linear-gradient(135deg, #e6b800, #ffcc00) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Index sayfasındaki kırmızı aksanları altın yap */
.index-page .table-title {
  color: #d4af37;
  border-bottom: 2px solid #d4af37;
}
.index-page table th {
  color: #d4af37;
  background: linear-gradient(135deg, rgba(212,175,55,0.16), rgba(212,175,55,0.32));
}
.index-page .table-container { border-color: rgba(212,175,55,0.32); }


.empty-state {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Form Styles */
.form-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1d3557;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}

/* Login page */
.login-page {
    background: #f6f8fb;
    min-height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.login-header h1 {
    font-size: 20px;
    color: #1d3557;
    margin: 0 0 6px 0;
}

.login-header h2 {
    font-size: 18px;
    color: #457b9d;
    margin: 0;
}

.login-form label {
    display: block;
    margin: 12px 0 6px 0;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.login-form .btn {
    width: 100%;
    margin-top: 16px;
}

.login-form .show-password {
    margin: 6px 0 12px;
    font-size: 13px;
    color: #555;
}

.login-error {
    margin-top: 10px;
    color: #e63946;
    text-align: center;
}

/* Index’e özel: Tipografi güçlendirme */
.index-page .table-title {
    font-size: 21px;
    font-weight: 700;
}

.index-page table th {
    font-size: 17px;
    font-weight: 700;
}

.index-page table td {
    font-size: 16px;
}

.index-page .card-title {
    font-size: 19px;
    font-weight: 700;
}

.index-page .card-value {
    font-size: 38px;
    font-weight: 800;
}

/* Index’te sayısal kolonları kalınlaştır */
.index-page #performansTablosu td:nth-child(3),
.index-page #performansTablosu td:nth-child(4),
.index-page #performansTablosu td:nth-child(5) {
    font-weight: 600;
}

.index-page #ekipYuzdeleri td:nth-child(2),
.index-page #ekipYuzdeleri td:nth-child(3),
.index-page #tahsilatListesi td:nth-child(2) {
    font-weight: 700;
}

/* Yüzde hücresi arkaplan renkleri (satır değil, sadece hücre) */
.cell-yuzde-low { background-color: #ffe8e8; } /* Kırmızı - %10'un altı */
.cell-yuzde-mid { background-color: #fff3cd; } /* Sarı - %10-%20 arası */
.cell-yuzde-high { background-color: #d4edda; } /* Yeşil - %20'nin üstü */

@media (max-width: 480px) {
  .index-page .table-title { font-size: 16px; }
  .index-page table { table-layout: fixed; }
  .index-page table th,
  .index-page table td { font-size: 12px; padding: 6px 8px; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
  .team-panels .table-container { padding: 12px; }
}

/* Mobil yazı ve tablo iyileştirmeleri */
@media (max-width: 600px) {
  .table-container { padding: 14px; overflow-x: auto; }
  .table-title { font-size: 18px; }
  table { table-layout: fixed; }
  th, td { padding: 8px 10px; font-size: 13px; white-space: normal; word-break: break-word; }
  .team-summary { font-size: 13px; }
}