@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'SF Pro Display',sans-serif;
    background-color: #222222;
    min-height: 100vh;
    color: #adafae;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    color: #df8e1d;
}

h4 {
    color: #df8e1d;
    font-size: 1.2rem;
    font-weight: 600;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    display: initial;
    color: #df8e1d;
}

pre {
    text-wrap: balance;
    font-family: sans-serif;
    font-size: 0.9rem;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.nav-link {
    display: initial;
    padding: 0;
    color: #df8e1d !important;
}

    .nav-link:hover, .nav-link:focus {
        text-decoration: underline;
        color: #df8e1d !important;
    }

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]), .valid.modified:not([type=radio]) {
    outline: none;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9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Tg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }



.c_accent {
    color: #df8e1d;
}

.c_signature {
    color: #efefef;
}

.c_gray {
    color: #9a9a9a;
}

.c_lgray {
    color: #d9d9d9;
}

.page {
    min-height: 100vh;
}

.content-page {
    height: calc(100vh - 5rem);
}

.vh-50 {
    height: 50vh;
}

vh-30 {
    height: 30vh;
}

.bg-accent {
    background-color: #df8e1d;
}

.bg-img-index {
    background-image: url('../img/cardstudio-Back.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

    .bg-img-index::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* 0.5 = 50% Transparenz, anpassbar */
        z-index: 1;
    }

    .bg-img-index > * {
        position: relative;
        z-index: 2;
    }

.bg-img-login {
    width: 100%;
    height: 45vh;
    /*background-image: url(../img/bg_push_up_zoom_out.svg);*/
    background-image: url('../img/cardstudio-Back.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

    .bg-img-login::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* 0.5 = 50% Transparenz, anpassbar */
        z-index: 1;
    }

    .bg-img-login > * {
        position: relative;
        z-index: 2;
    }

.bg-img-register {
    background-image: url('../img/bg_dumbbells.svg');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.gold-logo {
    width: calc(25vh + 20vw);
    min-width: 10rem;
    max-width: 25rem;
}

.use_center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.multiline-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

button:disabled {
    background-color: darkgray;
    border: 0.1rem solid #df8e1d;
}

.custom-button {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background-color: #df8e1d;
    color: white;
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    height: 3rem;
}

    .custom-button.small {
        width: fit-content;
        height: fit-content;
        padding: 0.5rem 2rem;
    }

    .custom-button.list-button {
        width: fit-content;
        height: fit-content;
        font-size: 0.9rem;
        padding: 0.5rem 0.7rem;
    }

    .custom-button.accordion {
        border: 1px solid #df8e1d;
        border-radius: 0px;
        background-color: transparent;
    }

.register-button {
    display: block;
    width: 100%;
    padding: 10px;
    border: 0.1rem solid #df8e1d;
    border-radius: 10px;
    background-color: transparent;
    color: #df8e1d;
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    height: 3rem;
}

label {
    /*cyborg bootstrap*/
    display: inline-block;
    margin-bottom: 0rem !important;
}

.form-signing input {
    font-weight: 600;
    width: 100%;
    border: 0.1rem solid #df8e1d;
    border-radius: 10px;
    color: #d9d9d9;
    text-align: center;
    height: 3rem;
    background: transparent;
}

    .form-signing input.basic-checkbox {
        /*    font-weight: 600;
    width: 100%;
    border: 0.1rem solid #df8e1d;
    border-radius: 10px;
    color: #d9d9d9;
    text-align: center;
    height: 3rem;
    background: transparent;*/
    }

.form-signing .custom-textarea {
    font-weight: 600;
    width: 100%;
    border: 0.1rem solid #df8e1d;
    border-radius: 10px;
    color: #d9d9d9;
    text-align: center;
    background: transparent;
}

.form-signing .label-text {
    min-width: 6rem;
    color: #df8e1d;
    font-weight: 600;
}

.form-signing .input-checkbox {
    width: 2rem;
    height: 1.5rem;
    accent-color: #df8e1d;
}

/*SfCheckbox*/
.e-checkbox-wrapper .e-label {
    color: white;
    font-size: 1rem;
    line-height: 1.2rem;
    font-weight: 500;
}

.e-checkbox-wrapper:hover .e-label {
    color: white;
}

.panel {
    border: 2px solid white;
    border-radius: 1rem;
    padding: 1rem;
}

.e-checkbox-wrapper .e-frame {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    line-height: 0.8rem;
    padding: 0.2rem 0;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    border-radius: 4px;
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
    opacity: 0.6;
    filter: invert(0.8);
}

    input[type="date"]::-webkit-calendar-picker-indicator:hover {
        opacity: 1
    }

.password-input {
    padding-inline: 3.6rem;
}

.password-icon {
    position: absolute;
    top: 1.5rem;
    right: 0rem;
    transform: translateY(-50%);
    height: 4rem;
    border: none;
    background-color: transparent;
    width: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

    .password-icon > i {
        font-size: 1.5rem;
    }

.profile-pic-circle {
    width: 8rem;
    height: 8rem;
    background-color: #48484b;
    border: 0.2rem solid #df8e1d;
    border-radius: 50%;
}

.profile-pic {
    /*background-image: url(https://ej2.syncfusion.com/demos/src/grid/images/5.png);*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10rem;
}

.header {
    width: 100%;
    height: 10rem;
}

.content-header-text {
    font-size: 2.1rem;
}

.size-10 {
    font-size: 0.7rem !important;
}

.size-12 {
    font-size: 0.8rem;
}

.size-14 {
    font-size: 0.9rem;
}

.size-18 {
    font-size: 1.1rem;
}

.size-20 {
    font-size: 1.2rem;
}

.size-22 {
    font-size: 1.3rem;
}

.size-28 {
    font-size: 1.6rem;
}

.tag-box {
    height: 3.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 40px 0px;
    border: 0.2rem solid wheat;
}

.scrolled-div {
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.scrolled-item {
    width: 18rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: grid;
}

.invisible-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

.position-bottomcenter .blazored-modal,
.position-bottomcenter .custom-blazored-modal {
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
}

.bg-body {
    background-color: #222222;
}

.custom-blazored {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    border: 1px solid #fff;
    padding: 1.5rem;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
    margin: 1.75rem;
}

.scrollable-dialog {
    max-height: 80vh;
    overflow-y: auto;
}

.guideline-modal {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    border: 1px solid #000;
    padding: 1.5rem;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
    margin: 1.75rem;
    background-color: dimgrey;
    color: white;
    max-width: 350px !important;
}

    .guideline-modal .bm-header {
        padding: 0 0 1rem 0 !important;
    }

.systemmenu-modal {
    font-size: 1rem;
    background-color: #5d534b;
    text-align: center;
    border-radius: 2vh;
    padding: 0;
    margin-inline: auto;
    border: none;
}

    .systemmenu-modal .bm-header {
        display: flex;
        flex-direction: row;
        justify-content: center !important;
        align-items: center !important;
        padding: 0.5rem 0 0.5rem 0 !important;
    }

    .systemmenu-modal .bm-title {
        color: white;
        font-size: 1.2rem;
        color: #df8e1d !important;
    }

    .systemmenu-modal li {
        background-color: #f5f5f5b3;
        font-size: 1rem;
    }

    .systemmenu-modal .list-group-item {
        height: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 0;
        color: white;
    }

::-webkit-input-placeholder {
    color: #d9d9d9;
}

.circle-count {
    min-width: 1.2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inbox-count {
    top: -0.4rem;
    right: -0.3rem;
    color: #ffb613;
    z-index: 1;
}

.p-relative {
    position: relative;
}

.p-absolute {
    position: absolute;
}

.time-input-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen den Feldern */
    width: 100%; /* Ganze Zeile ausfüllen */
}

    .time-input-group label {
        white-space: nowrap; /* Verhindert Zeilenumbrüche bei Labels */
    }

    .time-input-group input {
        flex: 1; /* Sorgt dafür, dass beide Felder gleich groß sind */
        width: 50%; /* Jedes Feld nimmt 50% der Breite */
        min-width: 0; /* Verhindert Probleme bei kleineren Bildschirmen */
        text-align: center; /* Zentrierte Eingabe */
    }

.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #1e1e1e; /* Optional: schöner Hintergrund */
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3); /* Optional: dezenter Schatten */
}

    .form-container input,
    .form-container button {
        width: 100%;
        margin-bottom: 15px;
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

    .form-container button {
        background-color: #f0c64e;
        color: #000;
        font-weight: bold;
        border: none;
        cursor: pointer;
    }

        .form-container button:hover {
            background-color: #e6b800;
        }
