body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f0f0f0;
}

/* Display page */
.display-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    text-align: center;
}

.display-container h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 5px;
}

.display-container h2 {
    font-size: 2em;
    color: #34495e;
    margin-top: 0;
}

.display-container h3 {
    font-size: 1.5em;
    color: #7f8c8d;
}

.appointment-info {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
}

.current, .next {
    flex: 1;
    padding: 20px;
    border: 2px solid #3498db;
    border-radius: 10px;
    margin: 0 10px;
    background: #ecf0f1;
}

.current h3, .next h3 {
    color: #2980b9;
    font-size: 1.8em;
    margin-top: 0;
}

.patient {
    font-size: 2.2em;
    font-weight: bold;
    color: #2c3e50;
}

.time {
    font-size: 1.5em;
    color: #16a085;
}

.none {
    font-size: 1.5em;
    color: #95a5a6;
    font-style: italic;
}

.update-time {
    font-size: 1.2em;
    color: #7f8c8d;
}

/* Admin pages */
.admin-container, .form-container, .login-form {
    max-width: 1000px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #3498db;
    color: white;
}

tr:hover {
    background-color: #f5f5f5;
}

a.button, button {
    display: inline-block;
    padding: 8px 12px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

a.button:hover, button:hover {
    background-color: #2980b9;
}

.error {
    color: red;
    font-weight: bold;
}

.message {
    color: green;
    font-weight: bold;
}

form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form input, form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
}