﻿/* =========================================================
   AUTH.CSS  (Login / Register / Forgot / Reset)
   Tema: Koyu lacivert + yeşil vurgu, yormayan modern görünüm
   ========================================================= */

/* ---------- GENEL ---------- */
/* Auth sayfalarında arka plan sadece içerik alanında kalsın */
.auth-layout {
    background: radial-gradient(1200px 700px at 15% 10%, rgba(0,255,170,.16), transparent 55%), radial-gradient(900px 600px at 90% 15%, rgba(0,170,255,.14), transparent 55%), linear-gradient(180deg, #071a2b 0%, #05111d 100%);
    border-radius: 22px;
    padding: 28px 0;
    box-shadow: 0 18px 55px rgba(0,0,0,.18);
}


.auth-wrapper {
    min-height: 100vh;
    align-items: flex-start;
    display: flex;
    justify-content: center;
    padding: 24px 16px;
}

.auth-layout {
    width: 100%;
}

/* container bootstrap kullanıyorsun; biraz genişletelim */
.auth-page {
    max-width: 1180px !important;
}

/* ---------- BAŞLIK ---------- */
.auth-layout .bigtitle {
    margin: 0 0 14px 0 !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    letter-spacing: .2px;
    color: #f3f7ff;
}

/* ---------- KOLONLAR (Giriş / Kayıt) ---------- */
.auth-layout .row {
    display: flex;
    gap: 18px;
}

.auth-layout .col-md-6 {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 18px 55px rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
}

/* Mobilde alt alta */
@media (max-width: 992px) {
    .auth-layout .row {
        flex-direction: column;
    }

    .auth-layout .col-md-6 {
        width: 100%;
    }
}

/* ---------- Kart kutusu (sozlesmebox) ---------- */
.sozlesmebox {
    background: rgba(0,0,0,.22) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 16px !important;
    padding: 16px !important;
}

/* ---------- Form alanları ---------- */
.form-group strong {
    display: block;
    margin-bottom: 6px;
    color: #dfe9ff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .2px;
}

/* input group */
.input-group {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
}

/* sol ikon alanı */
.input-group-addon {
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.25);
    border: 0 !important;
    color: #bcd6ff;
}

/* input */
.form-control.half {
    height: 46px !important;
    padding: 10px 12px !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #f2f7ff !important;
    font-size: 14px !important;
}

    .form-control.half::placeholder {
        color: rgba(230,240,255,.55);
    }

/* input focus */
.input-group:focus-within {
    border-color: rgba(0,255,170,.45);
    box-shadow: 0 0 0 3px rgba(0,255,170,.12);
}

/* ---------- BUTONLAR ---------- */
.btn.turanj.btn-lg {
    width: 100%;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font-weight: 900 !important;
    letter-spacing: .2px;
    color: #062013 !important;
    background: linear-gradient(90deg, #00e39a 0%, #00b873 55%, #00a868 100%) !important;
    box-shadow: 0 14px 28px rgba(0,255,170,.18);
    cursor: pointer;
}

    .btn.turanj.btn-lg:hover {
        transform: translateY(-1px);
        filter: brightness(1.03);
    }

    .btn.turanj.btn-lg:active {
        transform: translateY(0);
    }

/* ---------- Validation / Alerts ---------- */
.text-danger {
    color: #ffb3b3 !important;
    font-weight: 700;
}

.alert {
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    padding: 12px 14px !important;
}

.alert-success {
    background: rgba(0,255,170,.10) !important;
    color: #bfffe9 !important;
}

/* ---------- Forgot Password kartı başlık ---------- */
.auth-layout h1.bigtitle + .sozlesmebox {
    margin-top: 10px;
}

/* ---------- Reset / Forgot ayrı layout sayfaları ---------- */
.fp-page, .rp-page {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 16px;
}

.fp-card, .rp-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 55px rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
}

.fp-title, .rp-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 14px;
}

.fp-row, .rp-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.fp-label, .rp-label {
    font-weight: 800;
    color: #dfe9ff;
    font-size: 13px;
}

.fp-input, .rp-input {
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
    color: #f2f7ff;
    padding: 10px 12px;
    outline: none;
}

    .fp-input:focus, .rp-input:focus {
        border-color: rgba(0,255,170,.45);
        box-shadow: 0 0 0 3px rgba(0,255,170,.12);
    }

.fp-btn, .rp-btn {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 12px;
    font-weight: 900;
    color: #062013;
    background: linear-gradient(90deg, #00e39a 0%, #00b873 55%, #00a868 100%);
    cursor: pointer;
    margin-top: 6px;
}

.fp-success {
    background: rgba(0,255,170,.10);
    border: 1px solid rgba(0,255,170,.22);
    color: #bfffe9;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.fp-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #bcd6ff;
    text-decoration: none;
    font-weight: 800;
}

    .fp-link:hover {
        color: #eaf2ff;
    }
/* ===============================
   AUTH OVERRIDE (SITE İLE AYNI BG)
   =============================== */

/* Auth sayfası site arka planını bozmamalı */
.auth-layout {
    background: transparent !important;
    padding: 34px 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* container davranışı */
.auth-page {
    max-width: 1180px !important;
    margin: 0 auto !important;
}

    /* Başlıklar */
    .auth-page .bigtitle {
        margin: 0 0 14px 0 !important;
        font-size: 30px !important;
        font-weight: 900 !important;
        color: #0b2239 !important;
    }

    /* Kart */
    .auth-page .sozlesmebox {
        background: #ffffff !important;
        border: 1px solid rgba(11,34,57,.10) !important;
        border-radius: 18px !important;
        padding: 18px 18px !important;
        box-shadow: 0 14px 35px rgba(11,34,57,.10) !important;
    }

    /* Form label */
    .auth-page .form-group strong {
        display: block !important;
        font-weight: 800 !important;
        color: #0b2239 !important;
        margin-bottom: 6px !important;
    }

    /* Input group */
    .auth-page .input-group {
        display: flex !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .auth-page .input-group-addon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        border: 1px solid rgba(11,34,57,.16) !important;
        border-right: none !important;
        border-radius: 12px 0 0 12px !important;
        background: #f4f7fb !important;
        color: #0b2239 !important;
    }

    /* input */
    .auth-page .form-control.half {
        width: 100% !important;
        height: 46px !important;
        border: 1px solid rgba(11,34,57,.16) !important;
        border-radius: 0 12px 12px 0 !important;
        padding: 0 14px !important;
        outline: none !important;
        box-shadow: none !important;
        background: #fff !important;
    }

        .auth-page .form-control.half:focus {
            border-color: rgba(0,193,134,.70) !important;
            box-shadow: 0 0 0 4px rgba(0,193,134,.12) !important;
        }

    /* Butonlar (senin .btn.turanj kullanımı) */
    .auth-page .btn.turanj.btn-lg {
        width: 100% !important;
        height: 46px !important;
        border-radius: 12px !important;
        border: none !important;
        font-weight: 900 !important;
        letter-spacing: .2px !important;
        background: linear-gradient(90deg, #00c186, #00a6ff) !important;
        color: #fff !important;
        box-shadow: 0 14px 30px rgba(0,166,255,.18) !important;
        transition: transform .15s ease, filter .15s ease !important;
    }

        .auth-page .btn.turanj.btn-lg:hover {
            transform: translateY(-1px) !important;
            filter: brightness(1.03) !important;
        }

    /* Validation / alert */
    .auth-page .text-danger {
        font-weight: 700 !important;
    }

    .auth-page .alert.alert-success {
        border-radius: 12px !important;
        border: 1px solid rgba(0,193,134,.35) !important;
        background: rgba(0,193,134,.10) !important;
        color: #0b2239 !important;
        font-weight: 800 !important;
    }

/* Responsive: mobilde tek kolon */
@media (max-width: 991px) {
    .auth-page .row {
        display: block !important;
    }

    .auth-page .col-md-6 {
        width: 100% !important;
    }
}
/* ===============================
   AUTH FULL-WIDTH + BIG CENTER
   =============================== */

/* Header altını komple kaplasın */
.auth-layout {
    width: 100% !important;
    min-height: calc(100vh - 120px) !important; /* header yaklaşık */
    padding: 46px 0 70px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    /* site ile uyumlu soft arka plan */
    background: radial-gradient(900px 420px at 25% 10%, rgba(0,193,134,.12), transparent 60%), radial-gradient(900px 420px at 75% 10%, rgba(0,166,255,.10), transparent 60%), linear-gradient(180deg, #eef3f8 0%, #ffffff 55%, #eef3f8 100%) !important;
}

/* Container büyüsün */
.auth-page {
    width: min(1240px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
}

    /* İki kolon arasını aç, kartları büyüt */
    .auth-page .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 22px !important;
        align-items: start !important;
    }

    /* bootstrap col’ları grid’e uyumlu olsun */
    .auth-page .col-md-6 {
        width: auto !important;
        float: none !important;
    }

    /* Başlıklar daha büyük */
    .auth-page .bigtitle {
        font-size: 34px !important;
        margin: 0 0 16px 0 !important;
    }

    /* kartlar daha büyük + premium */
    .auth-page .sozlesmebox {
        border-radius: 20px !important;
        padding: 22px 22px !important;
        box-shadow: 0 18px 45px rgba(11,34,57,.12) !important;
    }

    /* input daha büyük */
    .auth-page .form-control.half {
        height: 52px !important;
        font-size: 15px !important;
    }

    .auth-page .input-group-addon {
        width: 52px !important;
        border-radius: 14px 0 0 14px !important;
    }

    /* buton daha büyük */
    .auth-page .btn.turanj.btn-lg {
        height: 52px !important;
        border-radius: 14px !important;
        font-size: 16px !important;
    }

    /* forgot kısmı ile login arası boşluk */
    .auth-page .col-md-6 > br {
        display: none !important;
    }

    .auth-page h1.bigtitle + form,
    .auth-page h1.bigtitle + .sozlesmebox {
        margin-bottom: 18px !important;
    }

/* Mobilde tek kolon */
@media (max-width: 991px) {
    .auth-layout {
        padding: 26px 0 50px !important;
    }

    .auth-page .row {
        grid-template-columns: 1fr !important;
    }
}
/* ===============================
   AUTH - PLACEHOLDER + ICON FIX
   =============================== */

/* Placeholder daha görünür */
.auth-page input::placeholder {
    color: rgba(10, 35, 55, .55) !important;
    opacity: 1 !important;
}

.auth-page input:-ms-input-placeholder {
    color: rgba(10, 35, 55, .55) !important;
}

.auth-page input::-ms-input-placeholder {
    color: rgba(10, 35, 55, .55) !important;
}

/* Form label/strong daha net */
.auth-page .form-group strong {
    color: #0b2239 !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;
}

/* Input görünümü */
.auth-page .form-control.half {
    background: #fff !important;
    color: #0b2239 !important;
    border: 1px solid rgba(11,34,57,.22) !important;
    border-left: 0 !important; /* ikon kutusuyla birleşsin */
    border-radius: 0 14px 14px 0 !important;
}

    .auth-page .form-control.half:focus {
        border-color: rgba(0,193,134,.55) !important;
        box-shadow: 0 0 0 4px rgba(0,193,134,.18) !important;
    }

/* Sol ikon kutusu */
.auth-page .input-group {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.auth-page .input-group-addon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f3f7fb !important;
    border: 1px solid rgba(11,34,57,.22) !important;
    border-right: 0 !important;
    width: 52px !important;
    min-width: 52px !important;
    border-radius: 14px 0 0 14px !important;
    color: rgba(11,34,57,.70) !important;
}

    /* Glyphicons görünür + modern boyut */
    .auth-page .input-group-addon .glyphicon {
        font-size: 18px !important;
        line-height: 1 !important;
        opacity: 1 !important;
        color: rgba(11,34,57,.70) !important;
    }

        /* Eğer glyphicon font yüklenmiyorsa (Bootstrap 4/5 yoksa) fontawesome ile yedek ikon */
        .auth-page .input-group-addon .glyphicon:empty {
            display: none !important;
        }

/* Buton rengi aynı kalsın ama text net olsun */
.auth-page .btn.turanj.btn-lg {
    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;
}
/* ===============================
   FORGOT + RESET (AUTH LOOK)
   =============================== */

.fp-page, .rp-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}

.fp-card, .rp-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(11,34,57,.10);
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(0,0,0,.16);
    backdrop-filter: blur(10px);
    padding: 26px;
}

.fp-title, .rp-title {
    font-size: 30px;
    font-weight: 900;
    color: #0b2239;
    margin-bottom: 16px;
    letter-spacing: .2px;
}

.fp-row, .rp-row {
    margin: 14px 0;
}

.fp-label, .rp-label {
    display: block;
    font-weight: 800;
    color: #0b2239;
    margin-bottom: 8px;
}

.fp-input, .rp-input {
    width: 100%;
    height: 52px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(11,34,57,.22);
    background: #fff;
    outline: none;
    font-size: 15px;
    color: #0b2239;
}

    .fp-input::placeholder, .rp-input::placeholder {
        color: rgba(10,35,55,.55);
        opacity: 1;
    }

    .fp-input:focus, .rp-input:focus {
        border-color: rgba(0,193,134,.55);
        box-shadow: 0 0 0 4px rgba(0,193,134,.18);
    }

.fp-btn, .rp-btn {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: .2px;
    color: #fff;
    background: linear-gradient(90deg,#00c186,#00a3ff);
    box-shadow: 0 12px 26px rgba(0,163,255,.18);
    margin-top: 10px;
}

    .fp-btn:hover, .rp-btn:hover {
        filter: brightness(1.03);
        transform: translateY(-1px);
    }

.fp-link {
    display: inline-block;
    margin-top: 14px;
    font-weight: 800;
    color: #0b2239;
    text-decoration: none;
}

    .fp-link:hover {
        text-decoration: underline;
    }

.fp-success {
    background: #e6f7ef;
    border: 1px solid #bfead3;
    color: #117a43;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
    margin: 10px 0 12px;
}

/* validation */
.rp-val, .fp-page .validation-summary-errors, .rp-page .validation-summary-errors {
    background: #fff0f0;
    border: 1px solid #ffc1c1;
    color: #a30000;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    margin: 12px 0;
}

/* küçük ekran */
@media (max-width: 520px) {
    .fp-title, .rp-title {
        font-size: 24px;
    }

    .fp-card, .rp-card {
        padding: 18px;
        border-radius: 18px;
    }
}
/* =========================
   AUTH BASE
   ========================= */
.auth-body {
    margin: 0;
    background: var(--bg-soft, #eef6ff);
}

/* auth layout wrapper */
.auth-wrapper {
    width: 100%;
    min-height: calc(100vh - 120px);
    padding: 34px 0 60px;
}

/* sayfanın tamamında auth blokları */
.auth-layout {
    width: 100%;
}

/* container içindeki sayfa */
.auth-page {
    max-width: 1250px;
}

/* başlıklar */
.bigtitle {
    margin: 0 0 14px 0;
    font-size: 34px;
    font-weight: 900;
    color: #0b2239;
}

/* kart görünümü: sozlesmebox */
.sozlesmebox {
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(11,34,57,.10) !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.12) !important;
    padding: 18px !important;
}

/* form grupları */
.form-group strong {
    display: block;
    margin-bottom: 8px;
    color: #0b2239;
    font-weight: 900;
}

/* input group */
.input-group {
    display: flex;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(11,34,57,.14);
    background: #fff;
}

.input-group-addon {
    width: 54px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11,34,57,.04);
    border-right: 1px solid rgba(11,34,57,.10);
    color: #0b2239;
}

/* input */
.form-control.half {
    height: 52px !important;
    border: 0 !important;
    width: 100% !important;
    padding: 0 14px !important;
    font-weight: 800;
    color: #0b2239 !important;
    background: #fff !important;
}

/* placeholder görünür */
.form-control::placeholder {
    color: rgba(11,34,57,.45) !important;
    font-weight: 700;
}

/* valid/summary */
.text-danger {
    font-weight: 800;
}

/* butonlar zaten site.css global butondan geliyor ama geniş olsun */
.auth-page .btn {
    width: 100%;
    max-width: 360px;
}

/* forgot başarı mesajı */
.alert.alert-success {
    border-radius: 18px;
    border: 1px solid rgba(0,193,134,.25);
    background: rgba(0,193,134,.10);
    color: #0b2239;
    font-weight: 900;
}

/* responsive */
@media (max-width: 992px) {
    .bigtitle {
        font-size: 28px;
    }

    .auth-wrapper {
        padding: 22px 0 48px;
    }
}
