
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #e5e5e5;
    color: #222;
    line-height: 1.6;
}

/* Website header */
.appointment-header {
    background-color: #990000;
    color: #ffff00;
    text-align: center;
    padding: 30px 20px;
    border-bottom: 5px solid #ffff00;
}

.appointment-header h1 {
    margin: 0;
    font-size: 32px;
}

.appointment-header p {
    margin: 8px 0 0;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Main content area */
.appointment-container {
    width: 94%;
    max-width: 1000px;
    margin: 35px auto;
}

/* Appointment form card */
.appointment-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 12px;
    border-top: 7px solid #990000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.appointment-card h2 {
    color: #990000;
    text-align: center;
    margin-top: 0;
    font-size: 28px;
}

.intro {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

/* Form fields */
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 7px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #990000;
    border-color: #990000;
}

.form-group textarea {
    resize: vertical;
}

/* Place related fields next to each other */
.form-row {
    display: flex;
    gap: 18px;
}

/* Submit button */
.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #990000;
    color: #ffff00;
    border: 2px solid #990000;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.submit-button:hover {
    background-color: #ffff00;
    color: #990000;
}

.form-note {
    text-align: center;
    color: #666;
    font-size: 13px;
    margin-top: 15px;
}

/* Footer */
.appointment-footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.appointment-footer p {
    margin: 5px;
}

.appointment-footer a {
    color: #ffff00;
    text-decoration: none;
}

.appointment-footer a:hover {
    text-decoration: underline;
}

/* Mobile layout */
@media (max-width: 700px) {
    .appointment-header h1 {
        font-size: 25px;
    }

    .appointment-container {
        width: 96%;
        margin: 20px auto;
    }

    .appointment-card {
        padding: 20px;
    }

    .appointment-card h2 {
        font-size: 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/** Footer **/
    footer {
    background: #990000;
    color: #ffff00;
    padding: 50px 20px;
    text-align: center;
    border-top: 4px solid #ffff00;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

.footer-container h3 {
    color: #ffff00;
    font-size: 1.8rem;
}

.footer-container p {
    color: #ffff00;
    font-size: larger;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
}

.footer-links a {
    color: #ffff00;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #ffff00;
    border-radius: 6px;
    transition: 0.3s;
}

.footer-links a:hover {
    background: #ffff00;
    color: #ff0000;
}

.footer-contact {
    margin-top: 20px;
    color: #ffff00;
    
}

.copyright {
    margin-top: 25px;
    color: #ffff00;
    font-size: 0.9rem;
}

.back-link {
    display: block;
    margin-top: 20px;
    color: #990000;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Private appointment counter */
.appointment-counter {
    background-color: #990000;
    color: #ffff00;
    border: 3px solid #ffff00;
    border-radius: 12px;
    padding: 25px;
    margin: 25px auto;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.appointment-counter h2 {
    margin-top: 0;
    font-size: 24px;
}

.counter-number {
    font-size: 60px;
    font-weight: bold;
    margin: 15px 0;
}

.appointment-counter p:last-child {
    font-size: 14px;
}

