* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7f9;
    color: #222;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: auto;
}

.small-container {
    max-width: 700px;
}

header {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.header {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header h2 {
    margin: 0;
}

.header a {
    text-decoration: none;
    color: #166534;
    font-weight: bold;
}

.hero {
    padding: 45px 0 25px;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.hero p {
    color: #666;
}

.date-box,
.form-card,
.success {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin: 20px 0;
}

.date-row {
    display: flex;
    gap: 10px;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin: 16px 0 7px;
}

button,
.button {
    display: inline-block;
    background: #166534;
    color: #fff;
    border: 0;
    padding: 12px 18px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.button:hover,
button:hover {
    background: #14532d;
}

.full {
    width: 100%;
    margin-top: 20px;
}

.secondary {
    background: #555;
}

.slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0 40px;
}

.slot {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.slot.available {
    border-top: 5px solid #16a34a;
}

.slot.booked {
    border-top: 5px solid #dc2626;
}

.available-label,
.booked-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.available-label {
    background: #dcfce7;
    color: #166534;
}

.booked-label {
    background: #fee2e2;
    color: #991b1b;
}

.back {
    display: inline-block;
    margin: 20px 0;
    color: #166534;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 7px;
    margin: 15px 0;
}

.success {
    text-align: center;
    margin-top: 70px;
}

.check {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    font-size: 45px;
    line-height: 70px;
    margin: auto;
}

.summary {
    background: #f7f7f7;
    padding: 18px;
    text-align: left;
    border-radius: 8px;
    margin: 20px 0;
}

.dashboard-title {
    margin: 35px 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.dashboard-title form {
    display: flex;
    gap: 8px;
}

.dashboard-title input {
    width: auto;
}

.day-navigation {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-box {
    overflow-x: auto;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 13px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background: #f5f5f5;
}

.details p {
    background: #f8f8f8;
    padding: 14px;
    border-radius: 7px;
}

.small-text {
    color: #777;
    font-size: 13px;
}

@media (max-width: 800px) {

    .slots {
        grid-template-columns: 1fr;
    }

    .dashboard-title {
        display: block;
    }

    .dashboard-title form {
        margin-top: 15px;
    }

}

@media (max-width: 500px) {

    .date-row {
        display: block;
    }

    .date-row button {
        width: 100%;
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .day-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }

}
.delete-button {
    background: #dc2626 !important;
    color: #fff !important;
    border: none;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.delete-button:hover {
    background: #b91c1c !important;
}

.delete-button.small {
    padding: 7px 12px;
    font-size: 13px;
}