body {
    font-family: sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    color: #0056b3;
    text-align: center;
}

.form-container, .appointments-container {
    margin-top: 20px;
}

h2 {
    color: #0056b3;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

#appointment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#appointment-form input, #appointment-form button {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#appointment-form button {
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#appointment-form button:hover {
    background-color: #004494;
}

#appointments-list {
    list-style: none;
    padding: 0;
}

#appointments-list li {
    background: #f9f9f9;
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#appointments-list li:last-child {
    border-bottom: none;
}

.remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.remove-btn:hover {
    background-color: #c82333;
}

#success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    text-align: center;
}

.hidden {
    display: none;
}
