@font-face {
    font-family: 'Segoe UI Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Regular'), url('../fonts/Segoe-UI.woff') format('woff');
}

@font-face {
    font-family: 'Segoe UI Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Bold'), url('../fonts/Segoe-UI-Bold.woff') format('woff');
}

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v47-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto-Light';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v47-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


body {
    font-family: "Roboto","Segoe UI", sans-serif;
    font-weight: 300;
    color:#fff;
}


/* links */
a {
    color: #79593B;

}

.port-footer a {
    margin-right: 1rem;
}

.navbar .container .navbar-brand img {
    max-width: 100%;
    color: black;
}


#port-main {
    margin-bottom: 7rem;
}

#port-main .btn-primary {
    padding: 10px 20px;
    border-radius: 0;
    color: white;
    font-size: .8em;
    line-height: 1.375;
    font-weight: 400;
    border-color: #00B51B;
    background-color: #00B51B;
}

#port-main .btn-primary:focus {
    box-shadow: none;
}

#port-main .btn-secondary {
    padding: 10px 20px;
    border-radius: 0;
    color: #00B51B;
    font-size: .8em;
    line-height: 1.375;
    font-weight: 400;
    border-color: #00B51B;
    background-color: white;
    border: 1px solid;
}

#port-main .btn-secondary:focus {
    box-shadow: none;
}



#port-main .form-control {
    border-radius: 0;
}
#port-main .form-control:focus {
    /*border-color: #00B51B;*/
    box-shadow: none;
}

#port-main .form-group label {
    font-weight: 600;
}

.port-info-text {
    margin: 1rem 0;
}

.port-info-text-headline-1 {
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.06666667em;
    color: #fff;
    margin-bottom:10px;
    letter-spacing: 5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    left: -10px;
}

.port-info-text-headline-2 {
    font-size: 1.38461538em;
    line-height: 1.16666667em;
    color: #5a5a5a;
    font-weight: 600;
}

.port-info-text-paragraph {

    font-size: .8125em;
    line-height: 1.38461538;
    color: #333;
}


.port-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #0066b3;
    background: white;
}

div.naming-container div{
    display: inline-block;
    margin-bottom: 10px;
}

div.naming-container div.naming-input-container{
    margin-bottom: 0;
}

div.naming-input-container input{
    padding: .375rem .75rem;
}

div.naming-input-container sup{
    margin-left: 3px;
}

div.naming-container button{
    display: block;
}

div.naming-container div.naming-text{
    margin-bottom: 20px;
}

@media (max-width: 1000px) {
    div.naming-container div.naming-text{
        display: block;
    }

}


@media (max-width: 580px) {
    div.naming-container div.naming-text{
        margin-bottom: 10px;
    }
    div.naming-input-container div.naming-input-group{
       display: block;
    }
}
.accent_orange {
position:relative;
    top:-8px;
    color:#00B51B;
    font-size:0.75em;
    font-style:italic;
    font-weight: 600;
}
.accent_blue {

    top:-8px;
    color: #60df6d;
    font-size:0.57em;
    position:relative;
    top:-8px;
}

@keyframes sway {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(15px); }
}

div.status_area {
    background: linear-gradient(to top, #60b66d, #63b970);
    border-radius: 30px;
    width:100%;
}

#mobile-navigation {
    width: 100%;
    background-color: #F7F8C9;
    border-radius: 7px;
    padding: 4px;
}

div.navigation_area {
    background: linear-gradient(to top, #70462B , #453535 );
    border-radius: 30px;
    padding:50px;
    width:100%;
    height:100%;
    text-align:left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
a.navigation_link {

    color:#fff;
    font-weight: 500;
    line-height: 2em;
}

.accent_lightblue {
    color:#E4EEF6;
}
span.portal_ap {
    color:#fff;
    font-weight: 600;
}
img.portal_ap {
border-radius:50%;
    border:5px solid #e5eff7;
    max-width: 60%;
    margin-top:10px;
    margin-bottom:15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.portal_button {
    color:#fff;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    padding:5px 15px;
    border-radius: 35px;
    background-color: #3D9842;
    white-space: nowrap;
    position:relative;
    left:-20px;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.portal_button a{
    color:#fff;
    cursor: pointer;
    font-weight: 600;
    background-color: #3D9842;
    white-space: nowrap;
    text-decoration: none;
    transition: 0.2s;
}

.portal_button:hover, .portal_button a {
    background-color: #37A33C;
}

div.header-container h1,
div.status-container{
    margin-left: 10px;
}

#status-title {
    font-size: 0.9em;
    font-weight: 500;
}

div.messages-container{
    margin-left:0px;
    margin-right:10px;
    padding: 20px;
    background-color: #fff;
    margin-bottom:30px;
    border-radius: 30px;
    border: 1px solid #CCCBF9;
}


@media (max-width: 480px) {
    div.col-md-12 div.port-info-text div.header-container h1.port-info-text-headline-1,
    div.col-md-8 div.port-info-text div.header-container h1.port-info-text-headline-1{
        font-size: 1.6em;
    }

    div.col-md-12  div.port-info-text.block-indent div.status-container{
        margin-left:25px;
    }
    div.col-md-12 div.status-container h2.port-info-text-headline-2{
        font-size: 1rem;
    }

    div.status-container{
        font-size: 0.7rem;
    }
    ul li.port-status{
        margin-bottom: 10px;
    }

    div.port-status-description-container div.port-status-description{

        margin-bottom: 10px;
    }

    div > div.port-info-text.port-info-text-reduced{
        margin: 0.7rem 0;
    }

    div.messages-container div.message-single-entry{
        padding: 10px 5px 10px 0;
    }

}


@media (max-width: 767px) {
    div.port-info-message-text.port-has-info-message-text{
        display: inline-block;
        margin-top:0.6rem;
        font-weight: 700;
    }


    div.port-info-message-text.port-has-info-message-text a.navigation_link{
        font-weight: 700;
        color: #212529;
        text-decoration: none;
    }

    div.port-info-message-text.port-has-info-message-text span{
        margin-right: 6px;
    }

    div.status_area div.page-container{
        margin-left:30px;
        margin-right:30px;
    }
    div.status_area {
        margin-top: 110px;
    }
    div.status-container{
        margin-right:30px;
    }
    main#port-main div.navigation_area a.contact-link{
        font-size: inherit;
        position: relative;
        margin-left: 0;
    }

    main#port-main div.status_area div.port-info-text div.header-container{
        padding: 0.8em 1em 0.8em 0;
        width: 90%;
        margin: 0 auto;
        margin-top: 1.5rem;
    }
    main#port-main div.port-info-text div.header-container:after{
        transform: unset;
    }

}


/* Media Queries */
/* Standardanzeige: Desktop wird angezeigt, Mobile ausgeblendet */
.desktop {
    display: block;
}
.mobile {
    display: none;
}

.ampel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #F1EAD4;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

}

.documents-container {
    max-height: 550px;
    overflow: auto;
    width: 98%;
}

.fa-tree {
    margin-left: 5px;
    color: #00B51B;
    font-size: 1.1em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}



/* Smartphone: Desktop ausblenden, Mobile anzeigen */
@media only screen and (max-width: 767px) {
    main#port-main div.status_area div.port-info-text div.header-container {
        padding-right: 0;
    }
    div.header-container h1 {
        margin-left: 0;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .column-left {
        background:transparent;
    }

    div.navigation_area {
        padding: 5px;
        width: 100%;
        height: 100%;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        box-shadow: none;
        box-shadow: 0 1px 2px #000;
    }

    div.header-container {
        background: transparent;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        margin-top:-15px;
        margin-bottom:-10px;
        width: 90%;
        margin: 0 auto;
    }
    div.header-container::after {
        background: transparent;
    }

    body {
        background-color: #F8F9CA;
    }
    .port-info-text {
        margin: 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    div.welcome {
        width:100%;
        text-align: center;
        padding-right: 10px;
        padding-left: 10px;
        margin-top: 20px;
    }
    .ampel {
        background: none;
        width: 100%;
        justify-content: left;
        min-height: 50px;
    }
    .footer {
        text-align: center;
        color: #79593B;
    }
    div.messages-container {
        margin-top: 30px;
        margin-left: 10px;
        margin-right: 10px;
    }
    #new-message-container {
        margin: 0 auto;
        color: black;
        margin-top: 20px;
    }
    #message-reply-container {
        margin: 0 auto;
        color: black;
        margin-top: 20px;
    }
    .documents-container {
        width: 95% !important;
        margin: auto;
        overflow-x: auto;
    }
    .documents-container {
        margin-top: 30px;
    }
    .documents-table td:first-child a {
        max-width: 120px;
    }

    .documents-table td:first-child a {
        display: inline-block;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
    .document-upload-container {
        margin-left: 10px;
        margin: auto;
    }
    .uploaded-file-name {
        margin-left: 0 !important;
        width: 66% !important;
    }
    .chronology-entry {
        width: 95%;
        margin: 0 auto;
    }
    .status-history-container {
        width: 100% !important;
    }
    .status-history-table {
        width: 95% !important;
        margin: 0 auto;
    }
    .status-history-table td:nth-child(2),
    .status-history-table th:nth-child(2) {
        max-width: 200px;
        width: 200px;
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
    }
    .uploaded-file-name {
        display: inline-block;
        width: 50% !important;
    }
    .port-info-text {
        margin: 0 auto;
    }

}

.mobile .portal_ap {
    color:#fff;
}

.mobile  .portal_button {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border:1px solid #fff!important;
}
.mobile .accent_lightblue {
    color:#fff;
}
.mobile img.portal_ap {
    max-width: 100px;
}
.mobile .portal_button {
    left:0px;
}

.mobile .nav-item {
    background-color: #ebebeb;
    border-radius: 3px;
    margin-bottom: 5px;
    padding-left: 10px;
    padding-right:50px;
}

.mobile .nav-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.mobile-nav {
    position:fixed;
    top:0px;
    left:0px;
    z-index:1000;
    background-color:#fff;
    width:100%;

}


@media (max-width: 991px) {
    div.status_area div.page-container{
        margin-left:30px;
    }
    div.status-container{
        margin-left:70px;
    }
    div.navigation_area a.contact-link{
        font-size: 10px;
        position: relative;
    }
    div.port-info-text div.header-container{
        padding: 20px 8em 0 0;
    }

    div.status_area div.port-info-text div.header-container{
        padding: 20px 4em 0 0;
        width: 90%;
    }

    div.port-info-text div.header-container h1.port-info-text-headline-1{
        text-align: center;
        margin-bottom: 0;
        font-size: 1.25em;
    }

    div.port-info-text div.header-container:after{
        transform: skew(-35deg);
    }

}

/*Tablet*/
@media (min-width: 600px) and (max-width: 1200px) {

    div.port-info-text div.header-container h1.port-info-text-headline-1{
        font-size: 1.5em;
    }
    div.port-info-text div.header-container{
        padding: 12px 17em 0 0;
        width: 90%;
    }
    .port-info-text {
        width: 90%;
    }
    .header-container {
        width: 100% !important;
        padding: 0 !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    .port-info-text-headline-1 {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .messages-container {
        width: 90%;
    }
    .documents-table {
        width: 95% !important;
    }
    .documents-table td:first-child a {
        display: inline-block;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
    .uploaded-file-name {
        margin-left: 0 !important;
    }
    .chronology-entry {
        width: 90%;
    }
    .portal_button {
        left: -12px;
        font-size: clamp(9px, 5vw, 10px);
    }
    .portal_ap {
        max-width: 100% !important;
    }
    .badge {
        margin-left: 5px !important;
    }
}

div.message-single-entry{
    padding: 20px 10px 20px 20px;
    border-bottom: 1px solid #ddd;
}
div.message-single-entry:last-of-type,
div.message-single-entry.active{
    border-bottom: 0;
}

div.message-single-entry span.read-icon-container{
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 9px;
    position: relative;
    top: 9px;
}

div.message-single-entry span.read-icon-container.is-new{
    border: 4px solid #0066b3;
    border-radius: 50%;
}

div.message-single-entry .message-header{
    display: flex;
}

div.message-single-entry .message-header-text{
    display: flex;
    width: 100%;
}
div.message-single-entry .message-header-subject{
    display: inline-block;
    color: #00B51B;
    font-size: 16px;
    width: 100%;
}
div.message-single-entry .message-header-subject.is-new{
    font-weight: bold;
}
div.message-single-entry:not(.active) div.message-header .message-header-subject{
    cursor: pointer;
}
div.message-single-entry .message-header-date{
    color: #5A5A5A;
    font-size: 14px;
    width: 80px;
    display: inline-block;
}
div.message-single-entry .message-content{
    margin-top: 10px;
    color: #5A5A5A;
    font-size: 14px;
    padding-left: 18px;
    display: none;
}
div.message-single-entry .message-content.active{
    display: inline-block;
}
div.message-single-entry .message-footer-btn{
    text-align: right;
    color: #00B51B;
    border-top: 1px solid #ddd;
    margin-top: 15px;
    padding-top: 15px;
    cursor: pointer;
    font-weight: bold;
}
div.message-single-entry .message-footer-btn span{
    cursor: pointer;
}

div.header-container{
    position: relative;
    display: inline-block;
    color: #fff;
    z-index: 1;
    padding: 12px 17em 0 0;
    overflow: hidden;
    border-radius:30px;
}

div.header-container:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    z-index: -1;

}

div.port-status-title{
    color: #94BEDC;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.3em;
}

div.status-container ul{
    padding: 0;
    list-style: none;
}

li.port-status-selected div.port-status-title{
    color: #000;
}
li.port-status {
    margin-bottom: 35px;
    margin-top: -25px;
}

li.port-status.port-status-selected div.img-container{
    background: url(../img/vb_status_selected.png) no-repeat left top;
    height: 25px;
    position: relative;
    top: 30px;
    left: -40px;
}

li.port-status.port-status-accepted div.img-container{
    background: url(../img/vb_status_accepted.png) no-repeat left top;
    height: 25px;
    position: relative;
    top: 30px;
    left: -40px;
}

li.port-status.port-status-open div.img-container{
    background: url(../img/vb_status_open.png) no-repeat left top;
    height: 25px;
    position: relative;
    top: 30px;
    left: -40px;
}

li:not(.port-status-selected) div.port-status-description-container{
    display: none;
}
li.port-status-selected div.port-status-toggle-description{
    display: none;
}
div.port-status-description{
    color: #6b6b6b;
    font-weight: 700;
    font-size: 0.8em;
    line-height: 1.2em;
    margin-bottom: 20px;
}
div.port-status-toggle-description{
    color: #94BEDC;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8em;
    line-height: 1.1em;
    margin-bottom: 20px;
}
.badge {
    background-color: #fff;
    color: #5c8c3f;
    margin-left: 4px;
    border: 1px solid;
    position:relative;
    top:-1px;
    padding:4px;
    border-radius:4px;
    padding-bottom: 3px;
    font-weight:400;

}
a.contact-link{
    text-decoration: none;
}

div.page-container{
    margin-left:100px;
    padding: 20px;
    background-color: #fff;
    margin-bottom:30px;
    border-radius: 30px;
}

div.port-info-message-text{
    margin-left: 25px;
    font-size: 1em;
    display: none;
}

.licht {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border:1px solid #5a5a5a;
}
.gelb { background-color: #fff279; }
.blau { background-color: #4E84E8FF; color: white; }
.rot { background-color: #950909; }
.gruen { background-color: #09954f; }
.smiley { background-color: white; }

.gruen_active {
    filter: drop-shadow(0 0 0.25rem #09954f);
}
.gelb_active {
    filter: drop-shadow(0 0 0.25rem #fff279);
}
.rot_active {
    filter: drop-shadow(0 0 0.25rem #950909);
}

@media (max-width: 480px) {
    .licht {
        width: 32px;
        height: 32px;
        border: 1px solid white;
    }
}

.deactivated {
    width: 22px;
    height: 22px;
    opacity: 0.5;
    border:1px solid rgba(199, 195, 195, 0.7);
}

.weather {
    display: block; /* Verhindert Inline-Verhalten */
    margin-left: auto; /* Drückt das Element nach rechts */
    margin-right: 0;
    position:relative;
    top:-100px;
}

.status {
    font-weight: bold;
    color: #E3ECEB;

}
.navigation_link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Falls notwendig, um den gesamten Bereich auszufüllen */
    text-decoration: none;
    color: black;
    line-height: 8px !important;
    white-space: nowrap; /* Prevent line breaks */
}

.badge {
    margin-left: auto; /* Drückt das Badge nach rechts */
}

.contact_person {
    position:relative;

    text-align:center;
}

.button-right {
    display: block;
    text-align: right;
    width: 100%; 
}

.new-message-input {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #d1d1b8; /* Softer border */
    border-radius: 12px; /* Rounded edges */
    background-color: #fffef5; /* Slightly off-white/yellow for contrast */
    resize: vertical;
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.new-message-input:focus {
    border-color: #c2c27b; /* Muted yellow-green */
}

.new-message-subject {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #d1d1b8; /* Softer border */
    border-radius: 8px; /* Slightly less rounded than textarea */
    background-color: #fffef5; /* Matches the textarea */
    outline: none;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.new-message-subject:focus {
    border-color: #c2c27b; /* Muted yellow-green */
    box-shadow: 0 0 6px rgba(194, 194, 123, 0.4);
}

#new-message-container {
    display: none; /* Initially hidden */
    width: 90%;
    padding: 15px;
    background-color: #ffffff; /* White background */
    border-radius: 12px; /* Soft rounded edges */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    border: 1px solid #e0e0e0; /* Light border for subtle contrast */
    margin-bottom: 25px;
}

.message-reply-input {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #d1d1b8; /* Softer border */
    border-radius: 12px; /* Rounded edges */
    background-color: #fffef5; /* Slightly off-white/yellow for contrast */
    resize: vertical;
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.message-reply-input:focus {
    border-color: #c2c27b; /* Muted yellow-green */
}

.message-reply-subject {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #d1d1b8; /* Softer border */
    border-radius: 8px; /* Slightly less rounded than textarea */
    background-color: #fffef5; /* Matches the textarea */
    outline: none;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.message-reply-subject:focus {
    border-color: #c2c27b; /* Muted yellow-green */
    box-shadow: 0 0 6px rgba(194, 194, 123, 0.4);
}

#message-reply-container {
    display: none; /* Initially hidden */
    width: 90%;
    padding: 15px;
    background-color: #ffffff; /* White background */
    border-radius: 12px; /* Soft rounded edges */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    border: 1px solid #e0e0e0; /* Light border for subtle contrast */
    margin-bottom: 25px;
}

.documents-table {
    border-collapse: separate;
    border-spacing: 8px;
    background-color: #fdfddf;
    font-family: Arial, sans-serif;
    border-radius: 12px; /* Rounded corners */
    overflow: hidden; /* Ensures rounded corners apply */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.documents-table th,
.documents-table td {
    padding: 12px; /* Adds more padding for spacing */
    border-radius: 8px; /* Rounded corners for each cell */
    text-align: left;
    color: #70462B;
    font-size:14px;
}

.documents-table tr:not(:last-child) td {
    border-bottom: 1px solid #EBEBD8;
    border-radius: unset!important;
}

.documents-table {
    border-collapse: collapse;
}

.documents-table th {
    /*background-color: #82c542; /* Softer yellow for headers */
    font-weight: bold;
    border:1px solid;
}

.documents tr {
    border-bottom: 1px solid #ddd; /* Subtle row separation */
}

.documents th {
    text-align: left;
    font-weight: bold;
    padding: 12px; /* Increased padding */
    color: #333; /* Dark text for contrast */
    background-color: #f5f5c0; /* Slightly darker background for headers */
    border-radius: 6px; /* Rounded corners for headers */
}

.documents td {
    padding: 12px; /* Ensures spacing inside cells */
    color: #555; /* Slightly muted text */
    background-color: white; /* Keeps content visually distinct */
    border-radius: 6px; /* Slightly rounded corners */
}

.documents tr:hover td {
    background-color: #f5f5c0; /* Soft highlight on hover */
}

.documents-file-upload {
   font-size: 20px;
    font-weight: bold;
    color: #3d3d3d;
}

#file-upload {
    display: flex;
}

.document-upload-container {
    margin-top: 10px;
    font-size: 14px;
    background-color: white;
    padding: 10px;
    width: 90%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    display: inline-block;
}

.document-upload-container input[type="file"] {
    appearance: none;
    background-color: #E1F9CA; /* Light minty green as the background */
    border: 1px solid #70462B; /* Slightly darker mint shade for the border */
    color: #333;
    font-weight: bold;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 330px;
}

.document-upload-container input[type="file"]::file-selector-button {
    background-color: #70462B; /* Matching border color */
    color: #333;
    font-weight: bold;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.document-upload-container input[type="file"]::file-selector-button:hover {
    background-color: #A9D78B; /* Darker mint shade for hover effect */
}

.document-upload-container input[type="text"] {
    margin-left: 30px;
    padding: 8px 12px; /* Add padding for better text input appearance */
    font-size: 16px; /* Set a consistent font size */
    border: 1px solid #70462B; /* Use the same border color as the other elements */
    border-radius: 8px; /* Smooth rounded corners */
    background-color: #fcfcfc; /* Light background color for the input field */
    color: #70462B; /* Text color */
    transition: all 0.3s ease; /* Smooth transition for hover/focus effects */
    width: 100%;
    max-width: 300px; /* Limit width for consistency */
}

.document-upload-container input[type="text"]:hover {
    border-color: #A9D78B; /* Darker mint color for hover effect */
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); /* Subtle shadow to lift the button */
}

.document-upload-container input[type="text"]:focus {
    outline: none; /* Remove the default outline */
    border-color: #70462B; /* Focus border color */
}

.icon-save-btn {
    border-radius: 20px;
    background-color: #70462B;
    padding: 12px;
    margin-left: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.icon-save-btn:hover {
    background-color: #A9D78B; /* Darker mint for hover effect */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle shadow to lift the button */
    transform: translateY(-2px); /* Slight lift effect on hover */
    color: white;
}

.remove-file-icon {
    color: #c20000;
    cursor: pointer;
    text-align: center;
}

.chronology-container {
    max-width: 600px;
    margin-top: 20px;
    max-height: 650px;
    overflow-y: auto;
}
.chronology-entry {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.chronology-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}
.chronology-subject {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.chronology-content {
    font-size: 14px;
    color: #555;
}

/* Table container for status history */
.status-history-container {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    width: 90%;
}

/* Table styles */
.status-history-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    color: #4B4F4B; /* Darker text color for contrast */
    font-size: 14px;
}

/* Table headers */
.status-history-header-date,
.status-history-header-status,
.status-history-header-changed-by {
    padding: 10px;
    text-align: left;
    font-weight: bold;
    background-color: #E1F9CA; /* Complementary soft green for headers */
    color: #333; /* Dark text for better readability */
    border-bottom: 2px solid #E1F9CA; /* Darker green border for distinction */
}

/* Table row */
.status-history-row {
    border-bottom: 1px solid #D1D9B2; /* Light green border for rows */
}

/* Table cells */
.status-history-cell-date,
.status-history-cell-status,
.status-history-cell-changed-by {
    padding: 10px;
    vertical-align: middle;
    color: #4B4F4B; /* Matching text color with the table */
}

/* Styling for when no data is available */
.status-history-no-data {
    text-align: center;
    padding: 20px;
    color: #999;
}

.status-history-row {
    background-color: #FFFFFF; /* White for alternating rows */
}

/* Hover effect for rows */
.status-history-row:hover {
    background-color: #f3f3f3; /* Slightly darker green when hovering */
}

.todo-check {
    color: #78c904;
    margin-left: 10px;
    font-size: 1.1em;
    font-weight: bold;
}

.navi-disabled {
    color: #aaa !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.mobile-centered-ml {
    margin-left: 10px;
}

@media (max-width: 500px) {
    .navi-disabled {
        color: #c2c2c2 !important;
    }

    .mobile-centered{
        text-align: center;
    }

    .mobile-centered-ml {
        text-align: center;
        width: 100%;
        display: inline-block;
        margin-left: 0;
        margin-right: 0;
    }

    .button-right {
        text-align: center;
    }

    .portal_button {
        left: 0;
    }

    div.status_area {
        min-height: 80vh;
    }
}

.modal-body {
    color: #70462B ;
}

#port-main {
    margin-bottom: 40px;
}
