﻿/* style.css */

/* Allgemeine Styles für das Formular-Container */
.appointment-form {
    max-width: 450px;
    margin: 20px auto;
    padding: 25px;
    background-color: #f4f4f4; /* Formular Hintergrund (Hellgrau/Sand) */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #333333; /* Allgemeine Schriftfarbe (Dunkelgrau) */
    font-family: Arial, sans-serif;
}

    .appointment-form h3 {
        text-align: center;
        color: #007bff;
        margin-bottom: 20px;
    }

    /* Label und Eingabefelder */
    .appointment-form label {
        display: block;
        margin-top: 15px;
        margin-bottom: 5px;
        font-weight: bold;
        font-size: 0.95em;
    }

    .appointment-form input[type="text"],
    .appointment-form input[type="email"],
    .appointment-form input[type="datetime-local"],
    .appointment-form textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #cccccc;
        border-radius: 4px;
        box-sizing: border-box;
        color: #333333; /* Schriftfarbe für Eingabefelder */
        transition: border-color 0.3s;
    }

        .appointment-form input:focus,
        .appointment-form textarea:focus {
            border-color: #007bff;
            outline: none;
        }

    /* Spezielle Formatierung für das Textarea-Feld */
    .appointment-form textarea {
        background-color: white; /* Textarea Hintergrund (Weiß) */
        resize: vertical;
        min-height: 100px;
    }

    /* Button */
    .appointment-form button[type="submit"] {
        background-color: #007bff;
        color: white;
        padding: 12px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        margin-top: 25px;
        width: 100%;
        font-size: 1em;
        font-weight: bold;
        transition: background-color 0.3s;
    }

        .appointment-form button[type="submit"]:hover {
            background-color: #0056b3;
        }

/* Meldungen */
.success-message, .error-message {
    padding: 15px;
    margin: 10px auto;
    max-width: 450px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
