﻿@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');


#memberSystemType2 {
    background: #f6f5f7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 80vh;
    z-index: 1;
    position: relative;
}

#memberSystemType2 h1 {
    font-weight: bold !important;
    margin: 0;
}

#memberSystemType2 h2 {
    text-align: center;
}

#memberSystemType2 p {
    font-size: 14px !important;
    font-weight: 100 !important;
    line-height: 20px !important;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

#memberSystemType2 span {
    font-size: 12px;
}

#memberSystemType2 a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

#memberSystemType2 button {
    border-radius: 20px;
    border: 1px solid #111;
    background-color: #333;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}

#memberSystemType2 button:active {
    transform: scale(0.95);
}

#memberSystemType2 button:focus {
    outline: none;
}

#memberSystemType2 button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

#memberSystemType2 form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

#memberSystemType2 input,
#memberSystemType2 select {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

#memberSystemType2 .container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 1000px;
    max-width: 100%;
    min-height: 90%;
}

#memberSystemType2 .form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

#memberSystemType2 .sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

#memberSystemType2 .container.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

#memberSystemType2 .sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

#memberSystemType2 .container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

#memberSystemType2 .overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

#memberSystemType2 .container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

#memberSystemType2 .overlay {
    background: #FF416C;
    background: linear-gradient(to right, #111, #333);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

#memberSystemType2 .container.right-panel-active .overlay {
    transform: translateX(50%);
}

#memberSystemType2 .overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

#memberSystemType2 .overlay-left {
    transform: translateX(-20%);
}

#memberSystemType2 .container.right-panel-active .overlay-left {
    transform: translateX(0);
}

#memberSystemType2 .overlay-right {
    right: 0;
    transform: translateX(0);
}

#memberSystemType2 .container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

#memberSystemType2 .social-container {
    margin: 20px 0;
}

#memberSystemType2 .social-container a {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
}


#memberSystemType2 .overlay-right h1,
#memberSystemType2 .overlay-right p {
    color: #fff !important;
}

#memberSystemType2 .overlay-left h1,
#memberSystemType2 .overlay-left p {
    color: #fff !important;
}

#memberSystemType2 form h1 {
    margin-bottom: 20px;
}

@media(max-width:768px) {
    #memberSystemType2 {
        height: max-content;
    }

    #memberSystemType2 .container {
        padding: 40px 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #memberSystemType2 form {
        padding: 0px 15px;
    }

    #memberSystemType2 .sign-up-container {
        margin-top: 15px;
    }

    #memberSystemType2 .sign-in-container,
    #memberSystemType2 .sign-up-container {
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        height: max-content !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #memberSystemType2 .sign-in-container {
        order: 1;
    }

    #memberSystemType2 .sign-up-container {
        order: 2;
        padding-bottom: 50px !important;
    }

    #memberSystemType2 .overlay-container {
        display: none !important;
    }
}


/* Mevcut form-check yapısını modernleştir */
#yasal-metinler .form-check {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 0 !important;
    margin-bottom: 15px !important;
    transition: all 0.2s ease;
}

/* Orijinal checkbox'ı gizle ama işlevsel bırak */
#yasal-metinler .form-check-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Yeni checkbox kutusu (Sahte element) */
#yasal-metinler .form-check-label {
    position: relative;
    padding-left: 35px;
    /* Kutucuk için boşluk */
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    color: #444;
    user-select: none;
}

/* Kutucuğun dış çerçevesi */
#yasal-metinler .form-check-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Onay işareti (Checkmark) - Gizli hali */
#yasal-metinler .form-check-label::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

/* Checkbox seçildiğinde (Checked) kutu rengi */
#yasal-metinler .form-check-input:checked~.form-check-label::before {
    background-color: #000;
    /* Modern mavi */
    border-color: #000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

/* Checkbox seçildiğinde onay işaretini göster */
#yasal-metinler .form-check-input:checked~.form-check-label::after {
    transform: rotate(45deg) scale(1);
}

/* Üzerine gelince (Hover) kutu parlaması */
#yasal-metinler .form-check:hover .form-check-label::before {
    border-color: #000;
    background-color: #f8fafc;
}

/* Linklerin stili */
#yasal-metinler .form-check-label a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border 0.2s;
}

#yasal-metinler .form-check-label a:hover {
    border-bottom: 1px solid #000;
}