/* ------------------ GLOBAL AYARLAR ------------------ */
.login-page-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ana Arka Plan Rengi - İlk tasarımdaki body rengi */
    background: #140342;
    font-family: 'Abel', -apple-system, BlinkMacSystemFont, "San Francisco", Helvetica, Arial, sans-serif;
}

/* ------------------ KART YAPISI ------------------ */
.session {
    display: flex;
    flex-direction: row;
    width: 800px;
    height: 500px;
    margin: auto;
    /* Kart Arka Planı - İlk tasarımdaki form rengi */
    background: #1b0558;
    border-radius: 10px; /* Biraz daha yuvarlak köşeler */
    /* İlk tasarımdaki gölge efekti */
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

/* --- SOL TARA (CAROUSEL) --- */
.left {
    width: 350px;
    height: 100%;
    position: relative;
    background-color: #000; /* Resim yoksa siyah */
}

    .left .carousel,
    .left .carousel-inner,
    .left .carousel-item {
        height: 100%;
        width: 100%;
    }

/* --- SAĞ TARA (FORM) --- */
form.log-in {
    padding: 40px 40px;
    /* Form içi arka plan da kartla aynı */
    background: #1b0558;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
    flex: 1;
}

/* --- LOGO & BAŞLIKLAR --- */
.logo-area {
    margin-bottom: 20px;
}

    .logo-area h4 {
        font-size: 24px;
        font-weight: 600;
        color: #fff; /* Başlık beyaz */
        opacity: 1;
        margin: 0;
    }

        .logo-area h4 span {
            color: #e4002b; /* Vurgu Kırmızı */
            font-weight: 700;
        }

form.log-in p {
    line-height: 155%;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ddd; /* Açıklama metni açık gri */
    font-weight: 400;
    max-width: 100%;
}

/* --- INPUTS & FLOATING LABELS (KOYU TEMA UYARLAMA) --- */
.floating-label {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

    .floating-label label {
        position: absolute;
        top: calc(50% - 7px);
        left: 0;
        opacity: 0;
        transition: all .3s ease;
        padding-left: 44px;
        font-size: 12.5px;
        color: #ccc; /* Label rengi gri */
        font-weight: 400;
        pointer-events: none;
    }

    .floating-label .icon svg path {
        fill: #fff;
    }


    .floating-label input {
        font-size: 16px;
        padding: 20px 0px;
        height: 56px;
        border: none;
        /* Alt çizgi rengi şeffaf beyaz */
        border-bottom: solid 1px rgba(255,255,255,0.2);
        /* Input içi şeffaf olsun ki koyu zemin gözüksün */
        background: transparent;
        width: calc(100% - 44px);
        margin-left: auto;
        display: flex;
        box-sizing: border-box;
        transition: all .3s linear;
        color: #fff; /* Yazı rengi BEYAZ */
        font-weight: 400;
        -webkit-appearance: none;
    }

        /* Inputa tıklanınca */
        .floating-label input:focus {
            border-bottom: solid 1px #e4002b; /* Odaklanınca kırmızı çizgi */
            outline: 0;
            box-shadow: 0 2px 6px -8px rgba(228, 0, 43, .45);
        }

        /* Tarayıcı Otomatik Doldurma (Autofill) Rengi Düzeltmesi */
        /* Chrome/Edge otomatik doldurmada arka planı beyaz yapar, bunu engelliyoruz */
        .floating-label input:-webkit-autofill,
        .floating-label input:-webkit-autofill:hover,
        .floating-label input:-webkit-autofill:focus,
        .floating-label input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px #1b0558 inset !important;
            -webkit-text-fill-color: white !important;
        }

    /* İkon Alanı */
    .floating-label .icon {
        position: absolute;
        top: 0;
        left: 0;
        height: 56px;
        width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        /* İkonların varsayılan hali (Soluk Beyaz) */
        .floating-label .icon svg {
            height: 30px;
            width: 30px;
            opacity: .8; /* Biraz daha görünür yaptım */
            transition: all .3s ease;
        }

            .floating-label .icon svg path,
            .floating-label .icon svg rect,
            .floating-label .icon svg g {
                /*fill: #fff;*/ /* İkon içi beyaz */
            }

    /* Animasyon Mantığı */
    .floating-label input:not(:placeholder-shown) {
        padding: 28px 0px 12px 0px;
    }

        .floating-label input:not(:placeholder-shown) + label {
            transform: translateY(-12px);
            opacity: .7;
            color: #fff; /* Yukarı çıkan label beyaz olsun */
        }

    .floating-label input:valid:not(:placeholder-shown) + label + .icon svg {
        opacity: 1;
    }

        /* Geçerli veri girildiğinde ikon kırmızı olsun */
        .floating-label input:valid:not(:placeholder-shown) + label + .icon svg path,
        .floating-label input:valid:not(:placeholder-shown) + label + .icon svg g path {
            fill: #e4002b;
        }

    /* Geçersiz sarsılma efekti */
    .floating-label input:not(:valid):not(:focus) + label + .icon {
        animation-name: shake-shake;
        animation-duration: .3s;
    }

@keyframes shake-shake {
    0% {
        transform: translateX(-3px);
    }

    20% {
        transform: translateX(3px);
    }

    40% {
        transform: translateX(-3px);
    }

    60% {
        transform: translateX(3px);
    }

    80% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0px);
    }
}

/* --- BUTTON --- */
form.log-in button {
    -webkit-appearance: none;
    width: 100%; /* Butonu tam genişlik yaptım, istersen auto yapabilirsin */
    max-width: 100%;
    border-radius: 24px;
    text-align: center;
    padding: 15px 40px;
    margin-top: 25px;
    background-color: #e4002b; /* Kırmızı Buton */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 2px 6px -1px rgba(0,0,0,.3);
    border: none;
    transition: all .3s ease;
    outline: 0;
    cursor: pointer;
}

    form.log-in button:hover {
        transform: translateY(-3px);
        background-color: #ff143e; /* Hoverda açık kırmızı */
    }

/* --- FOOTER LINK --- */
.footer-link {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

    .footer-link p {
        font-size: 11px !important;
        margin: 0;
        color: #aaa;
    }

    .footer-link a {
        color: #e4002b;
        text-decoration: none;
        font-weight: bold;
    }

/* --- RESPONSIVE (MOBİL) --- */
@media (max-width: 768px) {
    .session {
        flex-direction: column;
        width: 90%;
        height: auto;
        margin-top: 50px;
    }

    .left {
        display: none; /* Mobilde görseli gizle */
    }

    form.log-in {
        width: 100%;
        padding: 30px;
        background: #1b0558;
        border-radius: 10px;
    }
}



/*------------------ ARKA PLAN İKON ANİMASYONU ------------------ */
.bg-fa-icons {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.fa-icon {
    position: absolute;
    font-size: 115px;
    opacity: 0.08;
    animation: float 12s infinite ease-in-out alternate;
    color: #fff;
    Koyu zeminde beyaz ikon
}

.icon1 {
    top: 15%;
    left: 8%;
    animation-duration: 6s;
}

.icon2 {
    top: 23%;
    left: 75%;
    animation-duration: 7s;
}

.icon3 {
    top: 70%;
    left: 15%;
    animation-duration: 8s;
}

.icon5 {
    top: 85%;
    left: 45%;
    animation-duration: 10s;
}

.icon6 {
    top: 65%;
    left: 80%;
    font-size: 130px;
    animation-duration: 11s;
}

@keyframes float {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-25px) rotate(8deg);
    }
}



/* Container Reset ve Temel Ayarlar */
/*.login-page-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f2f2;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", Helvetica, Arial, sans-serif;
}

.session {
    display: flex;
    flex-direction: row;
    width: 800px;*/ /* Genişliği artırdım ki Carousel daha net görünsün */
/*height: 500px;*/ /* Yüksekliği sabitledim */
/*margin: auto;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0px 2px 6px -1px rgba(0,0,0,.12);
    overflow: hidden;*/ /* Taşmaları engellemek için */
/*}*/

/* --- SOL TARA (CAROUSEL) --- */
/*.left {
    width: 350px;*/ /* Carousel için daha geniş alan */
/*height: 100%;
    position: relative;
    background-color: #e9e9e9;*/ /* Resim yüklenmezse arka plan */
/*}*/

/* Carousel'in alanı tam kaplaması için */
/*.left .carousel,
    .left .carousel-inner,
    .left .carousel-item {
        height: 100%;
        width: 100%;
    }*/

/* --- SAĞ TARA (FORM) --- */
/*form.log-in {
    padding: 40px 40px;
    background: #fefefe;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
    flex: 1;*/ /* Kalan alanı doldur */
/*}

.logo-area {
    margin-bottom: 20px;
}

    .logo-area h4 {
        font-size: 24px;
        font-weight: 600;
        color: #000;
        opacity: .85;
        margin: 0;
    }

        .logo-area h4 span {
            color: #e4002b;*/ /* İlk tasarımdaki kırmızı rengi koruduk */
/*font-weight: 700;
        }

form.log-in p {
    line-height: 155%;
    margin-bottom: 20px;
    font-size: 14px;
    color: #000;
    opacity: .65;
    font-weight: 400;
    max-width: 100%;
}*/

/* --- INPUTS & FLOATING LABELS --- */
/*.floating-label {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

    .floating-label label {
        position: absolute;
        top: calc(50% - 7px);
        left: 0;
        opacity: 0;
        transition: all .3s ease;
        padding-left: 44px;
        font-size: 12.5px;
        color: #000;
        font-weight: 400;
        pointer-events: none;*/ /* Tıklamayı engelle, inputa geçsin */
/*}

    .floating-label input {
        font-size: 16px;
        padding: 20px 0px;
        height: 56px;
        border: none;
        border-bottom: solid 1px rgba(0,0,0,.1);
        background: #fff;
        width: calc(100% - 44px);
        margin-left: auto;
        display: flex;
        box-sizing: border-box;
        transition: all .3s linear;
        color: #000;
        font-weight: 400;
        -webkit-appearance: none;
    }

        .floating-label input:focus {
            border-bottom: solid 1px #e4002b;*/ /* Odak rengi kırmızı */
/*outline: 0;
            box-shadow: 0 2px 6px -8px rgba(182, 157, 230, .45);
        }

    .floating-label .icon {
        position: absolute;
        top: 0;
        left: 0;
        height: 56px;
        width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .floating-label .icon svg {
            height: 30px;
            width: 30px;
            opacity: .15;
            transition: all .3s ease;
        }

            .floating-label .icon svg path {
                transition: all .3s ease;
            }*/

/* Floating Animation Logic */
/*.floating-label input:not(:placeholder-shown) {
        padding: 28px 0px 12px 0px;
    }

        .floating-label input:not(:placeholder-shown) + label {
            transform: translateY(-12px);
            opacity: .7;
        }

    .floating-label input:valid:not(:placeholder-shown) + label + .icon svg {
        opacity: 1;
    }

        .floating-label input:valid:not(:placeholder-shown) + label + .icon svg path {
            fill: #e4002b;*/ /* İkon aktif rengi */
/*}*/

/* Shake Animation for Invalid */
/*.floating-label input:not(:valid):not(:focus) + label + .icon {
        animation-name: shake-shake;
        animation-duration: .3s;
    }

@keyframes shake-shake {
    0% {
        transform: translateX(-3px);
    }

    20% {
        transform: translateX(3px);
    }

    40% {
        transform: translateX(-3px);
    }

    60% {
        transform: translateX(3px);
    }

    80% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0px);
    }
}*/

/* --- BUTTON --- */
/*form.log-in button {
    -webkit-appearance: none;
    width: auto;
    min-width: 120px;
    border-radius: 24px;
    text-align: center;
    padding: 15px 40px;
    margin-top: 15px;
    background-color: #e4002b;*/ /* Buton Rengi */
/*color: #fff;
    font-size: 14px;
    margin-left: auto;*/ /* Sağa yaslar */
/*font-weight: 500;
    box-shadow: 0px 2px 6px -1px rgba(0,0,0,.13);
    border: none;
    transition: all .3s ease;
    outline: 0;
    cursor: pointer;
}

    form.log-in button:hover {
        transform: translateY(-3px);
        background-color: #ff143e;
        box-shadow: 0 2px 6px -1px rgba(228, 0, 43, .65);
    }

    form.log-in button:active {
        transform: scale(.99);
    }*/

/* --- FOOTER LINK --- */
/*.footer-link {
    margin-top: auto;*/ /* En alta iter */
/*width: 100%;
    text-align: center;
    padding-top: 20px;
}

    .footer-link p {
        font-size: 11px !important;
        margin: 0;
    }

    .footer-link a {
        color: #e4002b;
        text-decoration: none;
        font-weight: bold;
    }*/

/* --- RESPONSIVE (MOBİL) --- */
/*@media (max-width: 768px) {*/
/* Ana kapsayıcı ayarları */
/*.session {
        flex-direction: column;
        width: 90%;*/ /* Mobilde genişlik */
/*height: auto;
        margin-top: 50px;*/ /* Üstten biraz boşluk */
/*}*/

/* Sol tarafı (Carousel) tamamen gizle */
/*.left {
        display: none;
    }*/

/* Formun köşelerini ve genişliğini ayarla */
/*form.log-in {
        width: 100%;
        padding: 30px;*/
/* Carousel gidince sol köşeler dik kalmasın diye kapsayıcıdan gelen border-radius işler ama garanti olsun: */
/*border-radius: 4px;
    }
}*/







/* ------------------ GLOBAL ------------------ */
/** {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #140342;*/ /* Koyu ana renk */
/*background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Abel', sans-serif;
    color: #fff;
    min-height: 100vh;
}*/

/* ----------------- FORM TASARIMI ----------------- */
/*.overlay form {
    width: 380px;*/ /* KÜÇÜLTÜLDÜ */
/*min-height: 430px;*/ /* KÜÇÜLTÜLDÜ */
/*border-radius: 10px;
    margin: 6% auto;*/ /* ÜST-ALT BOŞLUK ARTTI */
/*padding: 35px 30px;*/
/* YENİ RENKLER */
/*background: #1b0558;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.45);
}

form .con {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

header {
    margin: 0 auto 8% auto;
    text-align: center;
    color: #fff;
}

    header h2 {
        font-size: 32px;
        color: #fff;
    }

    header p {
        color: #ddd;
    }*/



/* ------------------ INPUT ------------------ */
/* Her satır için container */
/*.input-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 350px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 2px solid transparent;
}

    .input-row:focus-within {
        border-color: #e4002b;*/ /* kırmızı odak */
/*}*/

/* Sol ikonu */
/*.input-icon {
    background: #fff;
    color: #140342;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

/* Göz ikonu */
/*.eye-icon {
    background: #fff;
    color: #140342;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}*/

/* Ortadaki input */
/*.form-input {
    flex: 1;
    height: 46px;
    border: none;
    padding: 0 12px;
    outline: none;
    font-size: 15px;
    color: #140342;
}

    .form-input::placeholder {
        color: #aaa;
    }*/


/* ------------------ BUTTON ------------------ */
/*button.log-in {
    width: 100%;
    height: 50px;
    background: #e4002b;*/ /* Kırmızı renk */
/*color: white;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.2s;
}

    button.log-in:hover {
        background: #ff143e;
        transform: translateY(3px);
    }*/

/* Alt butonlar */
/*.submits {
    width: 48%;
    padding: 10px;
    margin-top: 10px;
    background: #fff;
    color: #140342;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

    .submits:hover {
        transform: translateY(2px);
    }*/

/* ------------------ ARKA PLAN İKON ANİMASYONU ------------------ */
/*.bg-fa-icons {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.fa-icon {
    position: absolute;
    font-size: 115px;
    opacity: 0.08;
    animation: float 12s infinite ease-in-out alternate;
    color: #fff;*/ /* Koyu zeminde beyaz ikon */
/*}

.icon1 {
    top: 15%;
    left: 8%;
    animation-duration: 6s;
}

.icon2 {
    top: 23%;
    left: 75%;
    animation-duration: 7s;
}

.icon3 {
    top: 70%;
    left: 15%;
    animation-duration: 8s;
}

.icon5 {
    top: 85%;
    left: 45%;
    animation-duration: 10s;
}

.icon6 {
    top: 65%;
    left: 80%;
    font-size: 130px;
    animation-duration: 11s;
}

@keyframes float {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-25px) rotate(8deg);
    }
}*/

/* ------------------ MOBİL SORUN DÜZELTİLDİ ------------------ */
/*@media (max-width: 768px) {

    body {
        min-height: auto;
        height: auto;
        overflow-y: auto !important;*/ /* Kayma sorunu fix */
/*}

    .login-wrapper {
        min-height: auto !important;
        height: auto !important;
        padding: 40px 0;
    }

    .overlay form {
        width: 90%;
        margin-top: 40px;
        margin-bottom: 60px;
    }
}*/
