body {
    background: white !important;
}

.login-container {
    padding: 0 !important;
    min-height: auto !important;
    font-family: "Poppins", sans-serif;
}

.login-form-general {
    width: 50%;
    height: -webkit-fill-available;
    box-shadow: 6px 0px 7px 0px #0000001A;

    form {
        max-width: 600px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

.login-general-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.login-form-general-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.login-form-promotion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.login-form-image {
    max-width: 170px;
    height: auto;
    position: relative;
    overflow: hidden;

    img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

.login-form-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.login-form-desc {
    font-weight: 500;
    font-size: 16px;
}

.login-form-input-type {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.login-form-input-general {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.i {
    height: 55px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 15px !important;
    border-radius: 7px;
    background: #fff;
    border: 1.2px solid #D3D3D3;
    font-size: 14px;
    color: #505d69;
    font-weight: 400;
}

.l {
    position: absolute;
    top: -13px;
    z-index: 1;
    align-items: center;
    display: flex;
    justify-content: center;
    width: 55px;
    background: #fff;
    left: 25px;
    color: #202020;
    font-size: 16px;
}

#togglePassword {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    right: 19px;
    font-size: 18px;
    color: #9D9595;
    cursor: pointer;
}

.dwt {
    color: #d84315;
    font-size: 12px;
    margin-top: 7px;
    margin-left: 7px;
}


.prl {
    position: relative;

    .i {
        width: 100%;
    }
}

.login-form-input-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    margin-top: 24px;
    width: 100%;
}

.login-form-input-remember {
    display: flex;
    align-items: center;

    input[type="checkbox"] {
        appearance: none;
        width: 16px;
        height: 16px;
        border: 2px solid #ccc;
        border-radius: 4px;
        cursor: pointer;
        position: relative;
        margin-top: 0 !important;

        &:checked {
            background-color: #22c55e;
            border-color: #22c55e;
        }

        &:checked::after {
            content: "✔";
            color: white;
            font-size: 12px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }


    }

    .remember_title {
        color: #000000;
        font-size: 16px;
        font-weight: 400;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 5px;
        line-height: 1;
        margin-bottom: 0 !important;
        transition: .4s all ease;
        cursor:pointer;

        &:hover {
            color: #ed1d25 !important;
            transition: .4s all ease;
        }
    }
}

.np {
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 500;
    color: #161616 !important;
    line-height: 1;
    transition: .4s all ease;

    &:hover {
        color: #ed1d25 !important;
        transition: .4s all ease;
    }
}

.login-form-button {
    background-color: #161616 !important;
    border-color: #161616 !important;
    border: 2px solid;
    font-size: 16px;
    padding: 8px 20px;
    width: 100%;
    border-radius: 6px;
    box-shadow: none !important;
    display: flex;
    transition: all 0.3s ease;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    line-height: 27px;
    color: #fff;

    &:hover {
        background: white !important;
        border-color: #161616;
        color: #161616 !important;
        transition: all 0.3s ease;
    }
}

.login-form-promotion-general {
    width: 50%;
    padding-left: 47px;
    position: relative;
    overflow: hidden;
}

.login-favico {
    position: absolute;
    background: white;
    padding: 10px;
    box-shadow: 6px 0px 7px 0px #0000001A;
    border-radius: 50%;
    z-index: 99;

    .fvia {
        border-radius: 50%;
        width: 56px;
    }
}

.login-swiper-image {
    width: auto !important;
    height: 100%;
    max-height: 220px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.login-swiper-general {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.login-swiper-title {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 400;
    text-align: center;
    max-width: 715px;
    margin: 0 auto;
    color: #7D8E9F;
}

.swiper-pagination{
    margin-top: 15px !important;
}

.login-swiper-image {
    img {
        width: auto !important;
        height: 100%;
        max-height: 220px;
        margin-bottom: 1rem;
    }
}

.login-form-display {
    max-width: 620px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shine:before {
    position: absolute;
    top: 0;
    left: -90%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.shine:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}

.login-bilgi {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 1.2vw, 20px);
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 0px;
    color: #161616 !important;
}

.font-weight-light {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1.2vw, 17px);
    font-weight: 400;
    margin-bottom: 20px;
    padding: 0;
    color: #000000 !important;
}

.finans-baslik {
    color: #161616 !important;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.swiper-pagination-bullet {
    background: #bbb !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    width: 25px !important;
    height: 10px !important;
    border-radius: 10px !important;
    background: #161616 !important;
    opacity: 1;
}

.swiper-pagination{
    position: relative !important;
}

@-webkit-keyframes shine {
    100% {
        left: 125%
    }
}

@keyframes shine {
    100% {
        left: 125%
    }
}

/* =============================================================================
   MOBİL DÜZELTMELERİ (eklendi)
   ============================================================================= */

/* KÖK SEBEP: admin temasının genel CSS'i (.page-container / .page-content)
   login sayfasının wrapper'ına "table" / "table-row" display veriyor.
   Table layout içeriğe göre otomatik genişliyor; sağdaki Swiper carousel her
   autoplay geçişinde biraz genişlik hesaplıyor, tablo bu genişliğe göre
   büyüyor, Swiper bir sonraki döngüde daha da büyük genişlik hesaplıyor —
   sonsuz döngü. Canlı sitede test edildi: birkaç saniyede sayfa genişliği
   20.000px'i, sonra 30.000px'i geçiyordu. Mobil tarayıcı bu devasa genişliğe
   sığdırmak için tüm sayfayı zoom-out ediyor, her şey küçülüp dağılıyor. */
.page-container.login-container {
    display: block !important;
    width: 100% !important;
}

.page-container.login-container .page-content {
    display: block !important;
    width: 100% !important;
}

/* İki sütunlu (%50 form + %50 tanıtım) düzen mobilde alt alta yığılsın */
@media (max-width: 992px) {
    .login-general-content {
        flex-direction: column;
        min-height: auto;
        padding: 30px 0;
    }

    .login-form-general {
        width: 100%;
        height: auto;
        box-shadow: none;
        padding: 0 20px;
    }

    .login-form-general form {
        max-width: 100%;
    }

    .login-form-promotion-general {
        width: 100%;
        padding-left: 0;
        margin-top: 40px;
        padding: 0 20px;
    }

    .login-form-display {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .login-form-general {
        padding: 0 16px;
    }

    .login-form-image {
        max-width: 130px;
    }

    .i {
        height: 48px;
    }

    .login-form-button {
        font-size: 15px;
        padding: 10px 16px;
    }

    .login-swiper-image,
    .login-swiper-image img {
        max-height: 160px;
    }

    .login-favico {
        display: none;
    }
}
