/* Giriş ve Kayıt Sayfaları Stilleri - Dünya ikonu kaldırıldı */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.abs-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.abs-auth-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeef2;
}

.abs-auth-logo {
    text-align: center;
    margin-bottom: 20px;
}

.abs-auth-logo img {
    max-width: 160px;
    height: auto;
}

.abs-auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.abs-title-group h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 4px 0;
}

.abs-title-group p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Dil Değiştirme Butonu - DÜNYA İKONU KALDIRILDI */
.abs-language-switcher {
    position: relative;
    margin-left: 15px;
}

.abs-language-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1e293b;
    transition: all 0.2s;
}

.abs-language-btn:hover {
    border-color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.abs-language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.abs-language-dropdown.show {
    display: block;
}

.abs-language-option {
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #1e293b;
    transition: background 0.2s;
}

.abs-language-option:hover {
    background: #f8fafc;
}

.abs-language-option.active {
    background: #f1f5f9;
    font-weight: 600;
    color: #1e3a8a;
}

.abs-flag-mini {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

/* Dropdown içinde bayrak gösterimi */
.abs-flag-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.abs-flag-option img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.abs-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.abs-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.abs-form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.abs-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.abs-input-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: #ffffff;
    color: #1e293b;
}

.abs-input-wrapper input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.abs-input-wrapper input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.abs-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    font-size: 18px;
    transition: color 0.2s;
}

.abs-password-toggle:hover {
    color: #1e3a8a;
}

/* Telefon Alanı - DÜZELTİLDİ (Bayraklar dropdown'da görünecek) */
.abs-phone-wrapper {
    display: flex;
    gap: 8px;
}

.abs-country-select {
    width: 110px;
    position: relative;
}

.abs-country-select select {
    width: 100%;
    padding: 10px 8px 10px 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    background: white;
    appearance: none;
    cursor: pointer;
    font-weight: 500;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%239ca3af" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
}

.abs-selected-flag {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}

.abs-phone-number {
    flex: 1;
}

.abs-phone-number input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
}

.abs-phone-number input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Checkbox */
.abs-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 5px 0;
}

.abs-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #1e3a8a;
}

.abs-checkbox label {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
}

/* Forgot Password */
.abs-forgot-password {
    text-align: right;
    margin: -5px 0 0;
}

.abs-forgot-password a {
    font-size: 12px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.abs-forgot-password a:hover {
    text-decoration: underline;
}

/* Buton - Normal */
.abs-auth-button {
    background: #1e3a8a;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.abs-auth-button:hover {
    background: #2563eb;
}

.abs-auth-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Buton - Hata Durumunda Kırmızı */
.abs-auth-button.error-state {
    background: #dc2626;
}

.abs-auth-button.error-state:hover {
    background: #b91c1c;
}

/* Şifre Sıfırlama Butonu */
.abs-reset-button {
    background: #2563eb;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.abs-reset-button:hover {
    background: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.4);
}

.abs-reset-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(37, 99, 235, 0.3);
}

.abs-reset-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.abs-reset-button:hover::before {
    width: 300px;
    height: 300px;
}

.abs-reset-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hata Mesajı */
.abs-error-message {
    color: #dc2626;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.abs-error-message.show {
    display: block;
}

/* Footer */
.abs-auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeef2;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.abs-auth-footer a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.abs-auth-footer a:hover {
    text-decoration: underline;
}

.abs-auth-footer .gate-info {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 5px;
}

/* Mesajlar */
.abs-message {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    display: none;
}

.abs-message.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.abs-message.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Geri link */
.abs-back-link {
    text-align: center;
    margin-top: 15px;
}

.abs-back-link a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 13px;
}

.abs-back-link a:hover {
    text-decoration: underline;
}

/* Mobil */
@media (max-width: 520px) {
    .abs-auth-card {
        padding: 30px 20px;
    }
    
    .abs-auth-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .abs-language-switcher {
        align-self: flex-end;
        margin-left: 0;
    }
    
    .abs-phone-wrapper {
        flex-direction: column;
        gap: 8px;
    }
    
    .abs-country-select {
        width: 100%;
    }
    
    .abs-auth-logo img {
        max-width: 140px;
    }
    
    .abs-title-group h2 {
        font-size: 20px;
    }
}