.alert {
    margin-top: 20px;
  }

/* Modal stil ayarları */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Arkaplan biraz daha koyu */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px; /* Daha küçük yuvarlak köşeler */
    padding: 15px 25px;  /* Daha küçük iç boşluk */
    width: 100%;
    max-width: 350px; /* Daha dar modal */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.close {
    color: #555;
    position: absolute;
    right: 10px; /* Sağdan daha az boşluk */
    top: 10px;   /* Yukarıdan daha az boşluk */
    font-size: 20px; /* Küçültülmüş çarpı işareti */
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff6b6b;
}

.auth-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px; /* Daha az alt boşluk */
}

.auth-buttons button {
    width: 45%;
    padding: 10px; /* Daha küçük butonlar */
    border-radius: 20px; /* Daha küçük köşeler */
    border: none;
    cursor: pointer;
    font-size: 14px; /* Daha küçük yazı */
    font-weight: 600;
    transition: all 0.3s ease;
}

#loginBtn {
    background-color: #1abc9c;
    color: white;
}

#signupBtn {
    background-color: #3498db;
    color: white;
}

.auth-buttons button:hover {
    background-color: #16a085;
    transform: translateY(-1px); /* Yumuşak yukarı kalkma efekti */
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    text-align: center;
    margin-bottom: 15px; /* Daha küçük boşluk */
    color: #2c3e50;
    font-weight: 700;
    font-size: 18px; /* Daha küçük başlık */
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 10px; /* Daha az padding */
    margin-bottom: 10px; /* Daha az boşluk */
    border: 1px solid #ccc;
    border-radius: 8px; /* Daha küçük köşeler */
    font-size: 14px; /* Daha küçük yazı */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
    outline: none;
}

.auth-form button {
    width: 100%;
    padding: 10px; /* Daha küçük butonlar */
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 20px; /* Daha küçük köşeler */
    cursor: pointer;
    font-size: 14px; /* Daha küçük yazı */
    transition: all 0.3s ease;
}

#authModal {
    display: none; /* Ensure modal is hidden initially */
  }
.auth-form button:hover {
    background-color: #2980b9;
    transform: translateY(-1px); /* Daha hafif yukarı kalkma efekti */
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(15px); /* Daha kısa kayma efekti */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil uyumlu ayarlar */
@media (max-width: 768px) {
    .close {
        right: 10px; 
        top: -5px;
    }
    .modal-content {
        padding: 15px;
        max-width: 85%; /* Daha dar mobil ekranlar için */
    }

    .auth-buttons {
        flex-direction: column;
    }

    .auth-buttons button {
        width: 100%;
        margin-bottom: 10px; /* Düğmeler arasına daha az boşluk */
    }

    .auth-form input, .auth-form select {
        padding: 8px;
        font-size: 12px; /* Daha küçük yazı boyutu */
    }

    .auth-form button {
        padding: 8px;
    }
}





/* Onay kutusu ve yazıyı yan yana hizalamak için */
.terms-container {
    display: flex;
    align-items: center;
    gap: 8px; /* Checkbox ve yazı arasındaki boşluk */
  }
  
  .terms-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0; /* Checkbox için margin sıfırlama */
  }
  
  .terms-container label {
    margin: 0;
    font-size: 12px;
  }
  
  .terms-container a {
    color: #007bff; /* Link rengi */
    text-decoration: none;
  }
  
  .terms-container a:hover {
    text-decoration: underline;
  }
  



  /* Gizlilik ve kullanım sözleşmesi bağlantısı için özel stil */
.terms-container label a {
    color: #222020; /* Siyah renk */
    text-decoration: none; /* Alt çizgi kaldırıldı */
}

.terms-container label a:hover {
    text-decoration: underline; /* Üzerine gelindiğinde alt çizgi eklenir */
}



/* Şifremi Unuttum linkinin rengi ve alt çizgisini kaldırma */
#loginForm div a {
    color: #3498db; /* Rengi değiştirme */
    text-decoration: none; /* Alt çizgiyi kaldırma */
}

/* Hover durumunda renk değişikliği (isteğe bağlı) */
#loginForm div a:hover {
    color: #2980b9; /* Hover durumunda farklı renk */
}
