* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Containers */
.login-container,
.admin-container,
.public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    flex: 1;
}

/* Admin Link */
.admin-link {
    margin-left: 20px;
}

.admin-link a {
    background-color: #4CAF50;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.admin-link a:hover {
    background-color: #3e8e41;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="password"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Buttons */
button, .submit-btn, .reset-btn, .delete-btn, .add-btn, .remove-btn {
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.submit-btn {
    background: #28a745;
    color: white;
}

.submit-btn:hover {
    background: #218838;
}

.reset-btn {
    background: #ffc107;
    color: #212529;
}

.reset-btn:hover {
    background: #e0a800;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
}

.add-btn {
    background: #17a2b8;
    color: white;
    padding: 5px 10px;
}

.remove-btn {
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 14px;
}

.logout-btn {
    color: white;
    background: #6c757d;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
}

.logout-btn:hover {
    background: #5a6268;
}

/* Time Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.time-slot {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #28a745;
}

.time-slot.full {
    border-left-color: #6c757d;
    opacity: 0.9;
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.slot-header h3 {
    font-size: 1.2em;
    color: #2c3e50;
}

.slot-status {
    font-size: 0.9em;
    color: #6c757d;
}

/* Participants */
.participants-list {
    margin: 15px 0;
}

.participant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background-color: #f