﻿:root {
    --coral: #FF6056;
    --purple: #382060;
    --lightgray: #F6F6F6;
    --darkgray: #97999B;
    --mud-palette-primary-darken: var(--purple);
    --mud-palette-info-darken: var(--purple);
    --mud-palette-primary: var(--purple);
    --header-font-size: 14px;
}

@font-face {
    font-family: myFont;
    src: url(../font/Poppins-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: myFont;
    src: url(../font/Poppins-Bold.ttf);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: myFont;
    src: url(../font/Poppins-Italic.ttf);
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: myFont;
    src: url(../font/Poppins-BoldItalic.ttf);
    font-weight: bold;
    font-style: italic;
}

body, html {
    font-family: 'myFont', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.loading-text {
    margin-top: 16px;
    font-weight: 500;
    color: var(--purple);
}

@media (max-width: 600px) {
    .mud-alert-position {
        top: 104px !important;
        bottom: auto !important;
        left: 0;
        right: 0;
        justify-content: center;
        padding: 96px;
    }
}

.footer-text {
    color: white;
    font-size: 12px;
}

.white-icon {
    filter: invert(1);
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}

.header-title {
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
}

.info-text {
    margin-bottom: 24px;
    text-align: center;
}

.upload-info-text {
    text-align: center;
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browse-button {
    background-color: #E0E0E0 !important;
    color: black !important;
    border-radius: 8px !important;
    padding: 10px 24px;
    font-weight: 500;
    box-shadow: none !important;
    border: none !important;
}

.appbar-title {
    color: white;
    margin-top: 8px;
    font-weight: 600;
    font-size: 20px;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    min-height: 100vh;
    background-color: white;
    padding: 0;
}

.login-image {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

.login-card {
    background-color: var(--coral);
    width: 100%;
    padding: 32px 16px;
    text-align: center;
    flex-grow: 1;
    border: none;
}

.login-title {
    font-weight: 700;
    font-size: 18px;
    color: white;
    margin-bottom: 32px;
    font-family: 'myFont', sans-serif;
}

.login-button {
    background-color: white !important;
    color: var(--coral) !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 32px;
    font-family: 'myFont', sans-serif;
}

.login-version {
    font-size: 12px;
    color: white;
    margin-top: 64px;
}

.approval-container {
    flex-shrink: 0;
    display: flex;
    padding: 16px;
    justify-content: center;
}

.hover-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.checklist-item:hover {
    background-color: transparent !important;
}

.form-wrapper {
    padding-top: 26px;
    max-width: 800px;
    padding-bottom: 24px;
    text-align: left;
}

.form-section {
    border: 1px solid #ccc;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    background-color: white;
}

.form-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--purple);
}

.form-section label {
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc; /* Sichtbarer Rahmen wieder da */
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
    margin-bottom: 16px;
    box-shadow: none;
    transition: border-color 0.2s ease-in-out;
}

    .form-control:focus,
    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="date"]:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: var(--coral);
    }

input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
    accent-color: var(--purple);
    cursor: pointer;
}

.content-text {
    max-height: 300px;
    overflow-y: auto;
}

.footer-fixed-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

button.upload-action:disabled {
    background-color: #d3d3d3 !important;
    border-color: #d3d3d3 !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

.mud-nav-link {
    padding: 0;
    background-color: transparent !important; /* Beispiel-Farbe */
    border-radius: 0% !important;
    block-size: 0% !important;
}

    .mud-nav-link:hover {
        background-color: transparent !important; /* Beispiel-Farbe */
        border-radius: 0% !important;
        block-size: 0% !important;
    }

.upload-container {
    display: flex;
    flex-direction: column;
    padding: 32px 24px 24px 24px;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 600px) {
    .upload-container {
        padding-top: 32px;
        max-width: 450px;
        padding-bottom: 64px;
    }
}

.version-display {
    position: absolute;
    right: 8px;
    top: 75px;
}

.version-text {
    color: white;
    font-size: 0.75rem;
    opacity: 0.7;
}

.checklist-title {
    margin-left: 3.5em;
}

.content-container {
    display: flex;
    flex-direction: column;
    padding: 32px 16px 24px 16px;
    box-sizing: border-box;
}

.checklist-scroll {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    padding-bottom: 2rem;
}

.header-version-display {
    position: absolute;
    top: 8px;
    right: 12px;
}

.scrollable-content {
    overflow-y: auto;
    padding-right: 8px;
}

.fixed-approval {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    padding: 12px 24px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.upload-action {
    background-color: #00C000 !important;
    color: white !important;
    font-weight: 600;
    padding: 12px 0px !important;
    border-radius: 8px !important;
    display: block;
    margin: 8px auto !important;
    width: 50%;
}

.html-document {
    margin-top: 32px;
    margin-bottom: 68px;
    padding: 0px 12px;
    padding-bottom: 32vh;
}

.checklist-header {
    text-align: center;
    padding: 1.5em 1em;
}

.welcome-text {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #2e2e2e;
}

.checklist-intro {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    color: #444;
}

    .checklist-intro h4 {
        margin-bottom: 1.25rem;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .checklist-intro small {
        font-size: 0.9rem;
        color: #666;
    }

@media (max-width: 600px) {
    .checklist-intro small {
        font-size: 0.7rem;
    }

    .welcome-text {
        font-size: 1.2rem;
    }

    .checklist-intro h4 {
        font-size: 1.0rem;
    }

    .checklist-header {
        text-align: center;
        padding: 0.5em 0em;
    }
}

body, html, button, input, select, textarea,
.mud-typography, .mud-button, .mud-text, .mud-input, .mud-list-item {
    font-family: 'myFont', sans-serif !important;
}

.custom-loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.6); /* halbtransparentes Weiß */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.common-loader-ring {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--coral);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}

.custom-loader-text {
    margin-top: 16px;
    color: var(--darkgray);
    font-family: 'myFont', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.common-startup-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    background-color: white;
}

.mud-table {
    border: 1px solid #ccc;
    border-collapse: collapse;
}

    .mud-table th, .mud-table td {
        border: 1px solid #ccc !important;
        padding: 8px 12px;
    }

    .mud-table thead {
        background-color: #f7f7f7;
        font-weight: bold;
    }