main {
    min-height:90vh;
}
header{
    background-color: #e600009e;
    color: white;
}
.market.box {
    margin: 10px 0px;
    padding: 5px;
    box-shadow: 5px 5px 5px black;
}
.box > .market {
    color: deeppink;
}
.profile_top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
label {
    width: 100%;
}
/* Rating CSS */
.rating {
    float:left;
    width:300px;
}
.rating span { float:right; position:relative; }
.rating span input {
    position:absolute;
    top:0px;
    left:0px;
    opacity:0;
}
.rating span label {
    display:inline-block;
    width:30px;
    height:30px;
    text-align:center;
    color:#FFF;
    background:#ccc;
    font-size:30px;
    margin-right:2px;
    line-height:30px;
    border-radius:50%;
    -webkit-border-radius:50%;
}
.rating span:hover ~ span label,
.rating span:hover label,
.rating span.checked label,
.rating span.checked ~ span label {
    background:#F90;
    color:#FFF;
}

/*Error CSS*/

.errorlist{
    color:red;
    font-weight: bolder;
    font-size: larger;
}
.horizontal-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: visible;
    margin-bottom: 5px;
}

.horizontal-badge {
    min-width: 3rem;
    padding: 0 6px;
    margin-left: 14px;
    text-align: center;
    line-height: 22px;
    height: 22px;
    float: right;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 300;
    font-size: 0.8rem;
    color: #fff;
    background-color: #26a69a;
    border-radius: 2px
}


.input-field>label {
    position:relative;
}
/*SVG Styling */

svg:not(.no_sizing), .icon{
    height: 50px;
    padding: 5px;
}

/*Button styling div, round corners kuerzungshelfer greean and color transition*/

.div .kh-button {
    justify-content: center;
    display: flex;
}

.kh-button {
    margin: 10px 0;
    padding: 40px 0px;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    color: #fff;
    background-color: #588123;
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid #588123;
    transition: background-color 0.3s ease;
    min-height: 2rem;
    width: 100%;
}

.kh-button:hover {
    background-color: #4a6f1b;
}

.kh-button-outline {
    margin: 5px 0;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    color: #fff;
    background-color: transparent;
    border: 2px solid #588123;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    min-height: 0.5rem;
    width: 100%;
    padding: 15px;
}

.center-child {
    display: flex;
    justify-content: center;
    align-items: center;
}
.kh-icons-large {
    font-size: xxx-large;
}

.btn > i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.kh-icons {
    font-size: x-large;
}

.kh-app-icon {
    position: absolute;
    top: -20px;
    left: 20px;
    background-color: #FFFFFFFA;
    margin: 10px 10px 10px 10px;
    padding: 20px 10px 20px 10px;
    border-style: none;
    border-radius: 10% 10% 10% 10%;
    box-shadow: 4px 7px 47px 0px rgba(0,0,0,0.5);
    z-index: 10000;

}

.m-h-5 {
    margin-left: 5px;
    margin-right: 5px;
}
.m-v-5 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.m-h-10 {
    margin-left: 10px;
    margin-right: 10px;
}
.m-v-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}
.p-h-5 {
    padding-left: 5px;
    padding-right: 5px;
}
.p-v-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}
.p-h-10 {
    padding-left: 10px;
    padding-right: 10px;
}
.p-v-10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.white-badge {
    background-color: #ffffff;
    color: #000000;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 5px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.green-badge {
    background-color: #4CAF50;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 5px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}


.orange-badge {
    background-color: #ff9800;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 5px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.green-badge > i, .white-badge > i, .orange-badge > i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.kh-text-orange {
    color: #ff9800;
}

.kh-text-green {
    color: #4CAF50;
}

.kh-nav-item:not(:nth-child(1))::before {
  content: "";
  color: rgba(255, 255, 255, 0.7);
  vertical-align: top;
  display: inline-block;
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 25px;
  margin: 0 10px 0 8px;
  -webkit-font-smoothing: antialiased;
}
.kh-nav-item > i {
    padding: 0 5px;
}

.kh-nav-item:not(.kh-selected) {
    color:white;
}

.kh-nav-item.kh-selected {
    color: #ff9800;
    font-weight: bold;
}

.kh-nav-item {
    font-size: 1.3rem;
}

.kh-nav-bar, .kh-nav-item {
    display: flex;
    justify-content: start;
    align-items: center;
    
}

#form-customer-document {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #588123;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#form-customer-document::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(88, 129, 35, 0.05) 50%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#form-customer-document:hover {
    border-color: #4a6f1b;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 8px 25px rgba(88, 129, 35, 0.15);
    transform: translateY(-2px);
}

#form-customer-document:hover::before {
    opacity: 1;
}

#form-customer-document.dz-drag-hover {
    border-color: #ff9800;
    background: linear-gradient(135deg, #fff8f0 0%, #ffecb3 100%);
    box-shadow: 0 12px 35px rgba(255, 152, 0, 0.2);
    transform: scale(1.02);
}

#form-customer-document .dz-message {
    color: #588123;
    font-size: 1.2rem;
    font-weight: 600;
}

#form-customer-document .dz-message .note {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: normal;
    display: block;
    margin-top: 10px;
}

/* Styling für hochgeladene Dateien */
#form-customer-document .dz-preview {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#form-customer-document .dz-preview:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

#form-customer-document .dz-preview .dz-image {
    border-radius: 8px;
    overflow: hidden;
}

#form-customer-document .dz-preview .dz-details {
    color: #495057;
}

#form-customer-document .dz-preview .dz-filename {
    font-weight: 600;
    color: #1b2d2a;
}

#form-customer-document .dz-preview .dz-size {
    color: #6c757d;
    font-size: 0.85rem;
}

#form-customer-document .dz-preview .dz-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px;
}

#form-customer-document .dz-preview .dz-remove:hover {
    background: #c82333;
}

#form-customer-document .dz-preview .dz-progress {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

#form-customer-document .dz-preview .dz-upload {
    background: linear-gradient(90deg, #588123 0%, #4a6f1b 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

#form-customer-document .dz-preview .dz-success-mark,
#form-customer-document .dz-preview .dz-error-mark {
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

#form-customer-document .dz-preview .dz-error-mark {
    background: #dc3545;
}

.kh-bg {
    background-color: #588123;
}

.kh-text {
    color: #588123;
}

.kh-text-dark {
    color: #1b2d2a;;
}

.kh-bg-dark {
    background-color: #1b2d2a;
}

.kh-bg-yellow {
    background-color: #ff9800;
}

.kh-text-yellow {
    color: #ff9800;
}

.kh-text-yellow-force {
    color: #ff9800 !important;
}

.flex-jc {
    display: flex;
    justify-content: center;
}

.flex-je {
    display: flex;
    justify-content: end;
}

.flex-js {
    display: flex;
    justify-content: space-between;
}

.flex-h-center {
    display: flex;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.no-border > a {
    border: none !important;
    margin-top: 2px;
    margin-bottom: 2px;
}

#menu-account {
    padding: 15px;
}

.gradient-text {
    background: linear-gradient(317deg, #4caf50 0%, #ff9800 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding: 20px 0px;
}

/* Styles für extrahierte Dokumenteninformationen */
.extracted-info {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.25rem;
}

.extracted-info h4 {
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.info-item {
    background: white;
    padding: 0.75rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-label {
    font-weight: bold;
    color: #6c757d;
    display: block;
    margin-bottom: 0.25rem;
}

.info-value {
    color: #495057;
}

.info-value.available {
    color: #28a745;
}

.info-value.unavailable {
    color: #6c757d;
    font-style: italic;
}

/* Document classification overview styles */
.doc-classification-overview {
    margin: 1.5rem 0;
}

.dropzone .dz-message {
    margin:0 !important;
}

.doc-summary-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.doc-type-chip {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.extraction-summary {
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.25rem;
}

details summary {
    cursor: pointer;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

details[open] summary {
    margin-bottom: 1rem;
}

#nav-user-id {
    padding: 3px 15px;
}

/* enlarge the image when hovered over*/

.img-hover-enlarge {
    transition: transform 0.3s ease;
}

.img-hover-enlarge:hover {
    transform: scale(4.0);
    z-index: 100000;
}

.img-hover-moveinviewport-left:hover {
    transform: translateX(calc(11.75vw * 4 * 0.5)) scale(4.0);
}

.img-hover-moveinviewport-right:hover {
    transform: translateX(calc(11.75vw * 4 * -0.5)) scale(4.0);
}

.sticky-center {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/*HTMX*/
.htmx-indicator {
    opacity: 0;
    visibility: hidden;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    opacity: 1;
    visibility: visible;
    transition: opacity 200ms ease-in;
}
/* HTMX Loading Spinner */
.loading-spinner {
    vertical-align: middle;
    margin-left: 10px;
}

.global-loading-indicator {
    position: fixed;
    top: 50vh;
    right: 50vw;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
}

.global-loading-indicator.htmx-request {
    display: flex;
}

.global-loading-indicator svg {
    width: 30px;
    height: 30px;
}

.global-loading-indicator span {
    color: white;
    font-size: 14px;
}

/* Wizard Progress Indicator Styles */
.progress-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.wizard-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #757575;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.wizard-step.active .wizard-step-number {
    background-color: #4CAF50;
    color: white;
}

.wizard-step.completed .wizard-step-number {
    background-color: #2196F3;
    color: white;
}

.wizard-step-label {
    font-size: 12px;
    color: #757575;
    text-align: center;
}

.wizard-step.active .wizard-step-label {
    color: #4CAF50;
    font-weight: bold;
}

.wizard-step.completed .wizard-step-label {
    color: #2196F3;
}

.wizard-progress-line {
    height: 2px;
    width: 100px;
    background-color: #e0e0e0;
    margin: 0 10px;
    margin-bottom: 30px;
}

.wizard-progress-line.active {
    background-color: #4CAF50;
}

