.top-bar {
    width: 100%; /* Sağdan sola tam genişlik */
    height: 80px; /* Yükseklik 20px */
    background-color: #121e2d; /* Açık siyah renk */
    position: fixed; /* Sayfanın üstünde sabit */
    top: 0; /* Sayfanın en üstünde konumlanır */
    left: 0; /* Soldan başlar */
    z-index: 1000; /* Diğer elemanların üzerinde durması için */
}

.image-box {
    position: relative;
    top: 5px;
    left: 25px;
    width: 70px; /* Genişlik */
    height: 70px; /* Yükseklik */
    background-color: #fff; /* Beyaz arka plan */
    border-radius: 30%; /* Kenarları yuvarlatmak için yüzde kullanıyoruz */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Hafif bir gölge ekleyerek belirginleştiriyoruz */
    display: flex; /* Flexbox etkinleştir */
    justify-content: center; /* Yatay ortalama */
    align-items: center; /* Dikey ortalama */
}

@font-face {
    font-family: "Parkinsans";
    src: url("fonts/static/Parkinsans-SemiBold.ttf") format("truetype");
    font-weight: 400;
    font-style: bold;
}

@font-face {
    font-family: "RobotoSlab";
    src: url("fonts/Roboto_Slab/static/RobotoSlab-SemiBold.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: "Calistoga";
    src: url("fonts/Calistoga/Calistoga-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

.image-box .imageLogo {

    width: 60px;
    height: auto;
}

.login-container {
    margin-top: 80px; /* .top-bar'ın yüksekliğini dikkate al */
    display: flex; /* Flexbox etkinleştir */
    flex-direction: column; /* Elemanları dikey olarak hizala */
    align-items: center; /* Yatayda ortala */
    height: calc(100vh - 80px); /* Geri kalan yüksekliği ayarla */
    margin: 0;
    background-color: #ffffff !important; /* Arka plan rengi */
}

.login-container h2 {
    text-align: center; /* Yazıyı kendi içinde ortala */
    margin: 0; /* Varsayılan marginleri sıfırla */
    margin-top: 120px;
    font-family: "Calistoga"; 
    font-size: 30px;
   
    color: #333; /* Metin rengi */
}

form {
    width: 100%; /* Form genişliği */
    max-width: 250px; /* Formun maksimum genişliği */
    padding: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

label {
    font-family: "RobotoSlab";
    font-size: 16px; /* Yazı boyutu */
    margin-bottom: 5px; /* Label ile input arası boşluk */
    font-weight: bold;
}

input {
    font-family: "RobotoSlab";
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px; /* Köşeleri yuvarlat */
    width: 100%;
    box-sizing: border-box; /* Kenar ve dolgu dahil genişlik ayarı */
}

button.login-button {
    font-family: "RobotoSlab";
    width: 100%;
    padding: 10px 15px;
    font-size: 18px;
    color: #fff;
    background-color: #4CAF50; /* Buton rengi */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.login-button:hover {
    background-color: #0d1623; /* Hover rengi */
}

.error-message {
    margin-top: 15px; /* Formdan boşluk bırak */
    color: red; /* Kırmızı renk */
    font-size: 15px; /* Küçük bir yazı boyutu */
    font-family: "RobotoSlab";
    text-align: center; /* Ortalanmış */
}


.text-box {
    position: absolute;
    top: 25px;
    left: 120px;
    font-size: 20px; /* Yazı boyutu */
    color: #fff; /* Yazı rengi */
    text-align: center; /* Ortalanmış yazı */
    line-height: 1.5; /* Satır yüksekliği */
    font-family: "Parkinsans";
    font-optical-sizing: auto;   
}

/* Şifremi unuttum bağlantısı */
.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-family: "RobotoSlab";
}

.forgot-password a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* Modal stilleri */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    width: 90%;
    max-width: 400px;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* İçerikleri yatayda ortala */
    width: 100%;
}

.modal form {
    width: 100%;
    max-width: 300px; /* Form genişliğini sınırla */
    margin: 0 auto; /* Formu ortala */
    padding: 0; /* Padding'i sıfırla */
}

.modal .form-group {
    width: 100%;
    margin-bottom: 20px;
}

.modal input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "RobotoSlab";
    font-size: 14px;
    box-sizing: border-box;
}

.modal .button-group {
    width: 100%;
    display: flex;
    justify-content: center; /* Butonu ortala */
    margin-top: 20px;
}

.modal .reset-button {
    min-width: 120px; /* Buton minimum genişliği */
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: "RobotoSlab";
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close {
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

#modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-family: "RobotoSlab";
    font-size: 20px;
    text-align: center;
}

.modal p {
    color: #666;
    margin-bottom: 20px;
    font-family: "RobotoSlab";
    font-size: 14px;
    text-align: center;
}

.message-box {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-family: "RobotoSlab";
    font-size: 14px;
    text-align: center;
}

.message-box.error {
    background-color: #fde7e7;
    color: #d32f2f;
    border: 1px solid #ffa4a4;
}

.message-box.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Disabled buton stili */
.modal .reset-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}