/*
    Diese Datei enthält nur die spezifischen Styles für das Überweisungsformular.
    Allgemeine Styles (Hintergrund, Body, Header, Statusmeldungen) werden
    aus der Datei rezepte.css übernommen, um Redundanz zu vermeiden.
*/

#idUeberwFormBody {
    width: 50%;
}
.patient_nummer,
.ueberweisungen_container {
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.ueberweisungen_container {
    row-gap: 15px;
}
.patient_nummer input,
.ueberweisungen_container input { 
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    background: var(--secondary-text-color);
    color: #707070;
    font-size: clamp(0.8rem, 0.9vw, 1rem);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    
}
.patient_nummer input:focus-visible,
.ueberweisungen_container input:focus-visible,
.ueberw_Regress input:focus-visible,
.ueberw_Ds input:focus-visible,
#idUeberwAbsendeBtn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: none;
}
.ueberw_Regress,
.ueberw_Ds {
    width: 100%;
    margin: 1em auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
#idLblUeberwRegress,
#idLblUeberwDsAkzept {
    padding-left: 5px;
    font-size: clamp(0.95rem, 1vw, 1.4rem);
    cursor: pointer;
}
#idLblUeberwDsAkzept a {
    color: var(--main-brand-color);
    font-weight: bold;
    text-decoration: none;
    transition: all 150ms ease-in;
}
#idLblUeberwDsAkzept a:hover {
    color: var(--text-color);
}
#idUeberwAbsendeBtn {
    box-sizing: border-box;
    width: 100%;
    margin: 15px auto;
    padding: 10px;
    background-image: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--secondary-text-color);
    font-size: clamp(0.95rem, 1vw, 1.4rem);     /* wie p */
    letter-spacing: 1px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 150ms ease-in-out;
    box-shadow:
        0 1px 2px rgba(0,0,0,.1),
        0 2px 8px rgba(0,0,0,.08);
}
#idUeberwAbsendeBtn[disabled],
#idUeberwAbsendeBtn[aria-disabled='true'] {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}
#idUeberwAbsendeBtn:hover {
    opacity: 0.6;
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    #idUeberwAbsendeBtn { transition: none; transform: none; }
    #idLblUeberwDsAkzept a { transition: none; }
}

@media (max-width: 1279px) {
}
@media (max-width: 799px) {
    #idUeberwFormBody {
        width: 85%;
    }
    .patient_nummer input,
    .ueberweisungen_container input,
    #idLblUeberwRegress,
    #idLblUeberwDsAkzept,
    #idUeberwAbsendeBtn {
        font-size: clamp(0.95rem, 2vw, 1.8rem);
    }
}
@media (max-width: 480px) {
    #idUeberwFormBody {
        width: 90%;
    }
    .patient_nummer input,
    .ueberweisungen_container input,
    #idLblUeberwRegress,
    #idLblUeberwDsAkzept,
    #idUeberwAbsendeBtn {
        font-size: clamp(0.95rem, 3.6vw, 1.8rem);
    }
}