/* =========================
   Myriad Pro – Font Faces
   ========================= */

/* Regular */
@font-face {
    font-family: "Myriad Pro";
    src: url("../fonts/MyriadPro-Regular.woff2") format("woff2"),
         url("../fonts/MyriadPro-Regular.woff") format("woff"),
         url("../fonts/MyriadPro-Regular.ttf") format("truetype"),
         url("../fonts/MyriadPro-Regular.otf") format("opentype"),
         url("../fonts/MyriadPro-Regular.eot");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Light */
@font-face {
    font-family: "Myriad Pro";
    src: url("../fonts/MyriadPro-Light.woff2") format("woff2"),
         url("../fonts/MyriadPro-Light.woff") format("woff"),
         url("../fonts/MyriadPro-Light.ttf") format("truetype"),
         url("../fonts/MyriadPro-Light.otf") format("opentype"),
         url("../fonts/MyriadPro-Light.eot");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Semibold */
@font-face {
    font-family: "Myriad Pro";
    src: url("../fonts/MyriadPro-Semibold.woff2") format("woff2"),
         url("../fonts/MyriadPro-Semibold.woff") format("woff"),
         url("../fonts/MyriadPro-Semibold.ttf") format("truetype"),
         url("../fonts/MyriadPro-Semibold.otf") format("opentype"),
         url("../fonts/MyriadPro-Semibold.eot");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: "Myriad Pro";
    src: url("../fonts/MyriadPro-Bold.woff2") format("woff2"),
         url("../fonts/MyriadPro-Bold.woff") format("woff"),
         url("../fonts/MyriadPro-Bold.ttf") format("truetype"),
         url("../fonts/MyriadPro-Bold.otf") format("opentype"),
         url("../fonts/MyriadPro-Bold.eot");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



html, body {
    height: 100%;
}

/* Show it is fixed to the top */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 4.5rem;
    color: #004E86;
    font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 20; 
    font-style: normal;
    font-weight: 700;
    line-height: 18px; /* 90% */
}

main {
    flex: 1 0 auto;
}

.bg-rf{
  background-color: #004E86 !important;
}

.logo-rf{
    max-height: 8rem;
}

.rf-head{
    color: #004E86;
     font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.rf-main{
    color: #004E86;
   font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
}

.rf-code{
    margin-top:12px;
    height: 84px;
    background: #E9EFF6;
    display: flex;
    align-items: center;
}

.rf-code input {
    background: #E9EFF6;
    border: none;
    outline: none;
    box-shadow: none;
    color: #000; /* oder weiß, je nach Hintergrund */
    width: 100%;
    padding: 8px 0;
    font-size: 1.2rem;
}

.rf-code input::placeholder {
    color: #999; /* Placeholder-Farbe */
    opacity: 1;
}

.rf-button{
    margin-top:12px;
    color: #fff;
    background-color: #004E86;
    border-color: #004E86;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .0em;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    height: 84px;
    padding: 25px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
      font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 20px;
}

.rf-button-sm{
    margin-top:12px;
    color: #fff;
    background-color: #004E86;
    border-color: #004E86;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .0em;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    justify-content: center;
    align-items: center;
    gap: 10px;
       font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 20px;
}

.rf-button-white{
    margin-top:12px;
    color: #004E86;
    background-color: #fff;
    border-color: #004E86;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 2px solid;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .0em;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    height: 84px;
    padding: 25px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
       font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 20px;
}


.rf-rect-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;  /* verteilt beide Items */
    gap: 16px;                       /* Abstand zwischen den Boxen */
}



.rf-rect-wrapper {
    display: flex;
    flex-direction: column;    /* Text unter das Rechteck */
    align-items: center;       /* zentriert */
    cursor: pointer;
}

.rf-rect-btn {
    width: 179px;
    height: 191px;
    background: #004E86;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-repeat: no-repeat;
     position: relative;  
     background-position: center calc(100% - 15px);
}

.rf-rect-btn-label {
    margin-top: 8px;
    font-size: 14px;
    color: #022140;
}

.rf-rect {
    width: 84.286px;
    height: 84.286px;
    border: 3px solid #004E86;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.rf-rect-label {
    margin-top: 8px;
    font-size: 18px;
    color: #022140;
}

.picto-stammdaten{
     background-image: url('../assets/picto_stammdaten.svg');
}

.picto-standanmeldung{
     background-image: url('../assets/picto_standanmeldung.svg');
}

.picto-standpersonal{
     background-image: url('../assets/picto_standpersonal.svg');
}

.picto_dokuments{
     background-image: url('../assets/picto_dokuments.svg');
}

.picto_shop{
     background-image: url('../assets/messe-logo.png');
     background-repeat: no-repeat;
     background-size: contain;
     background-position: center;
}

.rf-rect-btn.selected::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    background-image: url("../assets/check.svg");
    background-repeat: no-repeat;
    background-size: contain;
}


.rf-footer-fixed {
     position: relative;
    margin-top: auto;
    padding: 40px 0 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #999;
    
    display: flex;
    gap: 20px;

    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: #999;
    background: transparent;
    z-index: 500 !important;
}

.rf-footer-fixed a {
    color: #999;
    text-decoration: none;
}

.rf-footer-fixed a:hover {
    text-decoration: underline;
}



/* Titel */
.rf-page-title {
    font-size: 30px;
    font-weight: 700;
    color: #004E86;
    margin-bottom: 30px;
}

/* Feldabstand */
.rf-form-field {
    margin-bottom: 25px;
}

/* Label */
.rf-label {
    display: block;
    font-weight: 700;
    color: #004E86;
    margin-bottom: 6px;
}

/* Hilfetext */
.rf-help {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #004E86;
    opacity: 0.8;
    margin-top: 4px;
}

/* Input-Style */
.rf-input {
    width: 100%;
    height: 40px;
    background: #E9EFF6;
    border: none;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #004E86;
}

/* Upload-Box */
.rf-upload-box {
    background: #E9EFF6;
    border: 2px solid #004E86;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #004E86;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
}

/* Pflichtfeld-Hinweis */
.rf-required-hint {
    font-size: 13px;
    color: #004E86;
    margin-top: 10px;
}

/* Buttons */
.rf-btn-primary {
    background: #004E86;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.rf-btn-secondary {
    background: white;
    color: #004E86;
    border: 2px solid #004E86;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.rf-btn-secondary,
.rf-btn-secondary:link,
.rf-btn-secondary:visited,
.rf-btn-secondary:hover,
.rf-btn-secondary:focus,
.rf-btn-secondary:active {
    text-decoration: none !important;
}




.rf-upload-area {
    background: #E9EFF6;
    border: 2px dashed #004E86;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #004E86;
    font-weight: 600;
    padding: 10px;
    cursor: pointer;
    transition: 0.25s ease;
    position: relative;
}

.rf-upload-area.dragover {
    background: #d7e3f1;
    border-color: #022140;
}

.rf-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.rf-upload-result {
    margin-top: 8px;
    font-size: 14px;
    color: #004E86;
    font-weight: 500;
}


/* Select Styling */
.rf-select {
    appearance: none;
    background: #004E86 url('../assets/arrow-down.svg') no-repeat right 12px center;
    color: #fff;
    padding-right: 32px;
    cursor: pointer;
}

/* Hallenboxen */
.rf-hall-box {
    width: 240px;
    border: 2px solid #004E86;
    padding: 16px;
    text-align: center;
    color: #004E86;
    font-weight: 700;
    background: #fff;
}

.rf-hall-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.rf-hall-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.rf-hall-link {
    font-size: 14px;
    text-decoration: none;
    color: #004E86;
}

.rf-hall-link:hover {
    text-decoration: underline;
}


.hall-click {
    cursor: pointer;
    transition: 0.2s ease;
}

.hall-click:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}




#zoomContainer {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background: #ffffff;
    touch-action: none;
}

#modalImage {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    user-select: none;
}




.modal-content {
    background: #ffffff !important;
}

.modal-body {
    background: #ffffff !important;
}



.rf-person-block {
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.rf-person-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: #004E86;
    margin-bottom: 20px;
}

.rf-remove-btn {
    background: none;
    border: none;
    color: #004E86;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.rf-day {
    background: #E9EFF6;
    padding: 12px 18px;
    text-align: center;
    font-size: 13px;
    color: #004E86;
    font-weight: 700;
    border: 1px solid #c3cede;
    cursor: pointer;
    user-select: none;
}

.rf-day:hover {
    background: #004E86;
    color: #fff;
}

.rf-add-person {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.rf-add-box {
    width: 36px;
    height: 36px;
    border: 2px solid #004E86;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #004E86;
    font-size: 22px;
}

.rf-add-label {
    font-size: 16px;
    font-weight: 700;
    color: #004E86;
}

.rf-days {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.rf-day-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 700;
    color: #004E86;
    line-height: 16px;
}

.rf-day-check input {
    display: none;
}

/* Rahmen der Checkbox */
.rf-check-box {
    width: 22px;
    height: 22px;
    border: 2px solid #004E86;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
}

/* Haken bei "checked" */
.rf-check:checked + .rf-check-box {
    background-color: #004E86;
}

.rf-check:checked + .rf-check-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Text */
.rf-check-text {
    display: block;
    line-height: 16px;
}


/* Hallen-Tages-Checkboxen */
.rf-days {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 15px;
}

.rf-day-option {
    display: flex;
     align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    user-select: none;
}

.rf-day-option input {
    display: none;
}

/* KORREKTUR: Checkbox exakt wie im Screenshot */
.rf-day-box {
    width: 55px;              /* vorher 140 */
    height: 55px;              /* vorher 60 */
    background: #E9EFF6;
    border: 2px solid #004E86;
    position: relative;
    flex-shrink: 0;
     margin-top: 2px;
}

/* Aktiv-Füllung */
.rf-day-option input:checked + .rf-day-box {
    background: #004E86;
}

/* Weißer Haken proportional kleiner & mittiger */
.rf-day-option input:checked + .rf-day-box::after {
    content: "";
    position: absolute;
    left: 20px;                   /* vorher 55 */
    top: 10px;                    /* vorher 15 */
    width: 14px;                  /* vorher 18 */
    height: 28px;                 /* vorher 36 */
    border: solid #ffffff;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

/* Text rechts daneben */
.rf-day-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: #004E86;
}

.rf-remove-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #004E86;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.rf-remove-btn .minus {
    width: 26px;
    height: 26px;
    border: 2px solid #004E86;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-remove-btn .minus::before {
    content: "";
    width: 14px;
    height: 2px;
    background: #004E86;
}

.rf-remove-btn:hover .minus {
    background: #E9EFF6;
}



/* Wrapper als Link formatieren */
.rf-rect-wrapper {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #022140;
}

/* 4 pro Row auf Desktop */
.rf-rect-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

/* exakt 4 nebeneinander */
.rf-rect-wrapper {
    flex: 0 0 calc(25% - 32px);
}

/* Tablet → 2 pro Row */
@media (max-width: 992px) {
    .rf-rect-wrapper {
        flex: 0 0 calc(50% - 32px);
    }
}

/* Mobile → 1 pro Row */
@media (max-width: 576px) {
    .rf-rect-container {
        justify-content: space-between;
    }

    .rf-rect-wrapper {
        flex: 0 0 calc(50% - 16px);
    }
}

/* --- Dokumenten-Tabelle --- */

.rf-doc-table {
    width: 100%;
    border: 2px solid #004E86;
    background: #f3f6fa;
    
}

/* Header */
.rf-doc-header {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    background: #3c5e86;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    border-bottom: 2px solid #004E86;
}

/* Body rows */
.rf-doc-row {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    padding: 18px 20px;
    font-size: 16px;
    align-items: center;
    border-bottom: 1px solid #c3cede;
}

/* Columns */
.rf-doc-col-doc {
    font-weight: 700;
}

.rf-doc-col-date {
    text-align: center;
}

.rf-doc-col-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Checkbox Styling wie im Screenshot --- */

.rf-doc-check-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
     padding: 6px;
}

.rf-doc-check-wrapper input {
    display: none;
}

.rf-doc-check {
    width: 26px;
    height: 26px;
    border: 2px solid #004E86;
    background: #ffffff;
    position: relative;
}

/* gefüllte Checkbox */
.rf-doc-check-wrapper input:checked + .rf-doc-check {
    background: #004E86;
}

.rf-doc-check-wrapper input:checked + .rf-doc-check::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 2px;
    width: 8px;
    height: 16px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* PDF Link */
.rf-doc-link {
    color: #004E86;
    text-decoration: none;
    font-weight: 700;
}

.rf-doc-link:hover {
    text-decoration: underline;
}


/* Header-Spalten mit vertikalen Linien */
.rf-doc-header > div {
    border-right: 1px solid #c3cede;
}

.rf-doc-header > div:last-child {
    border-right: none;
}

/* Body-Spalten mit vertikalen Linien */
.rf-doc-row > div {
    border-right: 1px solid #c3cede;
}

.rf-doc-row > div:last-child {
    border-right: none;
}


/* ===============================
   Dokumenten-Tabelle – stabil
   =============================== */

.rf-doc-table {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    width: 100%;
    border: 2px solid #004E86;
    background: #f3f6fa;
}

.rf-doc-row {
    display: contents; /* ebenfalls wichtig! */
}

/* Jede einzelne Zelle */
.rf-doc-table > div {
    padding: 16px;
    border-bottom: 1px solid #c3cede;
    background: #f7f9fc;
    min-height: 72px;
    display: flex;
    align-items: center;
}

/* Spaltenlinien – durchgehend */
.rf-doc-col-doc {
    border-right: 2px solid #004E86;
      display: flex;
    align-items: center;
    padding-left: 24px;
}

.rf-doc-col-date {
    border-right: 2px solid #004E86;
     display: flex;
    align-items: center;
    justify-content: center;
}

/* Die letzte Spalte bekommt keine rechte Linie */
.rf-doc-col-check {
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Hintergrund */
.rf-doc-header > div {
    background: #3d6b9a;
    color: white;
    font-weight: 700;
}



/* Android / Chrome Link-Fix */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    color: #999 !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}


.rf-footer-fixed a,
.rf-footer-fixed a:link,
.rf-footer-fixed a:visited,
.rf-footer-fixed a:hover,
.rf-footer-fixed a:active,
.rf-footer-fixed a:focus {
    color: #999 !important;
    text-decoration: none;
}


* {
    -webkit-tap-highlight-color: transparent;
}


.rf-logout {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    gap: 12px;
    font-size: 20px;
}

.rf-logout:hover {
    color: #ffffff;
    text-decoration: underline;
}

.rf-logout-icon {
    width: 49px;
    height: 49px;
    display: block;
}


.rf-logout,
.rf-logout:link,
.rf-logout:visited,
.rf-logout:hover,
.rf-logout:active,
.rf-logout:focus {
    color: #ffffff !important;
    opacity: 1 !important;
    text-decoration: none;
}



/* Deaktivierter Messe-Shop */
.rf-disabled {
    pointer-events: auto;
    cursor: not-allowed;
    opacity: 0.35;
}

.rf-disabled .rf-rect-btn {
    filter: grayscale(100%);
}

.rf-disabled .rf-rect-btn-label {
    color: #999;
}

/* ===============================
   Hover: kleiner + ausgegraut
   =============================== */

.rf-rect-wrapper:not(.rf-disabled) {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rf-rect-wrapper:not(.rf-disabled):hover {
    transform: scale(0.95);
    opacity: 0.7;
}

/* ===============================
   Navbar Seitentitel (zentriert)
   =============================== */

.rf-navbar-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 28px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}

@media (max-width: 576px) {
    .rf-navbar-title {
        position: static;              /* raus aus absolut */
        transform: none;
        margin-left: 12px;
        font-size: 16px;
        font-weight: 500;
        pointer-events: auto;
    }
}


/* =========================================================
   FIX: Dokumenten-Tabelle – stabile finale Darstellung
   (Override – nichts aus bestehendem CSS entfernt!)
   ========================================================= */

.rf-doc-table {
    display: grid !important;
    grid-template-columns: 1fr 180px 180px !important;
    width: 100%;
    border: 2px solid #004E86;
    background: #f3f6fa;
}

/* Header korrekt ausrichten */
.rf-doc-header {
    display: contents !important;
}

.rf-doc-header > div {
    background: #3d6b9a !important;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 16px !important;
    border-right: 2px solid #3d6b9a;
    display: flex;
    align-items: center;
}

.rf-doc-header > div:last-child {
    border-right: none;
}

/* Body Rows stabilisieren */
.rf-doc-row {
    display: contents !important;
}

/* Zellen */
.rf-doc-col-doc,
.rf-doc-col-date,
.rf-doc-col-check {
    background: #f7f9fc;
    padding: 16px !important;
    min-height: 30px;
    display: flex;
    align-items: center;
    border-top: 1px solid #c3cede;
}

/* Spaltenlinien */
.rf-doc-col-doc,
.rf-doc-col-date {
    border-right: 2px solid #004E86;
}

/* Dokumentenname links bündig & mittig */
.rf-doc-col-doc {
    justify-content: flex-start !important;
    padding-left: 24px !important;
}

/* Datum & Checkbox exakt zentriert */
.rf-doc-col-date,
.rf-doc-col-check {
    justify-content: center !important;
}

/* Checkbox Fix */
.rf-doc-check-wrapper {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}



/* =========================================================
   Dokumenten-Tabelle – Farb-Fix
   ========================================================= */

/* Tabellen-Zellen Hintergrund */
.rf-doc-col-doc,
.rf-doc-col-date,
.rf-doc-col-check {
    background: #E9EFF6 !important;
}

/* Dokumenten-Link Farbe */
.rf-doc-link {
    color: #004E86 !important;
    font-weight: 700;
}

/* Optional: Hover bleibt ruhig */
.rf-doc-link:hover {
    color: #004E86 !important;
    text-decoration: underline;
}


/* =========================================================
   Dokumenten-Tabelle – Link-Farbe Override
   ========================================================= */

.rf-doc-table .rf-doc-link,
.rf-doc-table .rf-doc-link:link,
.rf-doc-table .rf-doc-link:visited,
.rf-doc-table .rf-doc-link:hover,
.rf-doc-table .rf-doc-link:active,
.rf-doc-table .rf-doc-link:focus {
    color: #004E86 !important;
    font-weight: 700;
    text-decoration: none;

}




/* =========================================================
   Dokumenten-Tabelle – Mobile Scroll + Border (FINAL)
   ========================================================= */

.rf-doc-table-outer {
    border: 2px solid #004E86;
    background: #E9EFF6;
}

.rf-doc-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rf-doc-table {
    min-width: 520px;
    border: none !important;
}



/* ===============================
   Formular Validierung
   =============================== */

.rf-error {
    border: 2px solid #c62828 !important;
    background: #fdeaea !important;
}

.rf-error-text {
    font-size: 13px;
    color: #c62828;
    margin-top: 4px;
    font-weight: 500;
}



        .rf-input.error {
            border: 2px solid #B00020;
            background-color: #fff5f5;
        }

        .rf-error-text {
            color: #B00020;
            font-size: 0.85rem;
            margin-top: 4px;
        }

        .rf-upload-area.error {
            border: 2px dashed #B00020;
        }