/* Auth Specific Styles */

/* Auth Wrapper for Full Screen Centering */
.auth-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

/* Full Screen Background Video */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    /* Ensures video covers screen */
}

/* Dark Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Darker overlay */
    z-index: 1;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 20px;
    z-index: 10;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Overlay to darken background if image is too bright, or to add blue tint */
/* REMOVED .auth-container::before as .video-overlay handles it now */

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 480px;
    z-index: 1;
    text-align: center;
}

.auth-header h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-header p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-label);
    font-weight: 500;
}

.input-wrapper {
    display: flex;
    align-items: center;
    /* Dikey ortalama */
    background: #fff;
    border: 1px solid var(--border-color, #ddd);
    /* Çerçeve burada */
    border-radius: 8px;
    padding: 0 15px;
    /* Soldan ve sağdan boşluk */
    transition: all 0.3s;
    position: relative;
    width: 100%;
    /* Genişliği kapsayıcıya yay */
    box-sizing: border-box;
    /* Padding dahil hesaplama */
}

/* Wrapper tıklandığında/odaklandığında çerçeve rengi değişsin */
.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
    /* Opsiyonel glow efekti */
}

/* Input Alanı: Kendi çerçevesini ve dolgusunu sıfırlıyoruz */
.form-control {
    border: none !important;
    /* Inputun kendi çizgisi yok */
    outline: none !important;
    /* Tıklayınca çıkan mavi çizgi yok */
    background: transparent !important;
    padding: 12px 10px;
    /* Sadece yazı için dikey boşluk */
    margin: 0;
    flex: 1;
    /* Kalan tüm boşluğu doldurarak sağ ikonu sona iter */
    width: auto;
    font-size: 1rem;
    color: #333;
}

/* Soldaki İkonlar (Zarf, Kilit vb.) */
.input-wrapper>i:first-child {
    color: #777;
    font-size: 1.2rem;
    margin-right: 5px;
}

/* Sağdaki Göz İkonu */
.eye-icon {
    cursor: pointer;
    padding: 10px;
    /* Tıklama alanını genişletir */
    color: #777;
    font-size: 1.2rem;
    margin-left: 5px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-icon:hover {
    color: var(--primary-color, #007bff);
}


.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #555;
}

.auth-footer a {
    font-weight: 600;
    text-decoration: underline;
}

.language-switch {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0;
}

.lang-btn {
    padding: 5px 15px;
    border: 1px solid #ddd;
    background: #fdfdfd;
    cursor: pointer;
    font-size: 0.85rem;
    color: #333;
}

.lang-btn.active {
    background: #eef;
    color: var(--primary-color);
    border-color: #ccf;
    font-weight: 600;
}

.lang-btn:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.lang-btn:last-child {
    border-right: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: none;
    /* Avoid double border */
}

/* Checkbox Style */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1rem;
}

.checkbox-group input {
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 0;
}

.logo-absolute {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 150px;
    z-index: 2;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}