/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif; /* Classic serif font for elegance */
    background: linear-gradient(to bottom, #e0f7fa, #ffffff); /* Light sky blue gradient */
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 500px;
    width: 90%;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #b3e5fc;
}

h1 {
    text-align: center;
    color: #0277bd; /* Deep sky blue */
    margin-bottom: 30px;
    font-size: 28px;
    letter-spacing: 1px;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    color: #01579b;
    margin-bottom: 8px;
    font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
select {
    padding: 12px 15px;
    border: 2px solid #81d4fa;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f0f8ff;
}

input:focus,
select:focus {
    outline: none;
    border-color: #29b6f6;
    box-shadow: 0 0 8px rgba(41, 182, 246, 0.3);
    background-color: #ffffff;
}

select {
    cursor: pointer;
    appearance: none; /* Remove default arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230277bd' d='M1 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

button {
    background-color: #29b6f6; /* Sky blue */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #0277bd;
}

.error {
    background-color: #ffcdd2;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.success {
    background-color: #c8e6c9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}