@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #F7F8FA;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    width: 100%;
    max-width: 450px;
}

.form-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-align: center;
}

.form-header p {
    font-size: 1rem;
    color: #8A92A6;
    margin-bottom: 30px;
    text-align: center;
}

.social-login {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #EAEBEE;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all .2s ease;
}

.social-btn:hover {
    border-color: #ccc;
    background-color: #f9f9f9;
}

.social-btn i,
.social-btn img {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-btn img {
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #AAA;
    margin: 30px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #EAEBEE;
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #EAEBEE;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #6D5BD0;
    box-shadow: 0 0 0 3px rgba(109, 91, 208, .2);
}

/* DÜZELTİLMİŞ BÖLÜM */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -10px 0 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: #555;
    cursor: pointer;
}

.remember-me input {
    width: auto;
}

.forgot-password {
    font-size: .9rem;
    color: #6D5BD0;
    text-decoration: none;
}
/* DÜZELTİLMİŞ BÖLÜM SONU */

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #6D5BD0;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color .2s ease;
}

.submit-btn:hover {
    background-color: #5a4baf;
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    color: #8A92A6;
}

.form-footer a {
    color: #6D5BD0;
    text-decoration: none;
    font-weight: 600;
}

.hata {
    color: red;
    margin-bottom: 15px;
    text-align: center;
    background-color: rgba(229, 57, 53, 0.1);
    padding: 10px;
    border-radius: 8px;
}

.mesaj {
    color: green;
    margin-bottom: 15px;
    text-align: center;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-radius: 8px;
}