/* ==========================
   APPOINTMENT PAGE
   ========================== */

.appointment-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
}
/* Container card */
.appointment-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    color: #333;
}

/* Form headings */
.appointment-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c7be5;
}

/* Form labels */
.appointment-form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: bold;
}

/* Form inputs & textarea */
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Form button */
.appointment-form button {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background-color: #2c7be5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.appointment-form button:hover {
    background-color: #1f5fc4;
    transform: translateY(-2px);
}

/* Success message */
.success-message {
    display: none;
    margin-top: 20px;
    padding: 12px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 8px;
    text-align: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .appointment-form-container {
        padding: 20px;
    }
}

.timeslot-card {
    background-color: #dfdfdf;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeslot-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.timeslot {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #2c7be5;
    background-color: white;
    color: #2c7be5;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.timeslot.selected {
    background-color: #07d300;   /* your highlight colour */
    border-color: #07d300;
    color: #fff;
}

.timeslot:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeslot.disabled {
    background-color: #ccc;
    color: #888;
    border-color: #ccc;
    cursor: not-allowed;
}
