﻿/* ==========================================================================
   Mentor firma paneli giriş sayfası — panelin bordo "rota" temasıyla
   ========================================================================== */
.mg-sayfa {
    margin: 0;
    background: #ffffff;
    font-family: Poppins, Helvetica, Arial, sans-serif;
    color: #2f3044;
}
.mg-giris {
    position: relative;
    display: flex;
    min-height: 100vh;
}

/* ---------- Marka alanı ---------- */
.mg-marka {
    position: relative;
    flex: 0 0 57%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #85050c;
    color: #ffffff;
}
.mg-rota {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.mg-iz {
    fill: none;
    stroke: #ffffff;
    stroke-opacity: .08;
    stroke-width: 2;
    stroke-dasharray: 3 9;
    stroke-linecap: round;
}
.mg-iz--alt { stroke-opacity: .12; }
.mg-hat {
    fill: none;
    stroke: #ffffff;
    stroke-opacity: .4;
    stroke-width: 2;
    stroke-dasharray: 3 8;
    stroke-linecap: round;
    animation: mgAkis 7s linear infinite;
}
.mg-hat--deniz {
    stroke: #f5b041;
    stroke-opacity: .75;
    stroke-width: 2.5;
    stroke-dasharray: 4 9;
    animation-name: mgAkisDeniz;
    animation-duration: 10s;
}
.mg-dugum { fill: #ffffff; }
.mg-merkez { fill: #f5b041; }
.mg-merkez-halka {
    fill: none;
    stroke: #f5b041;
    stroke-opacity: .45;
    stroke-width: 2;
}
.mg-merkez-halka--dis {
    stroke-opacity: .3;
    transform-box: fill-box;
    transform-origin: center;
    animation: mgNabiz 3s ease-out infinite;
}
.mg-etiket rect { fill: rgba(0, 0, 0, .25); }
.mg-etiket text {
    fill: #ffffff;
    font-family: Poppins, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-anchor: middle;
}
.mg-etiket--merkez rect { fill: #f5b041; }
.mg-etiket--merkez text { fill: #4a0206; font-weight: 700; }
.mg-arac-zemin { fill: #ffffff; }
.mg-arac-halka { fill: rgba(255, 255, 255, .14); }
.mg-arac-ikon {
    fill: none;
    stroke: #85050c;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mg-arac--altin .mg-arac-zemin { fill: #f5b041; }
.mg-arac--altin .mg-arac-halka { fill: rgba(245, 176, 65, .18); }
.mg-arac--altin .mg-arac-ikon { stroke: #4a0206; }

.mg-marka-ic {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    box-sizing: border-box;
    padding: 64px 72px 52px;
    display: flex;
    flex-direction: column;
}
.mg-logo {
    display: block;
    width: 176px;
    height: auto;
}
.mg-ust-yazi {
    margin-top: 52px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #f5b041;
}
.mg-manset {
    margin: 16px 0 0;
    font-size: 52px;
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -.5px;
    color: #ffffff;
}
.mg-tanitim {
    margin: 20px 0 0;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.6;
    color: #ddb9bb;
}
.mg-ozellikler {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    max-width: 676px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.mg-ozellikler li {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mg-ozellikler svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #f5b041;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mg-ozellikler b { font-size: 16px; font-weight: 600; color: #ffffff; }
.mg-ozellikler span { font-size: 13.5px; line-height: 1.5; color: #ddb9bb; }
.mg-kurlar {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.mg-kurlar-baslik {
    margin-right: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #ddb9bb;
}
.mg-kur {
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background: #6a0409;
    font-size: 13px;
    color: #ffffff;
    white-space: nowrap;
}
.mg-kur b { margin-right: 6px; font-weight: 700; }

/* ---------- Dil seçimi ---------- */
.mg-dil {
    position: absolute;
    top: 36px;
    right: 56px;
    z-index: 3;
    display: flex;
    gap: 2px;
    padding: 4px;
    border-radius: 22px;
    background: #f4f0f0;
}
.mg-dil a {
    min-width: 52px;
    height: 36px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #5f6275;
    text-decoration: none;
}
.mg-dil a:hover { color: #85050c; text-decoration: none; }
.mg-dil a.aktif { background: #85050c; color: #ffffff; }

/* ---------- Form alanı ---------- */
.mg-form-alani {
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    padding: 100px 56px 32px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}
.mg-form-kutu {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding-bottom: 32px;
}
.mg-alt {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 12px;
    font-size: 12.5px;
    color: #5f6275;
}
.mg-alt a { color: #85050c; }

/* login-general.js'in kullandığı görünüm durumları */
.mg-giris .kt-login__forgot { display: none; }
.mg-giris.kt-login--forgot .kt-login__signin { display: none !important; }
.mg-giris.kt-login--forgot .kt-login__forgot { display: block; }

.mg-rozet {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: #fbf1f2;
    color: #85050c;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .5px;
}
.mg-baslik {
    margin: 16px 0 0;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #2f3044;
}
.mg-aciklama {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5f6275;
}
.mg-aciklama b { color: #2f3044; font-weight: 600; }
.mg-ikon-kutu {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #fbf1f2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mg-ikon-kutu svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #85050c;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mg-ikon-kutu + .mg-baslik { margin-top: 22px; font-size: 32px; }
.mg-link { font-size: 13px; font-weight: 500; color: #85050c; }
.mg-link:hover { color: #4a0206; }

.mg-form {
    position: relative;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mg-form .alert { margin: 0; border-radius: 12px; }
.mg-alan {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mg-alan label { margin: 0; font-size: 13px; font-weight: 600; color: #2f3044; }
.mg-etiket-satir {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.mg-girdi { position: relative; }
.mg-girdi-ikon {
    position: absolute;
    left: 16px;
    top: 17px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #76778a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.mg-girdi .form-control {
    height: 52px;
    padding: 0 16px 0 46px;
    border: 1px solid #e3dcdc;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: none;
    font-size: 15px;
    color: #2f3044;
    transition: border-color .15s, box-shadow .15s;
}
.mg-girdi .form-control::placeholder { color: #76778a; }
.mg-girdi .form-control:focus {
    border-color: #85050c;
    box-shadow: 0 0 0 4px rgba(133, 5, 12, .1);
}
.mg-girdi .form-control.is-invalid { border-color: #b42318; }
.mg-girdi .invalid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: #b42318;
}
.mg-girdi .form-control.mg-parola { padding-right: 52px; }
.mg-goster {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #5f6275;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mg-goster:hover { background: #f7f4f4; color: #2f3044; }
.mg-goster svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mg-goster .mg-goz-kapali,
.mg-goster[aria-pressed="true"] .mg-goz-acik { display: none; }
.mg-goster[aria-pressed="true"] .mg-goz-kapali { display: block; }
.mg-capslock { font-size: 12.5px; font-weight: 500; color: #a1590b; }

.mg-btn {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}
.mg-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mg-btn--ana {
    border: 0;
    background: #85050c;
    color: #ffffff;
    box-shadow: 0 14px 28px -14px rgba(133, 5, 12, .7);
}
.mg-btn--ana:hover,
.mg-btn--ana:focus,
.mg-btn--ana:active { background: #6b0409; color: #ffffff; }
.mg-btn--ikincil {
    height: 52px;
    border: 1px solid #e3dcdc;
    background: #ffffff;
    color: #2f3044;
    font-size: 15px;
}
.mg-btn--ikincil svg { stroke: #85050c; }
.mg-btn--ikincil:hover,
.mg-btn--ikincil:focus { border-color: #85050c; color: #85050c; background: #ffffff; }
.mg-btn--metin {
    height: 44px;
    margin-top: -8px;
    border: 0;
    background: transparent;
    color: #5f6275;
    font-size: 14px;
    font-weight: 500;
}
.mg-btn--metin:hover,
.mg-btn--metin:focus { color: #85050c; background: transparent; }

.mg-ayrac {
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #5f6275;
}
.mg-ayrac:before,
.mg-ayrac:after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #ece6e6;
}
.mg-not {
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f7f4f4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #4b4d63;
}
.mg-not small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #5f6275;
}
.mg-not small a { color: #85050c; }
/* reCAPTCHA rozeti alt bilgiyi örtüyordu; Google'ın istediği bilgi notu formun altında yer alır */
.grecaptcha-badge { visibility: hidden; }
.mg-not svg,
.mg-sure svg,
.mg-geri svg,
.mg-indir svg,
.mg-uyari svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #85050c;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- 6 haneli doğrulama kodu ---------- */
.mg-kod {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.mg-kod-hane {
    width: 100%;
    height: 64px;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid #e3dcdc;
    border-radius: 12px;
    background: #f7f4f4;
    text-align: center;
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    color: #2f3044;
    caret-color: #85050c;
    outline: none;
}
.mg-kod-hane.dolu { background: #ffffff; }
.mg-kod-hane:focus {
    border: 2px solid #85050c;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(133, 5, 12, .1);
}
.mg-kod-gercek {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}
.mg-kod-alt {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 16px;
    font-size: 14px;
    color: #5f6275;
}
.mg-sure { display: inline-flex; align-items: center; gap: 8px; }
.mg-sure svg { width: 17px; height: 17px; }
.mg-sure-deger { color: #85050c; font-weight: 700; font-variant-numeric: tabular-nums; }
.mg-sure.doldu { color: #b42318; font-weight: 500; }
.mg-onay {
    min-height: 44px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #2f3044;
    cursor: pointer;
}
.mg-onay input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #85050c;
}

/* ---------- Nasıl üye olunur ---------- */
.mg-geri {
    min-height: 44px;
    margin: -8px 0 12px;
    padding: 0;
    border: 0;
    background: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #85050c;
    cursor: pointer;
}
.mg-geri:hover { color: #4a0206; }
.mg-geri + .mg-rozet { display: table; }
.mg-uyelik .mg-baslik { font-size: 32px; }
.mg-adimlar {
    list-style: none;
    counter-reset: adim;
    margin: 28px 0 0;
    padding: 0;
}
.mg-adimlar li {
    position: relative;
    counter-increment: adim;
    padding: 0 0 22px 58px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mg-adimlar li:before {
    content: counter(adim);
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #85050c;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mg-adimlar li:after {
    content: '';
    position: absolute;
    top: 46px;
    bottom: 6px;
    left: 19px;
    width: 2px;
    background: #ecdcdd;
}
.mg-adimlar li:last-child { padding-bottom: 0; }
.mg-adimlar li:last-child:after { display: none; }
.mg-adimlar b { padding-top: 8px; font-size: 16px; font-weight: 600; color: #2f3044; }
.mg-adimlar span { font-size: 14px; line-height: 1.6; color: #5f6275; }
.mg-adimlar span a { font-weight: 600; color: #85050c; }
.mg-indir {
    align-self: flex-start;
    min-height: 44px;
    margin-top: 6px;
    padding: 0 16px;
    box-sizing: border-box;
    border: 1px solid #e3dcdc;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2f3044;
}
.mg-indir svg { width: 18px; height: 18px; }
.mg-indir:hover { border-color: #85050c; color: #85050c; text-decoration: none; }
.mg-uyari {
    margin-top: 26px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff7e8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #5c3a10;
}
.mg-uyari svg { stroke: #a1590b; }

/* ---------- Ekran boyutları ---------- */
@media (max-width: 1399px) {
    .mg-marka-ic { padding: 56px 56px 44px; }
    .mg-manset { font-size: 44px; }
    .mg-ozellikler { gap: 20px; }
    .mg-form-alani { padding-left: 44px; padding-right: 44px; }
    .mg-dil { right: 44px; }
}
@media (max-width: 1199px) {
    .mg-marka { flex-basis: 46%; }
    .mg-manset { font-size: 36px; }
    .mg-tanitim { font-size: 16px; }
    /* dar marka alanında harita küçülür; etiketler kur şeridine biner */
    .mg-ozellikler,
    .mg-etiket,
    .mg-arac { display: none; }
}
/* alçak ekranlarda özellikler rota haritasıyla çakışmasın */
@media (min-width: 992px) and (max-height: 820px) {
    .mg-ozellikler { display: none; }
    .mg-ust-yazi { margin-top: 36px; }
}
@media (max-width: 991px) {
    .mg-giris { flex-direction: column; background: #85050c; }
    .mg-marka { flex: 0 0 auto; }
    .mg-marka-ic { padding: 28px 24px 64px; }
    .mg-logo { width: 124px; }
    .mg-ust-yazi,
    .mg-tanitim,
    .mg-ozellikler,
    .mg-kurlar-baslik,
    .mg-etiket,
    .mg-arac { display: none; }
    .mg-manset { margin-top: 28px; max-width: 320px; font-size: 26px; line-height: 1.22; }
    .mg-manset br { display: none; }
    .mg-kurlar { margin-top: 18px; padding-top: 0; gap: 8px; }
    .mg-kur { padding: 5px 10px; font-size: 11.5px; }
    .mg-dil { top: 24px; right: 20px; padding: 3px; background: rgba(0, 0, 0, .22); }
    .mg-dil a { min-width: 44px; height: 38px; border-radius: 19px; color: #ffffff; }
    .mg-dil a:hover { color: #ffffff; }
    .mg-dil a.aktif { background: #ffffff; color: #85050c; }
    .mg-form-alani {
        position: relative;
        z-index: 2;
        margin-top: -32px;
        padding: 30px 24px 24px;
        border-radius: 28px 28px 0 0;
    }
    .mg-form-kutu { margin: 0 auto; }
    .mg-baslik,
    .mg-ikon-kutu + .mg-baslik,
    .mg-uyelik .mg-baslik { font-size: 26px; }
    .mg-form { margin-top: 22px; gap: 16px; }
    .mg-ayrac { margin: 18px 0; }
    .mg-kod { gap: 8px; }
    .mg-kod-hane { height: 56px; font-size: 22px; }
    .mg-alt { justify-content: center; text-align: center; }
}

/* ---------- Hareketler ---------- */
@keyframes mgAkis { to { stroke-dashoffset: -110; } }
@keyframes mgAkisDeniz { to { stroke-dashoffset: -130; } }
@keyframes mgNabiz {
    0% { transform: scale(.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .mg-hat,
    .mg-merkez-halka--dis { animation: none; }
}
