* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f6f4;
    color: #26332d;
    line-height: 1.6;
}

.navbar {
    background: #14532d;
    color: white;
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
}

.brand {
    font-weight: bold;
    font-size: 23px;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

nav form {
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 28px auto;
    padding: 0 18px;
}

.hero {
    background: linear-gradient(120deg, #14532d, #16a34a);
    color: white;
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.hero h1 {
    margin-top: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    margin-bottom: 22px;
    border: 1px solid #e1e8e3;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #15803d;
}

label {
    display: block;
    font-weight: bold;
    margin: 12px 0 5px;
}

input, select, textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #cbd5d1;
    border-radius: 6px;
    font: inherit;
}

button, .btn {
    display: inline-block;
    background: #15803d;
    border: 0;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

button:hover {
    background: #166534;
}

.danger {
    background: #b91c1c;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    white-space: nowrap;
}

th, td {
    border: 1px solid #e1e8e3;
    padding: 10px;
    text-align: center;
}

th {
    background: #eef5ef;
}

.slot-free {
    background: #f0fdf4;
    color: #166534;
}

.slot-confirmed {
    background: #dcfce7;
    color: #166534;
}

.slot-pending {
    background: #fef3c7;
    color: #92400e;
}

.slot-blocked {
    background: #fee2e2;
    color: #991b1b;
}

.alert {
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 7px;
}

.success {
    background: #dcfce7;
}

.error {
    background: #fee2e2;
}

footer {
    text-align: center;
    padding: 25px;
    color: #64746a;
}

@media (max-width: 700px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 22px;
    }
}
