/* Ana layout için */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
}

header {
    flex-shrink: 0;
}

main.container {
    flex: 1;
    overflow: auto;
    padding-top: 10px;
    width: 100%;
    max-height: calc(100vh - 60px);
    max-width: 100% !important;
    margin: 0 !important;
    padding-bottom: 40px;
}

footer {
    flex-shrink: 0;
    height: 20px;
    line-height: 20px;
    padding: 0 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #007bff;
    z-index: 1000;
}

/* Tablo için */
.table-container {
    width: 100%;
    overflow: auto;
    max-height: calc(100vh - 160px);
    margin-bottom: 30px;
}

.table-container::-webkit-scrollbar {
    width: 10px;
    height: 20px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-container::-webkit-scrollbar-thumb {
    background:  #04AA6D;
    border-radius: 5px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background:  #04AA6D;
}

table {
    width: 100%;
    white-space: nowrap;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

table td, table th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #d1dcff;
}

table th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #04AA6D;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background-color: #a1b8f8;
}

/* Arama kutusu için */
.search-container {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-bottom: 20px;
}

.search-box, .filter-box {
    display: flex;
    align-items: center;
}

/* Form stilleri */
.form-group {
    display: flex;
    text-align: left;
    align-items: left;
    white-space: nowrap;
    margin-right: 25px;
}

.form-control {
    flex: 1;
    margin-left: 10px;
}

.form-label {
    flex: 0 1 250px;
    text-align: right;
    padding-right: 10px;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Label stilleri */
label {
    font-weight: 600;
    color: #495057;
}

/* Tablo başlıklarının scroll sırasında sabit kalması için */
thead {
    position: sticky;
    top: 0;
    background-color: #04AA6D;
    z-index: 20;
}