@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;700;800&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Nunito', sans-serif;
    background-color: #ffffff;
    background-image: url('Upload/wp10349686.jpg'); /* Arka plan resmi */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4b4b4b;
}

body.white-screen {
    background-color: transparent;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo-image {
    width: 250px;
    margin-bottom: 30px; /* Logonun altındaki boşluk */
    object-fit: contain;
}

.login-box {
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçindekileri dikeyde tam merkeze alır */
    align-items: center;     /* İçindekileri yatayda tam merkeze alır */
    padding: 40px 20px;
    background: #ffffff;
    width: 400px;
    height: auto; /* İçeriğe göre uzasın */
    min-height: 400px; /* Minimum kare şekli */
    border-radius: 40px; /* O kareyi radius (yuvarlak) yapma */
    border: 3px solid #e5e5e5; /* Belirgin çerçeve */
    box-shadow: 0 8px 0 #e5e5e5; /* Duolingo tarzı alt gölge */
    box-sizing: border-box;
}

.soft-title {
    font-size: 30px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 24px;
    color: #3c3c3c;
    text-align: center; /* Yazı tam ortada */
    letter-spacing: -0.5px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* Label ve Input'u tam merkeze hizalar */
    width: 100%;
    margin-bottom: 20px;
}

.soft-label {
    font-size: 16px;
    font-weight: 700;
    color: #777777;
    margin-bottom: 8px;
    text-align: center; /* Yazı tam ortada */
}

.duo-input {
    width: 85%; /* Kutunun içinde biraz boşluk bırakır */
    background-color: #f7f9fa;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: #4b4b4b;
    outline: none;
    transition: all 0.2s ease;
    text-align: center; /* Yazılan yazıyı tam ortaya alır */
    box-sizing: border-box;
}

.duo-input::placeholder {
    color: #afafaf;
    font-weight: 500;
    text-align: center; /* Placeholder'ı tam ortaya alır */
}

.duo-input:focus {
    border-color: #1cb0f6;
    background-color: #ffffff;
}

.btn-primary.login-btn {
    margin-top: 10px;
    background-color: #58cc02;
    color: #ffffff;
    border: 2px solid #58cc02;
    padding: 16px;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    border-radius: 16px;
    cursor: pointer;
    width: 85%;
    box-shadow: 0 4px 0 #58a700;
    transition: all 0.1s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    letter-spacing: 0.5px;
    text-align: center; /* Buton yazısını tam ortalar */
}

.btn-primary.login-btn:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #58a700;
}

.btn-primary.login-btn:hover {
    background-color: #61e002;
    border-color: #61e002;
}

.btn-ghost {
    margin-top: 15px;
    background-color: #ffffff;
    color: #1cb0f6;
    border: 2px solid #e5e5e5;
    padding: 16px;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    border-radius: 16px;
    cursor: pointer;
    width: 85%;
    box-shadow: 0 4px 0 #e5e5e5;
    transition: all 0.1s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-ghost:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 transparent;
}

.btn-ghost:hover {
    background-color: #f7f9fa;
}
