﻿body {
    margin: 0; /* Kenar boşluklarını kaldırır */
    padding: 0; /* İç boşlukları kaldırır */
    height: 100vh; /* Ekran yüksekliğine tam oturur */
    width: 100vw; /* Ekran genişliğine tam oturur */
    overflow: hidden; /* Taşan içeriği gizler */
    /* Arka plan resmi */
    background-image: url('../images/wallpaper/background-login.png');
    background-size: cover; /* Resim ekranı tamamen kaplar */
    background-position: center; /* Resim ortalanır */
    background-repeat: no-repeat; /* Tekrar etmez */
    background-attachment: fixed; /* Ekran kaydırıldığında arka plan sabit kalır */
}

    body::before, body::after {
        display: none !important;
    }

swiper-slide::before {
    left: 0;
    background: linear-gradient(to right, #ef7917 0%, rgba(1,75,112,0.05) 100%);
}

swiper-slide::after {
    right: 0;
    background: linear-gradient(to right, #ef7917 0%, rgba(1,75,112,0.05) 100%);
}
/* Sol resimleri küçültmek veya büyütmek */
.swiper-slide .col-lg-7 img {
    width: 170px; /* Sol resmin boyutunu %80'e ayarladık. İstediğiniz değere göre değiştirebilirsiniz. */
    height: auto; /* Yüksekliği oranlı olarak ayarlansın */
    margin-top: -80px;
}

/* Sağ resimleri küçültmek veya büyütmek */
.swiper-slide .col-lg-5 img {
    width: 190px; /* Sağ resmin boyutunu %60'a ayarladık. İstediğiniz değere göre değiştirebilirsiniz. */
    height: auto; /* Yüksekliği oranlı olarak ayarlansın */
    margin-top: -20px;
    margin-left: 250px;
}

/* Tüm resimleri düzgün boyutlandırmak için */
.swiper-slide img {
    max-width: 100%; /* Resmin maksimum genişliği container'a göre ayarlanır */
    height: auto; /* Oranları koruyarak yüksekliği otomatik olarak ayarlar */
}

    /* Yuvarlak resimler için sabit boyut */
    .swiper-slide img.round-image {
        height: 150px !important; /* Sabit yükseklik */
        width: 150px !important; /* Sabit genişlik */
        object-fit: cover; /* Oranları koru ve resmi kırp */
    }

.hero {
    min-height: 100vh;
    width: 100%;
    display: flex; /* Flexbox etkinleştir */
    margin-right: 600px;
    margin-left: -400px; /* Negatif margin kaldırıldı */
    margin-top: 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
}
/* Yatay Ekran için Arka Plan */
@media (orientation: landscape) {
    body.login-page {
        background-image: url('../images/wallpaper/background-login.png');
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        height: 100vh !important;
        width: 100vw !important;
    }

    .hero {
        margin-top: -350px;
        margin-left: -295px;
    }

    .main-box {
        width: 380px !important;
        height: 430px !important;
        left: 50% !important;
        top: 40vh !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
    }

    .version-text {
        top: calc(40vh + 215px) !important; /* landscape için main-box'ın altına */
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 12px !important;
    }

    .row.g-12 {
        background-image: url('../images/wallpaper/background-login.png');
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        min-height: 110vh;
    }
}

.input-field::placeholder {
    color: #014b70;
}
/* Mobil Cihazlar için Dikey ve Yatay Ayrımı */
@media (max-width: 768px) and (orientation: portrait) {
    body {
        background-image: url('../../../images/login/arkaplan2.jpg'); /* Yatay için */
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    body {
        background-image: url('../../../images/login/arkaplan2.jpg'); /* Yatay için */
    }
}

div {
    box-sizing: border-box;
}
/*main box*/
.main-box {
    width: 420px;
    height: 490px;
    position: fixed;
    top: 40vh;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
    border-radius: 30px;
    background: linear-gradient(to right, #f5f8f9 0%, rgba(1,75,112,0.05) 100%);
    z-index: 10;
}

/* Responsive boyutlandırma - sadece boyut değişir, pozisyon sabit kalır */
@media (max-width: 1200px) {
    .main-box {
        width: 380px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    .main-box {
        width: 340px;
        height: 410px;
    }
}

@media (max-width: 480px) {
    .main-box {
        width: 300px;
        height: 370px;
    }
}

/* Versiyon yazısı */
.version-text {
    position: fixed;
    top: calc(40vh + 245px); /* main-box'ın altına */
    left: 50%;
    transform: translateX(-50%);
    color: #b9d6f2;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 10;
    text-align: center;
}

/* Responsive versiyon yazısı - sadece boyut değişir */
@media (max-width: 1200px) {
    .version-text {
        font-size: 13px;
        top: calc(40vh + 225px);
    }
}

@media (max-width: 768px) {
    .version-text {
        font-size: 12px;
        top: calc(40vh + 205px);
    }
}

@media (max-width: 480px) {
    .version-text {
        font-size: 11px;
        top: calc(40vh + 185px);
    }
}

.sp {
    position: absolute;
    transition: 0.5s;
}

.form-box {
    width: 916px;
    height: 486px;
    position: relative;
    background: linear-gradient(to right, #aad6f9 0%, #ef7917 50%, #fff7e6 100%);
    padding: 5px;
    overflow: hidden;
    z-index: 5;
}

/* Responsive form-box - sadece boyut değişir */
@media (max-width: 1200px) {
    .form-box {
        width: 876px;
        height: 446px;
    }
}

@media (max-width: 768px) {
    .form-box {
        width: 836px;
        height: 406px;
    }
}

@media (max-width: 480px) {
    .form-box {
        width: 796px;
        height: 366px;
    }
}

.sp-t {
    top: 0;
    right: 0;
    width: 200px;
    height: 2px;
    background: linear-gradient(to left, transparent, #014b70, #014b70);
    animation: anim2 2s linear infinite;
    transform: translateY(-300%);
    animation-delay: 0.8s;
}

.sp-r {
    top: 0;
    right: 0;
    width: 2px;
    height: 200px;
    background: linear-gradient(to top, transparent, #014b70, #014b70);
    animation: anim1 2s linear infinite;
    animation-delay: 0s;
    transform: translateX(0); /* Bu çizginin doğru görünmesini sağlar */
}

.sp-b {
    right: 0;
    bottom: 0;
    width: 200px;
    height: 2px;
    background: linear-gradient(to left, transparent, #014b70, #014b70);
    animation: anim2 2s linear infinite;
}

.sp-l {
    left: 0;
    top: 0;
    width: 2px;
    height: 200px;
    background: linear-gradient(to top, transparent, #014b70, #014b70);
    animation: anim1 2s linear infinite;
    animation-delay: 1s;
    transform: translateX(5); /* Çizginin görünmesini sağlar */
}

@keyframes anim1 {
    0% {
        transform: translateY(300%);
    }

    100% {
        transform: translateY(-300%);
    }
}

@keyframes anim2 {
    0% {
        transform: translateX(300%);
    }

    100% {
        transform: translateX(-300%);
    }
}
/*main box end*/

.form-box {
    width: 916px;
    height: 486px;
    position: relative;
    background: #aad6f969;
    padding: 5px;
    overflow: hidden;
    z-index: 5;
}

#after {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    background: transparent;
    z-index: -1;
    transition: 0.5s;
}


.button-box {
    width: 220px;
    margin: 35px auto 30px auto;
    position: relative;
    border-radius: 30px;
    display: flex;
    justify-content: space-around;
    animation: animBTN 5s linear infinite;
    z-index: 15;
}

@keyframes animBTN {
    0% {
        box-shadow: 0 0 10px 9px rgba(3,169,244,0.3);
    }

    33% {
        box-shadow: 0 0 10px 9px rgba(244,65,165,0.3);
    }

    66.9% {
        box-shadow: 0 0 10px 9px rgba(255,235,59,0.3);
    }

    100% {
        box-shadow: 0 0 10px 9px rgba(3,169,244,0.3);
    }
}

.toggle-btn {
    width: 10000px;
    padding: 10px 30px;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 70px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    outline: none;
    position: relative;
    transition: 0.5s;
}

#btn {
    /*border: 2px solid white;*/ /* 2 piksel genişliğinde, düz çizgi ve beyaz renkli çerçeve */
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 100%;
    background: linear-gradient( to left, #014b70,#014b70);
    color: white;
    border-radius: 30px;
    transition: 0.5s;
}

.social-icons {
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    z-index: 15;
}

.icon-link {
    display: flex;
    background: #014b70;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 50%;
    margin: 0px 10px;
    box-shadow: 6px 6px 10px -1px #014b70, -6px -6px 10px -1px #014b70;
    /*   border: 1px solid rgba(234, 234, 235,0.09);*/

    transition: transform 0.5s;
}
/* Başlangıç..tel-mail-adres ikonları */
.cont-icon {
    color: white;
    font-size: 28px;
    transition: transform 0.5s;
}

.icon-link:hover {
    border: 2px solid #014b70; /* 2 piksel genişliğinde, düz çizgi ve beyaz renkli çerçeve */
    box-shadow: inset 4px 4px 6px -1px #014b70, inset 4px 4px 6px -1px #014b70, 0 0 5px #014b70, 0 0 25px #014b70, 0 0 50px #014b70, 0 0 100px #014b70;
    transform: translateY(2px);
}
/* Bitiş..tel-mail-adres ikonları */

.input-group {
    width: 420px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    top: 180px;
    position: absolute;
    padding: 0 30px;
    transition: 0.5s;
    box-sizing: border-box;
    color: white;
    z-index: 15;
}

/* Responsive input-group - sadece boyut değişir */
@media (max-width: 1200px) {
    .input-group {
        width: 380px;
        padding: 0 25px;
    }
   /* .p {
        margin-right: 30px
    }*/
}

@media (max-width: 768px) {
    .input-group {
        width: 340px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .input-group {
        width: 300px;
        padding: 0 15px;
    }
    
}

.input-field {
    width: 100%;
    padding: 10px 5px;
    margin: 10px 0;
    border-top: 0;
   
    border-left: 3px solid #014b70;
    border-right: 8px;
    border-bottom: 2px solid #014b70;
    border-radius: 100px;
    outline: none;
    background: transparent;
    color: black;
    font-size: 15px;
    transition: 0.5s;
}

    .input-field:focus {
        border-radius: 135px;
        border-left: 2px solid transparent;
        border-bottom: 2px solid transparent;
        animation: animINP 5s linear infinite,animBTN 5s linear infinite;
    }
.submit-btn {
   
    /*border: 2px solid white;*/ /* 2 piksel genişliğinde, düz çizgi ve beyaz renkli çerçeve */

   
    background: linear-gradient(to right, #014b70,#014b70,#014b70);
   
    outline: none;
    border-radius: 30px;
    position: relative;
  
    box-sizing: border-box;
   top:-20px;
}
    /*RFID Kart - Yatay Ekran*/
@media (orientation: landscape) and (min-width: 1024px) {
    .submit-btn {      
        margin: 14px auto 0 auto;      
        right: 18px !important;
    }
   
    .input-field {
        margin-left: -20px;
    }
    .password-btn{
        right:20px;
    }
    .text{
        margin-top:-6px;
        margin-right:45px;
    }
    
    }

/*RFID Kart - Dikey Ekran*/
@media (orientation: portrait), (max-width: 1023px) {
    .submit-btn {
        margin: 9px auto 0 auto;     
        right: 0px !important;
    }
    .input-field {
        margin-left: 0px;
    }
    .password-btn {
        right: 0px;
    }
    .text {
        margin-top: -10px;
      
    }
   
}

    .submit-btn:hover {
        color: #fff;
        border-radius: 30px;
        box-shadow: 0 0 5px #014b70, 0 0 25px #014b70, 0 0 50px #014b70, 0 0 100px #014b70;
    }

.sub-btn {
    width: 85%;
    padding: 10px 30px;
    /*border: 2px solid white;*/ /* 2 piksel genişliğinde, düz çizgi ve beyaz renkli çerçeve */

    cursor: pointer;
    display: block;
    margin: 30px auto 0 auto;
    background: linear-gradient(to right, #014b70,#014b70,#014b70);
    color: white;
    outline: none;
    border-radius: 30px;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
    left: -1px;
    top: -10px;
    font-size: 15px;
    transition: 0.5s;
}

    .sub-btn:hover {
        color: #fff;
        border-radius: 30px;
        box-shadow: 0 0 5px #014b70, 0 0 25px #014b70, 0 0 50px #014b70, 0 0 100px #014b70;
    }


.span {
    margin: 20px 0;
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*position: absolute;
 	bottom: 88px;*/
}

.check-box {
    margin: 0 10px;
    padding: 0;
}

#login {
    left: 0px;
}

#register {
    left: 500px;
}



@keyframes a {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 900%;
    }
}

@keyframes animBTN {
    0% {
        box-shadow: rgb(112 168 207) 0px 0px 10px 9px;
    }

    33% {
        box-shadow: rgb(15 67 114) 0px 0px 10px 9px;
    }

    66.9% {
        box-shadow: rgb(106 179 48) 0px 0px 10px 9px;
    }

    100% {
        box-shadow: #ef7917 0px 0px 10px 9px;
    }
}
/*Kart ve Kullanıcı Butonları Temel Stili*/
#log {
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    transition: background 0.3s ease, color 0.3s ease;
    color: white;
}

/*Kart Butonu Aktif (Seçili) Durum*/
#reg {
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    transition: background 0.3s ease, color 0.3s ease;
    color: #014b70;
}

.row.g-12 {
    background-image: url('../images/wallpaper/background-login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (orientation: landscape) {
    .row.g-12 {
        background-image: url('../images/wallpaper/background-login.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        min-height: 100vh;
        width: 100%;
    }
}

.footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 1;
    padding: 10px 0;
    pointer-events: none;
}

.dropdown-menu-end.dropdown-menu-right {
    left: 100% !important;
    right: auto !important;
    top: 0 !important;
    min-width: 140px;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 10px;
}

/* Dropdown'un parent'ı relative olmalı */
.icon-link[style*="position: absolute"] {
    position: relative !important;
}

.swiper-slide {
    /* background: rgba(0, 32, 64, 0.35) !important; */
    /* border-radius: 24px; */
    pointer-events: none;
}

.main-box, .form-box, .input-group, .social-icons, .toggle-btn, .submit-btn {
    pointer-events: auto !important;
}

/* Dropdown menüsünün düzgün ve önde açılması için */
.hero,
.main-box,
.form-box {
    z-index: 10000 !important;
}

.icon-link.dropend {
    position: relative !important;
    z-index: 11000 !important;
}

    .icon-link.dropend .dropdown-menu {
        z-index: 12000 !important;
        position: absolute !important;
        left: 0 !important;
        top: 100% !important;
        min-width: 170px !important;
        box-shadow: 0 4px 16px rgba(1,75,112,0.10);
        background: #fff;
        padding: 8px 0;
    }

        .icon-link.dropend .dropdown-menu .dropdown-item {
            color: #014b70 !important;
            background: transparent !important;
            padding: 8px 18px;
            font-size: 1.08rem;
            font-weight: 500;
            transition: background 0.2s, color 0.2s;
        }

            .icon-link.dropend .dropdown-menu .dropdown-item:hover,
            .icon-link.dropend .dropdown-menu .dropdown-item:focus {
                background: #b9d6f2 !important;
                color: #014b70 !important;
            }

    .icon-link.dropend .btn:focus,
    .icon-link.dropend .btn:active,
    .icon-link.dropend .btn:focus-visible {
        outline: none !important;
        box-shadow: none !important;
    }

.dropdown-item .flag-icon {
    margin-right: 8px;
    font-size: 1.2em;
    vertical-align: middle;
}

.flag-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: cover;
}

@media (orientation: landscape) {
    .footer {
        margin-top: 10px;
        left: 90px;
        font-size: 14px;
        padding: 18px 0 8px 0;
        color: #b9d6f2;
        letter-spacing: 2px;
    }
}

.date-top-right {
    position: fixed;
    top: 100px;
    right: 100px;
    color: #b9d6f2;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2000;
    padding: 6px 18px;
    border-radius: 12px;
}

.login-header-info {
    position: static;
    margin: 32px 0 16px 32px;
    padding: 18px 32px 18px 32px;
    background: rgba(1, 75, 112, 0.10);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(1,75,112,0.06);
    max-width: 600px;
}
