
:root {
    --border-color: #9e2d32;
    --header-color: #A0522D; /*#6f4317;*/
    --levelOne: #ffe5ea;
    --levelTwo: #ffccd5;
    --levelThree: #e5acb6;
    --levelFour: #997379;
    --levelFourFontColor: white;
    --levelFive: #e5acb6;
    --spaceHeight: 6px;
    --productCardFontSize: 18px;
    --tabFontSize: 15px;
    --activeTabBgColor: saddlebrown;
    --activeTabColor: white;
    --toBeTakeCount: 5;
    --label-color: black;
    --label-font-size: 14px;
    --body-bock-color: #FDF5E6; /*#ffffcc*/
    --form-bg-main: whitesmoke;
    --form-bg-sub: #E9ECEF;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
}

body {
    background-color: var(--body-bock-color);
}
.custom-box {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
    .custom-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
.custom-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
    .custom-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
.custom-border{
    border:1px solid var(--border-color);
}
.custon-font {
    font-family: 'Inter', sans-serif;
}
.tab-font-size {
    font-size: var(--tabFontSize);
}
.product-card-font-size {
    font-size: var(--productCardFontSize);
}
.custom-mb {
    margin-bottom: var(--spaceHeight);
}
.form-bg-main {
    background-color: var(--form-bg-main);
    border-radius:10px;
}
.form-bg-sub {
    background-color: var(--form-bg-sub);
    border-radius: 10px;
}
.bg-level-one {
    background-color: var(--levelOne);
}
.bg-level-two {
    background-color: var(--levelTwo);
}
.bg-level-three {
    background-color: var(--levelThree);
}
.bg-level-four {
    background-color: var(--levelFour);
}
.bg-level-five {
    background-color: var(--levelFive);
}
.fc-level-four {
    color: var(--levelFourFontColor);
}
.cursor-pointer{
    cursor:pointer;
}
h1:focus {
    outline: none;
}

.btn {
    border-radius: 0px;
    border: none;
}

a, .btn-link {
    color: #0071c1;
}

.accordion {
    border: 1px solid;
    border-color: var(--border-color);
}

.accordion-item {
    border: none;
}

.invisible {
    display: none;
}

.clsSearchBar {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--border-color) !important;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-icon {
    position: fixed;
    bottom: 20px;
    right: 15px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 2;
    font-size: 17px;
    transition: visibility 1s;
}

    .search-icon .tooltip-text {
        visibility: hidden;
        width: 70px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%; /* Tooltip'in butonun üstünde görünmesi için */
        left: 50%;
        margin-left: -40px; /* Tooltip'i ortalamak için */
        opacity: 0;
        transition: opacity 0.3s;
        font-size: 12px;
    }

        .search-icon .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%; /* Tooltip'in altına üçgen eklemek için */
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .search-icon:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

.active-tab {
    background-color: saddlebrown;
    color: white;
}

.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;
    outline: 0;
    box-shadow: none;
}

.textLeft {
    text-align: left;
}


.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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");
    }

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.vertical-align-middle {
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
}

.border-orange {
    border: solid;
    border-width: .1em;
    border-color: orange;
}

.acc-button {
    width: 100%;
    max-width: 100%;
    text-align: left;
    border: none;
    padding-top: .5em;
    padding-bottom: .5em;
}

    .acc-button span {
        float: right;
        margin-right: .5em;
    }

.border-active {
    border: solid;
    border-width: .1em;
    border-color: blue;
}

.float-right {
    float: right;
}

.color-gold {
    color: goldenrod;
}

.float-left {
    float: left;
}

.margin-left-7 {
    margin-left: 7px;
}

.margin-right-0 {
    margin-right: 0px;
}

.margin-right-7 {
    margin-right: 20px;
}

.margin-right-5m {
    margin-right: .5em;
}

.clear-both {
    clear: both;
}

.clearfix {
    overflow: auto;
}

    .clearfix::after {
        content: "";
        clear: both;
        display: table;
    }

.margin-top-7 {
    margin-top: .7rem;
}

.main-page-icon {
    font-size: 1.7em;
}

    .main-page-icon:hover {
        cursor: pointer;
        color: yellowgreen;
    }

.account:hover {
    cursor: pointer;
    color: yellowgreen;
}



.under-main-row {
    background-color: transparent;
    min-height: 3.3rem;
    max-height: auto;
    padding-top: .5em;
    padding-bottom: .5em;
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
    clear: both;
    position: fixed;
    top: 5.5em;
    left: 0px;
    z-index: 2;
    justify-content: center;
    align-items: center;
    margin-bottom: 20em;
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 0px;
}

    .under-main-row a {
        color: black;
    }

        .under-main-row a:hover {
            cursor: pointer;
        }

.nav-item {
}

    .nav-item:hover {
        color: darkkhaki;
        z-index: 2;
        -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
        -moz-transform: scale(1.2);
        transform: scale(1.2);
        cursor: pointer;
    }

    .nav-item:active {
        color: yellowgreen;
    }

.menu-div {
    justify-content: center;
    align-items: center;
}

.custom-badge {
    font-size: .33em;
    position: relative;
    top: -15px;
    left: 7px;
    text-align: center;
}

.list-div {
    font-size: 1.7em;
    color: firebrick;
    margin-left: .5em;
}

.home-div:hover {
    z-index: 2;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2);
    cursor: pointer;
}

.border-radius-4 {
    border-radius: 4px;
}

.btn-save {
    background-color: forestgreen;
    color: white;
    font-size: .9em;
    margin-right: auto;
    margin-left: auto;
    min-width: 4em;
}

.btn:hover {
    outline: 0;
    border: 0;
}

.btn:active {
    outline: none;
    border: none;
}

.btn-save:active {
    outline: 0;
    border: 0;
}

.main-divs {
    display: flex;
    width: 100%;
    max-width: 100%;
}

.row-one {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: .5em;
    margin-right: 0px;
    margin-left: 0px;
}

.row-two {
    display: block;
    max-width: 100%;
    padding-bottom: .5em;
    margin-right: 0px;
    margin-left: 0px;
}

.label {
    max-width: 100%;
    margin-bottom: 1px;
    text-align: left;
    margin: 0px;
    padding: 0px;
    padding-left: 0px;
    color: var(--label-color);
    font-size: var(--label-font-size);
}

.input {
    width: 100%;
    max-width: 100%;
    min-width: 3em;
    margin: 0px;
    margin-right: 0px;
    border-color: orange;
    font-size: .9em;
}

    .input:focus {
        outline: 0;
        box-shadow: none;
    }

.formatted-value {
    text-align: left;
    font-size: .9em;
    padding-left: 0px;
    margin-left: 3px;
}

.button-location-40 {
    position: relative;
    left: 30%;
}

.buttonSize {
    font-size: 13px;
}

.ch-22 {
    height: 22px;
    max-height: 22px;
}

.w-30 {
    width: 30%;
    max-width: 30%;
}

.w-40 {
    width: 40%;
    max-width: 40%;
}

.w-60 {
    width: 60%;
    max-width: 60%;
}

.w-70 {
    width: 70%;
    max-width: 70%;
}

.w-75 {
    width: 75%;
    max-width: 75%;
}

.cw-30 {
    width: 60%;
    max-width: 60%;
    position: relative;
    left: 20%;
}

.cw-40 {
    width: 40%;
    max-width: 40%;
}

.cw-50 {
    width: 50%;
    max-width: 50%;
}

.cw-60 {
    width: 60%;
    max-width: 60%;
}

.p-top-2 {
    padding-top: .2em;
}

.p-top-5 {
    padding-top: .5em;
}

.p-bottom-1 {
    padding-bottom: 1em;
}

.p-bottom-2 {
    padding-bottom: 2em;
}

.p-left-2 {
    padding-left: 2em;
}

.p-left-3 {
    padding-left: 3em;
}

.p-left-4 {
    padding-left: 4em;
}

.p-right-2 {
    padding-right: 2em;
}

.p-right-5 {
    padding-right: 5em;
}

.p-bottom-2 {
    padding-bottom: 2em;
}

.pr-0 {
    padding-right: 0px;
}

.m-right-3px {
    margin-right: 3px;
}

.m-right-2 {
    margin-right: 2em;
}

.m-left-2 {
    margin-left: 2em;
}

.m-top-3 {
    margin-top: 3em;
}

.m-top-2 {
    margin-top: 2em;
}

.m-top-1 {
    margin-top: 1em;
}

.m-bottom-2 {
    margin-bottom: 2em;
}

.m-bottom-1 {
    margin-bottom: 1em;
}

.bg-spinner {
    background-color: dimgray;
    border-radius: 5px;
}



.bg-dark {
    background-color: black;
    font-size: .8em;
}

.bg-primary {
    background-color: lightskyblue;
    font-size: .8em;
    color: white;
}

    .bg-primary:active {
        color: white;
        border-color: brown;
    }

.bg-info {
    background-color: bisque;
    font-size: .8em;
    color: black;
}

.bg-green {
    background-color: green;
    font-size: .8em;
    color: white;
}

.bg-secondary {
    background-color: grey;
    font-size: .8em;
    color: white;
}

.bg-warning {
    background-color: darkred;
    color: black;
    font-size: .8em;
}

.fixed-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 30px;
    min-width: 3rem;
    max-width: 3rem;
    min-height: 3.5rem;
    max-height: 3.5rem;
}

.nav-card {
    width: 100%;
    max-width: 100%;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    border-radius: 11px;
    background-color: burlywood;
    padding-top: 1em;
    padding-bottom: .5em;
}

    .nav-card:hover {
        cursor: pointer;
        z-index: 1;
        background-color: #d12c56;
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -moz-transform: scale(1.05);
        transform: scale(1.05);
        cursor: pointer
    }

.cstWdt {
    width: 490px;
    max-width: 490px;
    margin-bottom: 10px;
    display: block;
    align-items: center;
    border-color: GrayText;
    display: block;
}

.bnm-button {
    background-color: #9e2d32;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 1px;
    margin-left: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
}

    .bnm-button:hover {
        color: white;
        background-color: #d12c56;
        -webkit-text-decoration: inherit;
        text-decoration: inherit;
    }

.bnm-button-width-w100 {
    width: 100%;
}

.bnm-button-height {
    height: 40px;
    margin-top: 2px;
}

.bnm-button-left {
    padding: 0px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.bnm-button-bottom {
    padding: 0px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 6px;
    padding-bottom: 5px;
    position: relative;
    right: 5px;
}

.spnr {
    position: relative;
    top: 35%;
    left: 50%;
    border-color: var(--border-color);
    z-index: 2;
    margin-right: auto;
    margin-left: auto;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 150px;
    height: 150px;
    background: transparent;
    border: 3px solid #3c3c3c;
    border-radius: 50%;
    text-align: center;
    line-height: 150px;
    font-family: sans-serif;
    font-size: 12px;
    color: #fff000;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #fff000;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
}

    .ring:before {
        content: '';
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        border: 3px solid transparent;
        border-top: 3px solid #fff000;
        border-right: 3px solid #fff000;
        border-radius: 50%;
        animation: animateC 2s linear infinite;
    }

.spnr-span {
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    animation: animate 2s linear infinite;
}

    .spnr-span :before {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #fff000;
        top: -6px;
        right: -8px;
        box-shadow: 0 0 20px #fff000;
    }

.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed; /* Sabit pozisyon */
    z-index: 4; /* Üstte göster */
    padding-top: 100px; /* Üstten boşluk */
    left: 0;
    top: 0;
    width: 100%; /* Tam genişlik */
    height: 100%; /* Tam yükseklik */
    overflow: auto; /* Taşma durumunda kaydır */
    background-color: rgb(0,0,0); /* Siyah arka plan */
    background-color: rgba(0,0,0,0.9); /* Siyah arka plan (şeffaf) */
}

    .modal.show {
        display: block;
    }

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: scale(0);
    opacity: 0;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal.hide .modal-content {
    transform: scale(0);
    opacity: 0;
}

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes animateC {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}



/*//////////Ekran Boyutları/////////////*/

@media(max-width:950px) {
    .cstWdt {
        width: 470px;
        max-width: 470px;
        display: block;
    }

    html, body {
        font-size: 17px;
    }

    .custom-badge {
        font-size: .33em;
        position: relative;
        top: -10px;
        left: 7px;
        text-align: center;
    }
}

@media (max-width:700px) {
    .cstWdt {
        width: 440px;
        max-width: 440px;
        display: block;
    }

    html, body {
        font-size: 14px;
    }

    article {
        font-size: 16px;
    }

    .custom-badge {
        font-size: .33em;
        position: relative;
        top: -10px;
        left: 5px;
        text-align: center;
    }

    article {
        font-size: 13px;
    }

    .font-size {
        font-size: 1.5em;
        padding-bottom: 6px;
    }
}

@media (max-width: 550px) {
    .cstWdt {
        width: 395px;
        max-width: 395px;
        display: block;
    }
}

@media (max-width: 459px) {
    .cstWdt {
        width: 365px;
        max-width: 365px;
        display: block;
    }

    article {
        font-size: 12px;
    }
}


@media(max-width:400px) {
    .cstWdt {
        width: 350px;
        max-width: 350px;
        display: block;
    }

    html, body {
        font-size: 11px;
    }
}

@media (max-width: 370px) {
    .cstWdt {
        width: 330px;
        max-width: 330px;
        display: block;
    }
}

@media (max-width: 276px) {
    .cstWdt {
        width: 95%;
        max-width: 95%;
        display: block;
    }

    html, body {
        font-size: 9px;
    }

    .margin-left-7 {
        margin-left: 3px;
    }
}
