
/* Form error mesajları (alert satırlarını sadeleştirir) */
.form-error {
    color: #d32f2f;              /* danger */
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
    font-weight: 500;
}






@media only screen and (max-width:1024px) {
    .inpgroup input {
        color: white;
        background-color: #ffffff26;
    }
}


@media only screen and (max-width: 1024px) {
    .login {
        gap: 75px;
        justify-content: center;
        overflow: auto;
        height: max-content;
        padding: 10px 0px 40px 0px;
    }
}


.modal-space{
    align-items: center;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.2);
}
.modal-space.active{
    display: flex;
}

.modal-space .myModal{
    height: 100%;
    overflow: auto;
    background-color: white;
    width: 80%;
    border-radius: 20px;
    min-width: 80vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.modal-space .myModal .modal-header{
    padding: 2vh 3vh;
    border-top-right-radius: 18px;
    border-top-left-radius: 18px;
    height: 6vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-space .myModal .modal-header:before,
.modal-space .myModal .modal-header:after{
    content: none;
}
.modal-space .myModal .modal-header i{
    font-size: 25px;
    cursor: pointer;
    transition: 400ms all;
}
.modal-space .myModal .modal-header i:hover{
    transform: rotate(360deg);
}
.modal-space .myModal .modal-header h4{
    font-size: 20px;
    color: #444444;
}
.modal-space .modal .modal-body{
    padding: 1vh 5vh;
    max-height: 80vh;
    overflow-y: scroll;
}
.modal-space .myModal .modal-body::-webkit-scrollbar {
    width: 8px;
    background-color: #ffffff;
}
.modal-space .myModal .modal-body::-webkit-scrollbar-thumb {
    border-radius: 15px;
    background-color: #3B3B3B;
}
.modal-space .myModal .modal-body> div{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2vh;
    margin-top: 1vh;
}
.modal-space .myModal .modal-body div.modal-image{
    display: flex;
    justify-content: center;
}
.modal-space .myModal .modal-body .clocks{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.modal-space .myModal .modal-body .clocks button{
    padding: 4px 16px;
    border-radius: 20px;
    margin: 5px;
    background-color: #1890FF;
    border: 1px solid #767676;
    color: white;
    transition: 500ms all;
    cursor: pointer;
}
.modal-space .myModal .modal-body .clocks button:hover{
    background-color: #EFEFEF;
    border: 1px solid #767676;
    color: black;
}
.modal-space .myModal .modal-body .clocks button.disabled{
    background-color: #EFEFEF;
    border: 1px solid #767676;
    color: black;
}
.modal-space .myModal .modal-body .clocks button.selected{
    background-color: rgba(239, 239, 239, 0.14);
    border: 1px solid #767676;
    color: black;
}

.modal-space .myModal .modal-body div img{
    height: 150px;
}
.modal-space .myModal .modal-footer{
    padding: 3vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6vh;
}
.modal-space .myModal .modal-footer>a{
    background-color: #A52A2A;
    color: white;
    border: 1px solid #A52A2A;
    padding: 4px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: 600ms all;
    height: max-content;
}
.modal-space .myModal .modal-footer>a:first-child{
    background-color: #089b08;
    margin-right: 15px;
    border: 1px solid #089b08;
}
.modal-space .myModal .modal-footer>a:hover{
    color: #A52A2A;
    border: 1px solid #A52A2A;
    background-color: rgba(255, 255, 255, 0);
}
.modal-space .myModal .modal-footer>a:first-child:hover{
    color: #089b08;
    border: 1px solid #089b08;
    background-color: rgba(255, 255, 255, 0);
}
.modal-space .myModal .modal-footer>a.modal-close{
    background-color: #A52A2A;
    color: white;
    border: 1px solid #A52A2A;
}
.modal-space .myModal .modal-footer>a.modal-close:hover{
    color: #089b08;
    border: 1px solid #089b08;
    background-color: rgba(255, 255, 255, 0);
}
#detail-lab, #talep-lab,#detail-test,#talep-test,#detail-cihaz,#talep-cihaz, #detail_rents_lab_modal, #detail_rents_test_modal, #detail_rents_device_modal{
    display: none;
}
.large .myModal{
    width: 50%;
    min-width: 1024px;
}
.small .myModal{
    width: 35%;
}
.small .myModal .modal-body {
    outline: none;
    height: 78vh;
    padding: 0 3vh;
    overflow: auto;
}
.small .myModal .modal-body{
    display: flex;
    align-content: flex-start;
    flex-direction: column;
}
.myModal .modal-body form{
    display: flex;
    flex-wrap: wrap;
}
.modal-body input, .modal-body select{
    border: 1px solid #939393;
    height: 27px;
    border-radius: 8px;
    padding: 0 5px;
}
.modal-body .inp-group,
.custom-inp-group{
    display: flex;
    flex-direction: column;
    padding: 5px 15px;
    width: 50%;
    justify-content: flex-end;
    align-items: flex-start;
}
.modal-body .inp-group label,
.custom-inp-group label{
    text-decoration: none !important;
    font-weight: 300;
}
.modal-body .inp-group textarea,
.custom-inp-group textarea{
    width: 100%;
}

#kvkkUL li{
    list-style: disc!important;
    margin-bottom: 2vh;
}


/* --- Auth ortak yardımcılar --- */


body.login { overflow: hidden; }           /* tam ekran sabit görünüm (mobilde aş. override ediliyor) */
.hide { display: none !important; }
.w-100 { width: 100%; }

/* Kart / içerik */
.auth-card { max-width: 440px; margin: 0 auto; padding: 24px; }

/* Düğme yerleşimi */
.actions { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.submit-buttons { margin-top: 12px; }

/* Logo blokları */
.auth-logo { text-align: center; margin-top: 3vh; }
.auth-logo .logo-inner { display: inline-block; }
.auth-logo img { max-height: 72px; }

/* Arkaplan resmi (picture içindeki img) */
.auth-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Alt satır (kayıt ol) hizası */
.auth-register-row { display: flex; margin-top: 2vh; justify-content: flex-end; }

/* Sağda hizalı küçük link satırı (Şifremi Unuttum) */
.text-right-flex { width: 100%; display: flex; justify-content: flex-end; }

/* Erişilebilirlik için görünmez label */
.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Form error (inline alert yerine) */
.form-error {
    color: #d32f2f;              /* danger */
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
    font-weight: 500;
}

/* Mobil davranış: login container kayabilsin */
@media only screen and (max-width: 1024px) {
    .login {
        gap: 75px;
        justify-content: center;
        overflow: auto;           /* mobilde overflow aç */
        height: max-content;
        padding: 10px 0 40px 0;
    }
    .inpgroup input {
        color: white;
        background-color: #ffffff26;
    }
}

