/* ============================================================
   FirmaAtlas — Auth Sayfaları DÜZELTME
   Bootstrap çakışmasını gidermek için override
============================================================ */

/* Auth sayfasında Bootstrap container'ı etkisiz bırak */
.auth-page {
    min-height: 100vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a56db 60%, #0ea5e9 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6,182,212,.12) 0%, transparent 50%);
    pointer-events: none;
}

/* Bootstrap container'ı sıfırla - auth sayfasına özgü */
.auth-page .container {
    max-width: 480px !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.05);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
}

.auth-card-header {
    background: linear-gradient(135deg, #0d1b3e, #1a56db);
    padding: 2.25rem 2rem 1.75rem;
    text-align: center;
    color: #fff;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-decoration: none;
}

.auth-logo .bi { color: #06b6d4; font-size: 1.75rem; }
.auth-logo .accent { color: #06b6d4; }

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .25rem;
}

.auth-subtitle {
    font-size: .875rem;
    color: rgba(255,255,255,.7);
    margin: 0;
}

.auth-card-body {
    padding: 2rem;
}

/* Form alanları */
.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .4rem;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap .bi {
    position: absolute;
    left: .875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 0 1rem 0 2.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: .9375rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all .2s;
    outline: none;
    font-family: inherit;
}

.auth-form input:focus {
    border-color: #1a56db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

/* Şifre toggle */
.auth-form .toggle-pass {
    position: absolute;
    right: .875rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

.auth-form .toggle-pass:hover { color: #1a56db; }

/* Beni hatırla satırı */
.auth-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: .8375rem;
}

.auth-remember label {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #4b5563;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 400;
}

.auth-remember a {
    color: #1a56db;
    font-weight: 600;
}

/* Giriş butonu */
.btn-auth-primary {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #1a56db, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(26,86,219,.35);
    margin-bottom: 1.25rem;
}

.btn-auth-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(26,86,219,.45);
}

/* Ayırıcı */
.auth-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
    color: #9ca3af;
    font-size: .8125rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* Sosyal giriş */
.auth-social {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    flex: 1;
    height: 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.btn-social:hover {
    border-color: #1a56db;
    color: #1a56db;
    background: rgba(26,86,219,.04);
}

/* Alt link */
.auth-footer {
    text-align: center;
    font-size: .875rem;
    color: #6b7280;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.auth-footer a {
    color: #1a56db;
    font-weight: 700;
}

/* Hata mesajı */
.auth-errors {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: .875rem 1rem;
    margin-bottom: 1.25rem;
}

.auth-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-errors li {
    font-size: .8375rem;
    color: #dc2626;
    padding: .15rem 0;
}

.auth-errors li::before {
    content: '⚠ ';
}
