/* Genel stil ve font */
body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container */
.container {
    display: flex;
    width: 1100px;
    height: 850px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    overflow-y: auto;
    background: #fff;
    margin: auto;
}

.left-panel {
    flex: 0 0 280px;
    background: linear-gradient(135deg, #25aae1, #0077b6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    color: #fff;
    text-align: center;
    position: relative;
}
.left-panel img {
    width: 150px;
    margin-bottom: 25px;
    
    /* YENİ EKLENEN SATIR */
    animation: logoFadeIn 0.5s ease-out 0.1s both;
}
.left-panel h1 { font-size: 24px; font-weight: 600; animation: logoFadeIn 0.5s ease-out 0.1s both; }
.left-panel h1 a {
  text-decoration: none;
  color: inherit;
}
.footer-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    white-space: nowrap;
}

.form-card {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}
.header { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.header h1 { font-size: 24px; font-weight: 600; color: #0a1f44; }

/* Bilgilendirme ve Mesaj Kutuları */
.password-requirements {
    background: #e6f7fc;
    border-left: 4px solid #25aae1;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-top: 90px;
}
.password-requirements ul { list-style: none; padding: 0; margin: 0; font-size: 13px; color: #082c3e; }
.message {
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 15px;
    display: none;
}
.message:not(:empty) {
    display: block;
}
.message.error { background: #f8d7da; color: #721c24; }
.message.success { background: #d4edda; color: #155724; }
.hidden { display: none; }
.error-message { color: #dc2626; font-size: 12px; margin-top: 4px; display: none; }

/* Form Elemanları ve Kayan Etiket Stilleri */
.form-group {
    margin-bottom: 25px;
    position: relative;
}
.form-group > label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.input-wrapper { position: relative; display: flex; align-items: center; }

.input-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 40px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s;
}
.input-wrapper input:focus {
    outline: none;
    border-color: #25aae1;
    box-shadow: 0 0 0 3px rgba(37, 170, 225, 0.15);
}
.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 2;
}
.input-wrapper label {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #6c757d;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    background: #fff;
}

/********** İŞTE DÜZELTME BURADA **********/
.input-wrapper label {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #6c757d;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    background: #fff; /* Input ile aynı arka plan */
}

/* Odaklanınca veya İçi Dolu Olduğunda */
.input-wrapper input:focus ~ label,
.input-wrapper input:not(:placeholder-shown) ~ label {
    top: 0;
    left: 35px;
    font-size: 12px;
    color: #25aae1;
    padding: 0 4px;
}

/* Odaklanınca ikon rengini değiştir */
.input-wrapper:focus-within .input-icon {
    color: #25aae1;
}
.domain-suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 14px;
}

/* Güvenlik Kodu (Captcha) */
.captcha-wrapper { display: flex; align-items: center; gap: 10px; }
.captcha-display { font-weight: bold; background: #eee; padding: 10px 15px; border-radius: 8px; user-select: none; }
.captcha-input input { border-radius: 8px; border: 1px solid #eee; padding: 10px; width: 100%; }
.captcha-input input:focus {
    outline: none; /* Tarayıcının varsayılan odaklanma çerçevesini kaldırır */
    border-color: #25aae1; /* Dış çizgi rengini mavi yapar */
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); /* Dışına mavi bir parlama ekler */
}

/* Submit buton */
.submit-btn {
    width: 100%;
    background: #0077b6;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.submit-btn:hover { background: #25aae1; }

/* Footer */
.footer-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    white-space: nowrap;
}
/* =================================== */
/* == YENİ EKLENEN YARDIM İKONU CSS == */
/* =================================== */

.help-container {
    position: fixed; /* Sayfanın sağ altına sabitler */
    bottom: -395px;  /* 25px'ten 20px'e düşürüldü (daha aşağıda) */
    right: 110px;   /* 25px'ten 30px'e yükseltildi (daha solda) */
    z-index: 1000; /* Diğer elementlerin üstünde kalır */
    
    /* Tooltip'in kendini buna göre konumlandırması için GEREKLİ */
    position: relative;
}

.help-icon {
    width: 45px;
    height: 45px;
    background-color: #0077b6; /* Sayfanızdaki mavi tonuyla uyumlu */
    color: #ffffff;
    border-radius: 50%; /* Daire yapar */
    
    /* Soru işaretini ortalar */
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

/* Mouse ile ikonun üzerine gelince rengi değişsin */
.help-icon:hover {
    background-color: #25aae1; /* Sayfanızdaki açık mavi */
}

/* Üzerine gelince çıkan İletişim Baloncuğu (Tooltip) */
.help-container .tooltip-text {
    /* Başlangıçta görünmez yap */
    visibility: hidden;
    opacity: 0;

    width: 220px; /* İletişim yazısının genişliği */
    background-color: #333; /* Koyu arkaplan */
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    
    /* Mutlak konumlandırma (ana .help-container'a göre) */
    position: absolute;
    z-index: 1;
    
    /* İkonun tam üstünde görünmesini sağlar */
    bottom: 120%; /* İkonun yüksekliğinden biraz daha yukarıda */
    left: 50%;
    
    /* Genişliğin yarısı kadar sola kaydırarak tam ortala */
    transform: translateX(-50%); 

    /* Geçiş efekti */
    transition: opacity 0.3s ease;
}

/* Mouse ile .help-container üzerine gelince... */
/* ...içindeki .tooltip-text'i görünür yap. */
.help-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
/* ----- BAŞLANGIÇ: Logo Animasyonu ----- */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px); /* 10px aşağıdan başla */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Normal pozisyonuna gel */
    }
}
/* ----- BİTİŞ: Logo Animasyonu ----- */
@media(max-width: 900px) {
    .container { flex-direction: column; height: auto; }
    .left-panel, .form-card { flex: none; width: 100%; box-sizing: border-box; }
    .form-card { padding: 30px 20px; }
    .left-panel { padding: 40px 20px; }
    .help-container { 
        visibility: hidden;
    }  
}