/* ==========================================================================
   1. Genel Form ve Layout Ayarları
   ========================================================================== */
#login-forget,
#login-register,
#giris-link,
.personel,
#code_error {
    display: none;
}

.error {
    color: #ff1a2f;
    border-color: #ff1a2f;
    font-size: 0.8rem;
}

/* Form hata mesajlarının konumlandırması */
#username-error,
#phonenumber-error,
#forget_phonenumber-error {
    position: absolute;
    right: 5px;
    bottom: -2px;
}

.form-label-group {
    position: relative;
}

.form-label-group span {
    position: absolute;
    top: 35px;
    right: 5px;
}

.modern-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    padding-top: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(2px);
}

.modern-card .form-control {
    border-radius: 14px;
    min-height: 50px;
    padding: 12px 14px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.modern-card .form-control:focus {
    border-color: #4c9aff;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.18rem rgba(76, 154, 255, 0.22);
    transform: translateY(-1px);
}

.modern-card .form-label-group:focus-within label {
    color: #2c6fd6;
}

.modern-card .btn {
    border-radius: 14px !important;
    padding-left: 16px;
    padding-right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.verify-channel-group {
    margin-bottom: 4px;
}

.verify-channel-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.verify-channel-options {
    display: flex;
    gap: 8px;
}

.verify-channel-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #d7dce2;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
}

.verify-channel-option input[type="radio"] {
    accent-color: #007bff;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
}

#code_button .btn-icon svg {
    width: 14px;
    height: 14px;
}

.main-logo {
    width: 84%;
    max-width: 280px;
}

.login-landing .btn {
    min-height: 48px;
    font-weight: 600;
}

.btn-connect-animated {
    position: relative;
    overflow: clip;
    isolation: isolate;
    border: 1px solid rgba(76, 154, 255, 0.45);
    background: var(--bs-btn-bg, #0d6efd);
    box-shadow: 0 0 10px rgba(76, 154, 255, 0.25);
}

.connect-btn-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.connect-btn-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@keyframes borderSnake {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-connect-animated::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        rgba(76, 154, 255, 0) 0deg,
        rgba(76, 154, 255, 0) 298deg,
        rgba(94, 241, 255, 1) 324deg,
        rgba(76, 154, 255, 1) 340deg,
        rgba(76, 154, 255, 0) 360deg
    );
    animation: borderSnake 1.2s linear infinite;
    filter: drop-shadow(0 0 6px rgba(94, 241, 255, 0.85));
    pointer-events: none;
    z-index: 1;
}

.btn-connect-animated::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(14px - 1px);
    background: var(--bs-btn-bg, #0d6efd);
    pointer-events: none;
    z-index: 1;
}

.info-banner-wrap {
    margin-top:5px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

}

.info-banner-wrap img {
    border-radius: 10px;
    padding: 0px 20px;
}

/* ==========================================================================
   2. Loading Overlay (Yüklenme Ekranı)
   ========================================================================== */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9991;
}

#loading {
    display: none;
    padding-top: 50%;
}

/* ==========================================================================
   3. Personel Giriş Bölümü (Sağ Üst Köşe)
   ========================================================================== */
#personelR {
    height: 100px;
    width: 100px;
    background: #fff;
    border-radius: 0 0 0 100px;
    position: absolute;
    top: -35px;
    right: 0;
}

#personel {
    text-align: end;
    width: 75px;
    border-color: #fff;
    position: absolute;
    top: 5px;
    right: 3px;
    border-radius: 2px !important;
    padding: 5px;
}

#personel_girisi {
    color: #fff;
    font-weight: 600;
    line-height: initial;
    font-size: 13px;
}

/* ==========================================================================
   4. International Telephone Input (iti) Ayarları
   ========================================================================== */
.iti {
    width: 100%;
}

#iti-0__dropdown-content {
    z-index: 6;
}

#phonenumber {
    font-size: 16px;
}

/* ==========================================================================
   5. Dil Seçici (Language Selector)
   ========================================================================== */
.language-selector {
    position: relative;
    width: fit-content;
    font-family: 'Inter', sans-serif;
}

.language-select {
    appearance: none; /* Varsayılan oku kaldır */
    -webkit-appearance: none;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.language-select:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.language-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Kendi ok simgemizi ekleyelim */
.language-selector::after {
    content: '▼';
    font-size: 10px;
    color: #64748b;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
/* Bayrak Resimleri */
.tr { background-image: url('../images/flags/tr.webp'); }
.ru { background-image: url('../images/flags/russia.jpg'); }
.en { background-image: url('../images/flags/us.webp'); }

/* ==========================================================================
   6. OTP (Doğrulama Kodu) Giriş Alanı
   ========================================================================== */
.otp-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    letter-spacing: 12px;
	text-align: center;
	width: 260px;
	padding: 10px;
	border: 2px solid #ccc;
	border-radius: 5px;
	background: #fff;
}

.otp-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,123,255,0.2);
}


/* ==========================================================================
   7. Alert ve Modal Düzenlemeleri
   ========================================================================== */
.alert-danger {
    background-color: #fff6f6 !important;
    border: none;
    border-left: 5px solid #ff1a2f !important;
    color: #ff1a2f !important;
}

.alert ul {
    list-style: none;
    padding-left: 10px;
    margin: 0;
}

.modal-dialog {
    margin-top: 25%;
}

.mb-10{
    margin-bottom: 10px !important;
}
@media (max-width: 600px) {
    .ftco-section {
        margin-top: 46px !important;
        padding: 18px 0 16px !important;
    }

    .modern-card {
        border-radius: 18px;
        padding-top: 8px;
    }

    .modern-card .form-control {
        min-height: 48px;
    }

    .main-logo {
        width: 80%;
        max-width: 240px;
    }

    .py-4 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .py-3 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

