* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: white;
    min-height: 100vh; /* height yerine min-height kullanıldı (mobilde klavye açılınca taşmayı önler) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem; /* Mobilde kenar boşluğu */
}

.container {
    background-color: #F8F9FA;
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%; /* Sabit 450px yerine %100 yapıldı */
    max-width: 450px; /* Maksimum genişlik sınırlandı */
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Hafif gölge eklendi */
}

.logo {
    width: 140px;
    margin-bottom: 2.5rem;
    max-width: 100%;
}

p {
    font-size: 18px;
    color: #212529;
    text-align: left;
    margin-bottom: 2rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 1.2rem;
    width: 100%;
}

/* Şifre alanı ve ikon için kapsayıcı */
.input-container {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    padding-right: 40px; /* İkon metnin üstüne binmesin diye sağdan boşluk */
    background-color: #F1F3F5;
    border: 1px solid #E9ECEF;
    border-radius: 6px;
    font-size: 15px;
    color: #495057;
}

.form-input:focus {
    outline: none;
    border-color: #0E7490;
}

/* Göz İkonu Stilleri */
.eye-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #adb5bd;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3E%3C/svg%3E");
    mask-size: cover;
    -webkit-mask-size: cover;
    cursor: pointer;
    z-index: 10;
}

.checkbox-forgot-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #495057;
}

.checkbox-container input {
    margin-right: 0.5rem;
}

.forgot-password {
    text-align: right;
}

.forgot-password a {
    color: #E83E8C;
    text-decoration: none;
    font-size: 14px;
}

.submit-btn {
    width: 60%;
    padding: 0.9rem;
    background-color: #0E7490;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 auto 1.2rem;
    display: block;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #0c6a83;
}

.register-link {
    text-align: center;
    font-size: 14px;
    color: #495057;
}

.register-link a {
    color: #E83E8C;
    text-decoration: none;
    font-weight: 500;
}

/* MOBİL UYUMLULUK */
@media (max-width: 576px) {
    .container {
        padding: 1.5rem;
    }

    .submit-btn {
        width: 100%; /* Mobilde buton tam genişlik olsun */
    }

    .checkbox-forgot-container {
        flex-direction: column; /* Mobilde alt alta gelsinler */
        gap: 10px;
        align-items: flex-start;
    }

    .forgot-password {
        width: 100%;
        text-align: left;
    }
}
