﻿/* =============================================
   KV-Farben (Standard)
   ============================================= */
.kvbeere {
    color: #b02d88 !important;
}

.kvorange {
    color: #f49325 !important;
}

.kvgruen {
    color: #66ad31 !important;
}

.kvblau {
    color: #36a9e0 !important;
}

.kvviolett {
    color: #522583 !important;
}

.kvrot {
    color: #dc2e13 !important;
}


.hidden { display: none !important; }

/* =============================================
   KV-Farben (High-Contrast-Modus)
   Ãœberschreibt die Standardfarben, wenn der High-Contrast-Modus aktiv ist.
   ============================================= */
.js-show-high-contrast .kvbeere,
.js-show-high-contrast .kvorange,
.js-show-high-contrast .kvgruen,
.js-show-high-contrast .kvblau,
.js-show-high-contrast .kvviolett,
.js-show-high-contrast .kvrot {
    color: #000000 !important;
}


/* =============================================
   Buttons
   ============================================= */
.inputSubmitSecondary {
    background-color: #d71541 !important;
    border: 1px solid #d71541 !important;
}

.inputSubmitSecondary:hover {
    background-color: #b01030 !important; /* Dunkleres Rot */
    border-color: #b01030 !important;
}

/* High-Contrast-Modus fÃ¼r Buttons */
.js-show-high-contrast .inputSubmitSecondary {
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* High-Contrast-Modus fÃ¼r Buttons */
.js-show-high-contrast .inputSubmitSecondary:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
}



.btn-red {
    background-color: #d71541 !important;
    border: 1px solid #d71541 !important;
}

.btn-red:hover {
    background-color: #b01030 !important; /* Dunkleres Rot */
    border-color: #b01030 !important;
}


.js-show-high-contrast .btn-red {
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* High-Contrast-Modus fÃ¼r Buttons */
.js-show-high-contrast .btn-red:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
}


.ph-formbutton--padding-top-20 {
    padding-top: 20px;
}



/* =============================================
     Formulare und Sections
   ============================================= */
.ph-form {
    padding-top: 10px; /* Ersetzt style="padding-top: 10px;" im <form> */
}

.m-form-kvh--no-padding-bottom {
    padding-bottom: 0 !important;
}

.m-form-kvh--no-padding-top {
    padding-top: 0 !important; /* FÃ¼r Sections ohne padding-top */
}

.m-form-kvh--padding-bottom-10 {
    padding-bottom: 10px; /* Ersetzt style="padding-bottom: 10px;" */
}

.m-form-kvh--padding-top-10 {
    padding-top: 10px; /* Ersetzt style="padding-bottom: 10px;" */
}


.m-form-kvh--padding-vertical {
    padding-top: 0;
    padding-bottom: 30px;
}

.m-text-media-kvh--below {
    padding-bottom: 10px; /* Ersetzt style="padding-bottom:10px;" */
}

.js-equalheights-colcontent--no-padding-top {
    padding-top: 0 !important; /* FÃ¼r Sections ohne padding-top */
}

.ph-form--padding-top-10 {
    padding-top: 10px;
}

.ph-checkbox-group--has-combined-input-label .ph-checkbox-group__checkbox-wrap--no-width-no-padding {

    width: auto;       /* Standardverhalten (keine feste Breite) */
    padding-left: 0;   /* Kein linker Innenabstand */
}

.padding-left-20 {
    padding-left: 20px;
}


/* =============================================
   Aktualisieren-Link
   ============================================= */
.m-form-kvh__refresh {
    padding-left: 85%;
    padding-bottom: 2%;
}

/* =============================================
   Tabellen
   ============================================= */
.m-responsive-table-kvh__row,
.m-responsive-table-kvh__row--header {
    font-size: 80%;
}

.m-responsive-table-kvh__field--nowrap {
    white-space: nowrap;
}

/* =============================================
   Modal
   ============================================= */
.m-modal-kvh {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(-0%, -0%);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.m-modal-kvh__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 5px;
}


/* =============================================
   Versteckte Elemente
   ============================================= */
.js-hidden-form {
    display: none;
}


/* =============================================
   Dienste verwalten
   ============================================= */
.ph-checkbox {
    display: inline-block;
}

.ph-checkbox.disabled label::before {
    background-color: #c5c5c5 !important;
}

.ph-checkbox.disabled label::after {
    border-color: #6d6a6a !important;
}

.no-touch .ph-checkbox.disabled input[type=checkbox]:hover:not(:checked) + label:after {
    opacity: 0 !important;
}

/* Container und Layout ============================================= */
.col--card {
    padding: 20px 15px !important;
    margin-bottom: 20px !important;
    box-shadow:
            0 1px 1px 0 rgba(0, 0, 0, 0),
            0 1px 1px 0 rgba(0, 0, 0, 0.14),
            0 1px 3px 0 rgba(0, 0, 0, 0.12);
    background-color: #ebebeb;
}


/* =============================================
   Rueckruf Tool - Page-Specific Styles
   ============================================= */
.service-rueckruf_tool .m-responsive-table-kvh__inner {
    font-size: 80%;
}

.service-rueckruf_tool .rueckruf-tool-icon-spaced {
    padding-right: 5px;
    padding-left: 0;
}

.service-rueckruf_tool #anchorExtDienste {
    position: relative;
}

.service-rueckruf_tool #anchorExtDienste.rueckruf-tool-anchor-offset {
    top: 40px;
}

.service-rueckruf_tool .c-pagebrowser-1.js-pagebrowser-1 {
    height: 22px;
}

.service-rueckruf_tool .rueckruf-tool-flex-start {
    display: flex;
    justify-content: start;
}

.service-rueckruf_tool .rueckruf-tool-flex-end {
    display: flex;
    justify-content: end;
}

.service-rueckruf_tool .rueckruf-tool-pagination-right {
    right: 0;
}

.service-rueckruf_tool .rueckruf-tool-date-range {
    padding-left: 20%;
}

.service-rueckruf_tool .ph-form {
    padding-top: 10px;
}

/* Rueckruf Tool - Tabellenbreiten */
.service-rueckruf_tool .rueckruf-tool-col-15 { width: 15%; }
.service-rueckruf_tool .rueckruf-tool-col-20 { width: 20%; }
.service-rueckruf_tool .rueckruf-tool-col-10 { width: 10%; }
.service-rueckruf_tool .rueckruf-tool-col-25 { width: 25%; }

.service-rueckruf_tool .rueckruf-tool-no-padding-top {
    padding-top: 0;
}


/* Selektivvertraege - Page-Specific Styles */
.service-selektivvertraege .hidden {
    display: none !important;
}

.service-selektivvertraege #inputSubmit3 {
    background-color: #36a9e0;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#inputSubmit3:hover {
    background-color: #2a86b8;
}

#inputSubmit3:disabled {
    background-color: #ebebeb !important;
    color: #666 !important;
    border: 1px solid #ebebeb !important;
    cursor: not-allowed !important;
}

#inputSubmit3:disabled:hover {
    background-color: #ebebeb !important;
}

.service-selektivvertraege .selektivvertraege-section-padding-top-50 {
    padding-top: 50px;
}



/* Deaktiviertes Select-Element (Dropdown) */
select.js-selectric:disabled {
    background-color: #ebebeb !important;
}


/* High-Contrast-Modus fÃ¼r deaktiviertes Dropdown */
.js-show-high-contrast select.js-selectric:disabled {
    background-color: #ebebeb !important;
    border: 1px solid #000000 !important;
}


/* =============================================
   Button: Vertreterpraxis hinzufÃ¼gen (Blau)
   ============================================= */
#add_verterterpraxis_btn {
    background-color: #36a9e0 !important;  /* KV-Blau */
    border: 1px solid #888 !important;
    color: #ffffff !important;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#add_verterterpraxis_btn:hover {
    background-color: #2a86b8 !important;  /* Dunkleres Blau */
    
}

/* High-Contrast-Modus: Schwarz */
.js-show-high-contrast #add_verterterpraxis_btn {
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* High-Contrast-Modus: WeiÃŸ auf Hover */
.js-show-high-contrast #add_verterterpraxis_btn:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
}


#add_externer_arzt_btn {
    background-color: #36a9e0 !important;  /* KV-Blau */
    border: 1px solid #888 !important;
    color: #ffffff !important;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#add_externer_arzt_btn:hover {
    background-color: #2a86b8 !important;  /* Dunkleres Blau */
    
}

/* High-Contrast-Modus: Schwarz */
.js-show-high-contrast #add_externer_arzt_btn {
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* High-Contrast-Modus: WeiÃŸ auf Hover */
.js-show-high-contrast #add_externer_arzt_btn:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
}


/* =============================================
   Rote Buttons (z. B. "Entfernen")
   ============================================= */
.btn-red {
    background-color: #d71541 !important;  /* KV-Rot */
    border: 1px solid #d71541 !important;
    color: #ffffff !important;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-red:hover {
    background-color: #b01030 !important;  /* Dunkleres Rot */
    border-color: #b01030 !important;
}

/* High-Contrast-Modus: Schwarz */
.js-show-high-contrast .btn-red {
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

/* High-Contrast-Modus: WeiÃŸ auf Hover */
.js-show-high-contrast .btn-red:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
}

.no-padding-left {
    padding-left: 0 !important;
    margin-left: 0 !important;
}



/* =============================================
   DISPLAY-UTILITY-KLASSEN (fÃ¼r CSP-Compliance)
   ============================================= */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }

/* FÃ¼r text-align */
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

/* FÃ¼r padding/margin */
.p-0 { padding: 0 !important; }
.m-0 { margin: 0 !important; }
.pl-20 { padding-left: 20px !important; }
.pt-10 { padding-top: 10px !important; }
.pt-20 { padding-top: 20px !important; }
.pb-10 { padding-bottom: 10px !important; }
.mt-10 { margin-top: 10px !important; }

/* FÃ¼r spezifische Container */
.upload-container-hidden { display: none !important; }
.section-hidden { display: none !important; }


/* =============================================
   Hyphenation (fÃ¼r CSP-Compliance)
   ============================================= */
.hyphens-manual {
    hyphens: manual;
}

/* =============================================
   SSb Suche fÃ¼r Verordnungsportal
   ============================================= */
.btn-secondary {
    background-color: #36a9e0 !important; /* KV-Blau */
    border: 1px solid #36a9e0 !important;
    color: #ffffff !important;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: #2a86b8 !important; /* Dunkleres Blau */
    border-color: #2a86b8 !important;
}

/* High-Contrast-Modus fÃ¼r btn-secondary */
.js-show-high-contrast .btn-secondary {
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

.js-show-high-contrast .btn-secondary:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
}

.ssb-reset-button-container {
    display: flex !important;
    justify-content: flex-end !important;
}

.btn-reset-filter {
    margin-left: 10px;
}

.ph-formfield { position: relative; }  /* nur falls noch nicht gesetzt â€“ Dropdown-Anker */

.ssb-suggest-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    display: none;
}

.ssb-suggest-item {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
}

.ssb-suggest-item:hover,
.ssb-suggest-item--active {
    background: #eee;
}

.ssb-suggest-item .ssb-suggest-pzn {
    color: #888;
    font-size: 12px;
    margin-left: 6px;
}

.m-modal-kvh__button-col--nav {
    flex: 1;
    display: flex;
    
    gap: 10px;
}


.m-modal-kvh__button-col--nav .btn-secondary {
    background-color: #36a9e0 !important; /* KV-Blau */
    border: 1px solid #36a9e0 !important;
    color: #ffffff !important;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}


.ssb-suggest-label-wirkstoff {
    color: #66ad31;
    font-size: 85%;
    font-weight: bold;
}

.ssb-suggest-label-gruppe {
    color: #f49325;
    font-size: 85%;
    font-weight: bold;
}

/* Layout für Modal-Buttons in der SSB-Suche */
#ssbSucheModalDetails .m-modal-kvh__buttons-colrow {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
}

#ssbSucheModalDetails .m-modal-kvh__button-col--nav {
    justify-content: center !important;
    width: 100% !important;
}

#ssbSucheModalDetails .m-modal-kvh__button-col {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Einheitliche Button-Höhe im Modal */
#ssbSucheModalDetails .m-modal-kvh__button {
    padding: 8px 16px !important;
    height: auto !important;
    line-height: 1.5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* High-Contrast für Schließen-Button im Modal */
.js-show-high-contrast .m-modal-kvh__button--accept {
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

.js-show-high-contrast .m-modal-kvh__button--accept:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
}

/* High-Contrast für Navigationsbuttons im Modal */
.js-show-high-contrast .m-modal-kvh__button-col--nav .btn-secondary {
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

.js-show-high-contrast .m-modal-kvh__button-col--nav .btn-secondary:hover {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
}
