﻿body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f1f5f9;
    margin: 0;
    padding: 0;
}

header {
    background-color: #16a34a;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    header h1 {
        margin: 0;
    }

nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

    nav a:hover {
        text-decoration: underline;
    }

.container {
    display: flex;
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
}

.form-section, .times-section, .summary-section {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 1;
}

    .form-section h2, .times-section h2, .summary-section h2 {
        color: #166534;
        font-size: 18px;
        margin-bottom: 15px;
    }

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

button {
    background-color: #16a34a;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    button:hover {
        background-color: #15803d;
    }

.time-slot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-btn {
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.available {
    background-color: #86efac;
}

.reserved {
    background-color: #fca5a5;
    cursor: not-allowed;
}

.selected {
    background-color: #16a34a;
    color: white;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #e2e8f0;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #cbd5e1;
    z-index: 1000;
}
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
}
.time-btn {
    margin: 5px;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.available {
    background-color: #e6f4ea;
    color: #0a4700;
}

    .available:hover {
        background-color: #b8e6c3;
    }

    .available.selected {
        background-color: #28a745;
        color: white;
    }

.reserved {
    background-color: #ddd;
    color: #555;
    cursor: not-allowed;
}
.time-btn.past-time {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    border: 1px solid #999999 !important;
}

    .time-btn.past-time:hover {
        background-color: #cccccc !important;
        transform: none !important;
    }
.time-btn {
    position: relative;
    padding: 10px 15px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

    /* Pasif saatler */
    .time-btn.reserved,
    .time-btn.past-time {
        cursor: not-allowed;
    }

        /* Butonun içinde X işareti */
        .time-btn.reserved::after,
        .time-btn.past-time::after {
            content: "x";
            position: absolute;
            top: 35%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 45px; /* Butona uygun boyut */
            color: red;
            pointer-events: none; /* Tıklamayı engellemez */
        }
@media (max-width: 768px) {
    input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
}