/* GENEL STİL */
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* BAŞLIK */
h2 {
    font-size: 1.3rem;
    color: #222;
    text-align: left;
    margin-bottom: 20px;
}

/* FORM ELEMANLARI */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

select[multiple] {
    min-height: 120px;
}

/* BUTONLAR */
button, .cikis_button, .edit_button, .delete_button{
    padding: 8px 14px;
    font-size: 0.95rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button {
    background-color: #007bff;
    color: white;
}

button:hover {
    background-color: #0056b3;
}

.cikis_button {
    background-color: #dc3545;
}

.cikis_button:hover {
    background-color: #b02a37;
}
.normal_button {
    background-color: #007bff;
    color: white;
    padding: 8px 14px;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.normal_button:hover {
    background-color: #0056b3;
}

.edit_button {
    background-color: #198754;
}

.edit_button:hover {
    background-color: #146c43;
}

.delete_button {
    background-color: #dc3545;
}

.delete_button:hover {
    background-color: #b02a37;
}
.button-row {
    display: flex;
    justify-content: space-between; /* istersen space-around / flex-end / center de olur */
    gap: 10px;
    margin-bottom: 20px;
}

/* LİNKLER */
a {
    color: #007bff;
    font-size: 0.95rem;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.button,
a.edit_button,
a.delete_button,
a.cikis_button,
a.normal_button{
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

/* TABLO STİLİ */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin-top: 20px;
    background-color: #fff;
}

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

th {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

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

/* SLIDER ÖZEL */
.slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    width: 100%;
    position: relative;
    height: 200px;
    margin-bottom: 20px;
}

.slider-track {
    display: inline-flex;
    gap: 15px;
}

.slide {
    flex: 0 0 auto;
    width: 220px;
    height: 150px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.slide:hover {
    transform: scale(1.03);
}

.flex_right {
    display: flex;
    justify-content: flex-end;
}
