/* =========================================
   Apothekengesuch Formular – passend zum Plugin
   ========================================= */

/* Allgemeines Formular */
.apothekengesuch-formular {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f1f1;
 
}

.apothekengesuch-formular label {
    font-size: 16px; 
font-weight: 600; 
display: block; 
color: #555;
}

/* Eingabefelder */
.apothekengesuch-formular input[type="text"],
.apothekengesuch-formular input[type="email"],
.apothekengesuch-formular input[type="tel"],
.apothekengesuch-formular textarea {
    width: 100%; 
padding: 10px; 
margin-top: 5px; 
border: 1px solid #ddd; 
border-radius: 5px; 
font-size: 16px; 
background-color: #f9f9f9; 
transition: all 0.3s ease;
}

.apothekengesuch-formular input[type="text"]:focus,
.apothekengesuch-formular input[type="email"]:focus,
.apothekengesuch-formular input[type="tel"]:focus,
.apothekengesuch-formular textarea:focus {
    border-color: #0073aa;
    background-color: #fff;
    outline: none;
}

/* Gruppen */
.apothekengesuch-formular .form-group {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.apothekengesuch-formular .field-half {
    width: 48%;
}

/* Radio-Buttons */
.apothekengesuch-formular .radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.apothekengesuch-formular .radio-label {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #555;
transition: all 0.3s ease;
}

.apothekengesuch-formular .radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.apothekengesuch-formular .radio-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.apothekengesuch-formular .radio-label input[type="radio"]:checked + .radio-button {
    background-color: #004f9f;
    color: #fff;
    border-color: #004f9f;
}

.apothekengesuch-formular .radio-button:hover {
    background-color: #e1e1e1;
    border-color: #bbb;
}

/* Checkbox (Datenschutz) */
.apothekengesuch-formular .form-check {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.apothekengesuch-formular .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0073aa;
}

.apothekengesuch-formular .form-check label {
    font-size: 15px;
    color: #444;
}

/* Submit-Button */
.apothekengesuch-formular button[type="submit"] {
    background-color: #004f9f;
    color: #fff;
    padding: 14px 0;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.apothekengesuch-formular button[type="submit"]:hover {
    background-color: #005a8d;
}

/* Hinweis auf Pflichtfelder */
.apothekengesuch-formular p small {
    color: #666;
    font-size: 14px;
}

/* Meldungen */
.apothekengesuch-formular .success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

.apothekengesuch-formular .error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

/* Responsiv */
@media (max-width: 768px) {
    .apothekengesuch-formular .form-group {
        flex-direction: column;
    }

    .apothekengesuch-formular .field-half {
        width: 100%;
    }

    .apothekengesuch-formular .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}
