﻿.testtext {
    display: flex !important;
    flex-direction: column !important;
    align-items: start !important;
    justify-content: start !important;
    width: 100% !important;
    min-width: 100px !important;
    font-size: 1rem !important;
    padding: .25rem .5rem .25rem .5rem !important;
}

    .testtext .dx-label span {
        font-size: 12px !important;
        transform: translate(0,-6.5px) !important;
    }

/*Text Input*/
.stus-text-box {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
    min-width: 60px;
    font-size: 1rem;
    padding: .25rem .5rem .25rem .5rem;
    --dxbl-checkbox-check-element-unchecked-border-color: rgba(var(--bs-secondary-rgb), 30%);
    --dxbl-checkbox-check-element-unchecked-hover-border-color: rgba(var(--bs-secondary-rgb), 50%);
}

    .stus-text-box .caption {
        width: 100%;
        text-align: start;
        height: 1.15rem;
        font-size: 0.8rem;
        font-weight: 100;
        padding-left: 0.25rem;
    }

    .stus-text-box .editor {
        width: 100%;
        height: 100% !important;
    }

    .stus-text-box .error {
        background-color: indianred;
        color: white;
    }

    .stus-text-box .check {
        margin-top: -2px;
        margin-left: 1px;
    }

/*Text Input Grid*/
.stus-gridtext-box {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
    min-width: 50px;
    font-size: 1rem;
    padding: .1rem .1rem .1rem 0.1rem;
    --dxbl-checkbox-check-element-unchecked-border-color: rgba(var(--bs-secondary-rgb), 30%);
    --dxbl-checkbox-check-element-unchecked-hover-border-color: rgba(var(--bs-secondary-rgb), 50%);
}

    .stus-gridtext-box .caption {
        width: 100%;
        text-align: start;
        height: 1.15rem;
        font-size: 0.8rem;
        font-weight: 100;
        padding-left: 0.25rem;
    }

    .stus-gridtext-box .editor {
        width: 100%;
        height: 100% !important;
    }

    .stus-gridtext-box .error {
        background-color: indianred;
        color: white;
    }

    .stus-gridtext-box .check {
        margin-top: -2px;
        margin-left: 1px;
    }

/*Form İçin Top Menu */
.stus-menu-box {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: .5rem .5rem .5rem .5rem;
    background-color: whitesmoke;
    z-index: 1;
}

/*Grid İçin Bottom Menu */
.stus-menugrid-box {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    padding: 0rem;
    width: 100%;
}

    .stus-menugrid-box .button {
        width: 100px;
    }

/*Image Box*/
.stus-img-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    font-size: 1rem;
    padding: 0 .5rem 0 .5rem;
}

    .stus-img-box .header {
        display: flex;
        width: 100%;
        height: 1.15rem;
        font-size: 0.8rem;
        font-weight: 100;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .stus-img-box .imgarea {
        display: flex;
        align-items: center;
        justify-content: center;
    }

/*Grid Input*/
.stus-grid-box {
    width: 100%;
    height: 100%;
    padding: .25rem .5rem .25rem .5rem;
}


/*Stus File Drop Zone*/
.stus-dropzone {
    display: flex;
    padding: 5px !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-width: 100px;
    height: var(--deveditor-height);
    font-size: 1rem;
    border-style: dashed;
    border-width: 2px !important;
    background-color: rgba(183, 183, 183, 0.1);
}

    .stus-dropzone .label {
        font-weight: 500;
        font-size: 0.8rem;
        text-align: start;
        padding-left: 5px;
        width: 100%;
    }

    .stus-dropzone.stus-dropzone-hover {
        border-style: solid;
    }

    .stus-dropzone > *:not(#SelectButton) *:not(#UpLoadButton) *:not(#CancelButton) {
        pointer-events: none;
    }


.w50 {
    width: 50px !important;
}

.w65 {
    width: 65px !important;
}


.w75 {
    width: 75px !important;
}

.w100 {
    width: 100px !important;
}

.w125 {
    width: 125px !important;
}

.w150 {
    width: 150px !important;
}

.w200 {
    width: 200px;
}

.w210 {
    width: 210px;
}

.w250 {
    width: 250px;
}

.w300 {
    width: 300px;
}

.w325 {
    width: 325px;
}

.w350 {
    width: 350px;
}

.w400 {
    width: 400px;
}

.w450 {
    width: 450px;
}

.w500 {
    width: 500px;
}

.w850 {
    width: 850px;
    max-width: 85%;
}

.w900 {
    width: 900px;
}

.h50 {
    max-height: var(--deveditor-height);
    overflow-y: auto;
}


.h50x {
    height: 50px !important;
}

.h60 {
    height: 60px;
}

.h75 {
    height: 75px;
}

.h100 {
    height: 100px;
}

.h150 {
    height: 150px;
}

.h200 {
    height: 200px;
}

.h250 {
    height: 250px;
}

.h300 {
    height: 300px;
}

.h350 {
    height: 350px;
}

.hm350 {
    min-height: 350px;
    height: 500px;
}

.gridh {
    min-height: 350px;
    max-height: 500px;
    height: 100%;
}

.formlayout {
    height: 100%;
    width: 100%;
    display: block;
}

.gridRapor {
    height: calc(100% - 350px);
}

.numpad {
    display: flex;
    justify-content: center;
    align-content: center;
}

.numpad-container {
    width: 275px;
    height: 100%;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}
    
.numpad-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 3px;
    padding-left: 2px;
}

.numpad-display {
    background-color: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: right;
    color: #212529;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    min-height: 55px;
    word-break: break-all;
    text-align: center;
    /* İmleci sayının yanına dikeyde ortalamak için flex kullanıyoruz */
    display: flex;
    justify-content: center;
    align-items: center;
}

.blinking-cursor {
    display: inline-block;
    width: 3px;
    height: 1.8rem; /* Font boyutuyla uyumlu yükseklik */
    background-color: #0d6efd; /* İmlecin dikkat çekmesi için mavi renk (aktif hissi verir) */
    margin-left: 4px;
    border-radius: 2px;
    animation: blink 1s step-end infinite;
}

/* Yanıp sönme keyframe'leri */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.numpad-btn {
    width: 100%;
    height: 100%;
    min-height: 55px;
    min-width:50px;
    font-size: 1.2rem !important; /* DevExpress'in varsayılan font boyutunu ezer */
    font-weight: bold !important;
}
