/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f2f5;
    color: #2c3e50;
}

/* Header Stilleri */
.header {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header h1 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

/* Navigasyon Menü Stilleri */
.nav-menu {
    background-color: #333;
    padding: 10px 0;
    margin-bottom: 20px;
}

.nav-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-menu li {
    display: inline;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #555;
}

.nav-menu a.active {
    background-color: #4CAF50;
}

/* Container ve Tablo Stilleri */
.container {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 20px 0;
    padding: 20px;
}

table {
    min-width: 1200px;
    border-collapse: collapse;
    width: 100%;
    background: white;
}

th, td {
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: center;
    font-size: 14px;
}

th {
    background-color: #e9ecef;
    font-weight: 600;
    color: #212529;
}

/* Input ve Select Stilleri */
select, input {
    width: 100%;
    min-width: 80px;
    padding: 8px;
    border: 1px solid #adb5bd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

select:focus, input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

/* Özel Hücre Stilleri */
.weekend {
    background-color: #ffe3e3;
    color: #c92a2a;
}

.weekend input {
    background-color: #ffe3e3;
    color: #c92a2a;
}

.holiday {
    background-color: #f3d9fa;
    color: #862e9c;
}

.holiday input {
    background-color: #f3d9fa;
    color: #862e9c;
}

.mesai-cell, .monthly-hours-cell, .monthly-overtime-cell,
.total-work-cell, .normal-hours-cell, .overtime-cell {
    background-color: #e9ecef;
    min-width: 100px;
    font-weight: 600;
}

.fixed-column {
    min-width: 120px;
    position: sticky;
    left: 0;
    background-color: #e9ecef;
    z-index: 1;
}

.day-column {
    min-width: 28px;
}

.day-input {
    min-width: 28px;
    text-align: center;
}

/* İzin Stilleri */
.leave-type {
    background-color: #fff3bf;
    color: #5f3dc4;
}

.leave-input {
    background-color: #fff3bf;
    color: #5f3dc4;
}

/* İzin Seçim Menüsü */
.leave-select {
    position: absolute;
    background-color: white;
    border: 1px solid #ced4da;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 100;
    width: 250px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 4px;
}

.leave-select div {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.leave-select div:hover {
    background-color: #e9ecef;
}

/* Buton Stilleri */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.primary-button {
    background-color: #2ecc71;
    color: white;
}

.primary-button:hover {
    background-color: #27ae60;
    transform: translateY(-1px);
}

/* Navigasyon Linkleri */
.nav-link {
    padding: 10px 20px;
    background-color: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: #27ae60;
    transform: translateY(-1px);
}

/* İzin Türleri Tablosu */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-table th {
    background-color: #2ecc71;
    color: white;
    padding: 12px;
}

.info-table td {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* Ay ve Yıl Seçici Stilleri */
#monthSelect {
    width: 100px;
    margin-right: 10px;
}

#yearSelect {
    width: 80px;
}

/* Başlık Stilleri */
h3 {
    color: #2ecc71;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 10px;
    }
    
    button, .nav-link {
        width: 100%;
        margin-bottom: 10px;
    }
}

.main-content {
    margin: 0 auto;
    padding: 0 5px;
}

/* Rapor Butonları */
.report-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.report-buttons .primary-button {
    flex: 1;
    min-width: 200px;
} 