/* 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;
}

/* Sol panel */
.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;
    height: auto;
    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;
}

/* Sağ panel (form) */
.form-card { flex: 1; padding: 50px 40px; }
.header { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.header h1 { font-size: 24px; font-weight: 600; color: #0a1f44; }

/* Form */
.form-group { margin-bottom: 20px; position: relative; }

.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 {
    border-color: #25aae1;
    box-shadow: 0 4px 12px rgba(37,170,225,0.25);
    outline: none;
}
.input-icon {
    position: absolute;
    left: 12px;
    color: #6c757d;
    transition: color 0.3s ease;
}

/* Kayan Etiket Stilleri */
.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-wrapper input:focus ~ label,
.input-wrapper input:not(:placeholder-shown) ~ label {
    top: 0;
    left: 35px;
    font-size: 12px;
    color: #25aae1;
    padding: 0 4px;
}

.input-wrapper:focus-within .input-icon {
    color: #25aae1;
}

.domain-suffix { position: absolute; right: 12px; font-size: 12px; color: #555; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; }

/* 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; }

.loading-spinner { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.hidden { display: none; }

/********** HATA MESAJI STİLİ GÜNCELLENDİ **********/
.error-message {
    color: #dc2626;      /* Kırmızı renk */
    font-size: 12px;     /* Küçük font boyutu */
    margin-top: 4px;     /* Üstten küçük bir boşluk */
    display: none;       /* Başlangıçta gizli */
    padding-left: 5px;   /* Soldan hafif boşluk */
}
.error-message.active {
    display: block;      /* JS ile .active sınıfı eklenince görünür olacak */
}
/***************************************************/

.password-strength { margin-top: 8px; }
.strength-info { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.strength-bar { width: 100%; height: 8px; background: #eee; border-radius: 4px; margin-top: 8px; overflow: hidden; }
.strength-fill { height: 100%; width: 0%; transition: width 0.3s ease; }
.strength-fill.weak { background: #e63946; }
.strength-fill.fair { background: #ffb703; }
.strength-fill.good { background: #219ebc; }
.strength-fill.strong { background: #2a9d8f; }

#message {
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    display: none;
}
#message:not(:empty) {
    display: block;
}
#message.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}
#message.success {
    background: #dcfce7;
    border: 1px solid #4ade80;
    color: #166534;
}

.password-requirements { margin-top: 25px; background: #e6f7fc; border-left: 4px solid #25aae1; padding: 15px; border-radius: 8px; }
.password-requirements h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: #178bbf; }
.password-requirements ul { list-style: none; padding-left: 20px; font-size: 13px; color: #082c3e; }
.password-requirements li { position: relative; transition: color 0.3s ease; margin-bottom: 5px; }
.password-requirements li::before { content: '●'; position: absolute; left: -20px; top: 1px; color: #25aae1; font-size: 14px; transition: all 0.3s ease; }
.password-requirements li.valid { color: #2a9d8f; }
.password-requirements li.valid::before { content: '✔'; color: #2a9d8f; }
/* ----- 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 */
    }
}
/* =================================== */
/* == 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;
}
/* ----- 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;
    }  
}


