/* Genel Stiller */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
}

header {
    background: #007BFF;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

h1 {
    margin: 0;
    font-size: 2em;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.button-container a {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.button-container a:hover {
    background: #0056b3;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"], input[type="password"], input[type="date"], select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    background: #007BFF;
    color: #fff;
}

canvas {
    max-height: 300px;
    width: 100%;
    max-width: 300px;
    margin: 20px;
}

#grafikler {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#grafik-container {
    border-top: 2px solid #007BFF;
    padding-top: 20px;
    margin-top: 20px;
}

#filtrelemeAlani {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 300px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

#filtrelemeAlani.hidden {
    transform: translateX(100%);
}

#toggleButton {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    #grafikler {
        flex-direction: column;
    }

    #filtrelemeAlani {
        position: static;
        width: 100%;
        transform: none;
    }

    #toggleButton {
        position: static;
        margin-bottom: 10px;
    }
}
