body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 30px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.container.wide {
    max-width: 1000px;
}

header {
    text-align: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

h1, h2 {
    color: #444;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#date {
    background-color: #fff;
    cursor: pointer;
}

textarea {
    resize: vertical;
}

.btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
}

.btn:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.link-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    text-decoration: underline;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th, .table td {
    padding: 12px;
    border: 1px solid #eee;
    text-align: left;
}

.table th {
    background-color: #f8f9fa;
}

.edit-section, .settings-section {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.settings-section h3 {
    margin-top: 25px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tabs a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
}

.tabs a.active {
    background: #fff;
    border-color: #ddd;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.thank-you {
    text-align: center;
    padding: 40px 20px;
}

.appointment-details {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    display: inline-block;
}

.thank-you h2 {
    color: #28a745;
}

.small {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 5px;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

.badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}
.status-requested { background-color: #fff3cd; color: #856404; }
.status-confirmed { background-color: #d4edda; color: #155724; }
.status-rejected { background-color: #f8d7da; color: #721c24; }
.status-cancelled { background-color: #e2e3e5; color: #383d41; }

.filter-form, .horizontal-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.filter-form input, .filter-form select, .horizontal-form input, .horizontal-form select {
    width: auto;
}

.green { color: #28a745 !important; }
.red { color: #dc3545 !important; }

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}
.checkbox-group label {
    font-weight: normal;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}
.radio-group label {
    font-weight: normal;
    cursor: pointer;
}
