/* ==========================================================================
   Tedarikçi Portalı – ortak arayüz stili
   Şablon (Vuexy/Bootstrap 5) CSS'lerinden SONRA yüklenmelidir.
   Marka renkleri Cobantur logosundan alınmıştır.
   ========================================================================== */

:root {
    --portal-primary: #0047ba;
    --portal-primary-dark: #003a99;
    --portal-primary-rgb: 0, 71, 186;
    --portal-accent: #00a7e1;
    --portal-accent-rgb: 0, 167, 225;
    --portal-bg: #f4f6fb;
    --portal-surface: #ffffff;
    --portal-border: #e3e8f2;
    --portal-text: #2b3445;
    --portal-muted: #6b7690;
    --portal-radius: 12px;
    --portal-radius-sm: 8px;
    --portal-shadow-sm: 0 1px 3px rgba(20, 35, 70, .06), 0 1px 2px rgba(20, 35, 70, .04);
    --portal-shadow: 0 6px 20px rgba(20, 35, 70, .08);
    --portal-shadow-lg: 0 14px 40px rgba(20, 35, 70, .14);

    /* Bootstrap / şablon değişkenlerini marka rengine çek */
    --bs-primary: var(--portal-primary);
    --bs-primary-rgb: var(--portal-primary-rgb);
    --bs-link-color: var(--portal-primary);
    --bs-link-hover-color: var(--portal-primary-dark);
}

/* ---------- Genel ---------- */
html { scroll-behavior: smooth; }

body {
    font-family: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--portal-text);
    -webkit-font-smoothing: antialiased;
}

body:not(.authentication-body) { background-color: var(--portal-bg); }

a { color: var(--portal-primary) !important; transition: color .15s ease; }
a:hover { color: var(--portal-primary-dark) !important; }

h1, h2, h3, h4, h5, h6 { color: var(--portal-text) !important; font-weight: 600; letter-spacing: -.01em; }

::selection { background: rgba(var(--portal-accent-rgb), .25); }

/* Daha ince, şık kaydırma çubukları */
* { scrollbar-width: thin; scrollbar-color: #c3cad9 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #c3cad9; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #a5aec3; }

/* Klavye odağı görünür olsun (erişilebilirlik) */
:focus-visible { outline: 2px solid var(--portal-accent); outline-offset: 2px; }

/* ---------- Üst çubuk (navbar) ---------- */
#layout-navbar.layout-navbar {
    background: var(--portal-surface) !important;
    border-bottom: 1px solid var(--portal-border);
    box-shadow: var(--portal-shadow-sm) !important;
    padding: .6rem 1.25rem;
}

/* Ana düzen: üstte sabit kalan çubuk */
html.layout-menu-fixed #layout-navbar.layout-navbar {
    position: sticky !important;
    top: 0 !important;
    left: auto !important; right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    inset-inline: 0;
    z-index: 1030;
}

/* Giriş / kayıt sayfaları: çubuk normal akışta, tam genişlikte */
html.customizer-hide #layout-navbar.layout-navbar {
    position: relative !important;
    top: auto !important; left: auto !important; right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    z-index: 5;
}
html.customizer-hide body { background: var(--portal-surface); }
html.customizer-hide .authentication-wrapper { min-height: calc(100vh - 64px); }
html.customizer-hide .layout-menu-toggle { display: none !important; }
@media (max-width: 991.98px) {
    html.customizer-hide .authentication-wrapper .auth-cover-bg,
    html.customizer-hide .authentication-inner > .col-lg-6:first-child { display: none !important; }
    html.customizer-hide .authentication-inner > .col-12 { min-height: calc(100vh - 64px); justify-content: center; }
}

.portal-navbtn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem !important;
    background: var(--portal-surface);
    color: var(--portal-text) !important;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-sm);
    font-weight: 500;
    font-size: .875rem;
    box-shadow: none;
    transition: all .18s ease;
}
.portal-navbtn i { color: var(--portal-primary); font-size: 1.15rem; }
.portal-navbtn:hover {
    background: rgba(var(--portal-primary-rgb), .06) !important;
    border-color: rgba(var(--portal-primary-rgb), .35);
    transform: none !important;
}

.layout-navbar .nav-link { color: var(--portal-text); }
.layout-navbar .nav-link:hover { background: transparent; transform: none; }

.layout-navbar .avatar img {
    border: 2px solid var(--portal-surface);
    box-shadow: 0 0 0 2px rgba(var(--portal-primary-rgb), .25);
}

.dropdown-menu {
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius);
    box-shadow: var(--portal-shadow);
    padding: .5rem;
}
.dropdown-item { border-radius: var(--portal-radius-sm); padding: .5rem .75rem; transition: background .15s ease; }
a.dropdown-item { color: var(--portal-text) !important; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(var(--portal-primary-rgb), .08); color: var(--portal-primary); }

/* ---------- Kartlar ---------- */
.card {
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius);
    box-shadow: var(--portal-shadow-sm);
    background: var(--portal-surface);
    transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--portal-shadow); }
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--portal-border);
    font-weight: 600;
    padding: 1rem 1.25rem;
}
.card-title { color: var(--portal-text); font-weight: 600; }

/* ---------- Butonlar ---------- */
.btn {
    border-radius: var(--portal-radius-sm);
    font-weight: 500;
    letter-spacing: .01em;
    transition: all .18s ease;
}
a.btn-primary, a.btn-primary:hover { color: #fff !important; }
.btn-primary {
    background: linear-gradient(135deg, var(--portal-primary) 0%, #1a63d6 100%);
    border-color: var(--portal-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--portal-primary-rgb), .28);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(135deg, var(--portal-primary-dark) 0%, var(--portal-primary) 100%) !important;
    border-color: var(--portal-primary-dark) !important;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--portal-primary-rgb), .35);
}
.btn-primary:disabled, .btn-primary.disabled { opacity: .6; transform: none; box-shadow: none; }

.btn-outline-primary { color: var(--portal-primary); border-color: var(--portal-primary); }
.btn-outline-primary:hover { background: var(--portal-primary); border-color: var(--portal-primary); color: #fff; }

.btn-label-primary, .btn-label-secondary { border-radius: var(--portal-radius-sm); }
.btn-label-primary { background: rgba(var(--portal-primary-rgb), .1); color: var(--portal-primary); border-color: transparent; }
.btn-label-primary:hover { background: var(--portal-primary); color: #fff; }

/* ---------- Form elemanları ---------- */
.form-label { font-weight: 500; color: var(--portal-text); margin-bottom: .35rem; font-size: .875rem; }

.form-control, .form-select, .input-group-text, .select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: var(--portal-radius-sm);
    border-color: var(--portal-border);
    background-color: var(--portal-surface);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control, .form-select { padding: .55rem .85rem; }
.form-control::placeholder { color: #a3adc2; }

.form-control:focus, .form-select:focus {
    border-color: var(--portal-accent) !important;
    box-shadow: 0 0 0 .2rem rgba(var(--portal-accent-rgb), .18) !important;
}
.input-group:focus-within .input-group-text { border-color: var(--portal-accent); }
.input-group-merge .form-control:focus,
.input-group-merge:focus-within .input-group-text { box-shadow: none; }
.input-group-merge:focus-within { box-shadow: 0 0 0 .2rem rgba(var(--portal-accent-rgb), .18); border-radius: var(--portal-radius-sm); }

.form-check-input:checked { background-color: var(--portal-primary); border-color: var(--portal-primary); }

.text-danger, .field-validation-error, .error { font-size: .8rem; }

/* ---------- Tablolar / DataTables ---------- */
.table { color: var(--portal-text); }
.table > :not(caption) > * > * { padding: .85rem 1rem; border-bottom-color: var(--portal-border); }
.table thead th {
    background: #f6f8fc;
    color: var(--portal-muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    border-bottom: 1px solid var(--portal-border);
    white-space: nowrap;
}
.table-hover > tbody > tr { transition: background .12s ease; }
.table-hover > tbody > tr:hover > * { background: rgba(var(--portal-primary-rgb), .04); }

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: var(--portal-radius-sm);
    border: 1px solid var(--portal-border);
    padding: .4rem .7rem;
}
.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--portal-accent);
    box-shadow: 0 0 0 .2rem rgba(var(--portal-accent-rgb), .18);
    outline: 0;
}

.page-item .page-link { border-radius: var(--portal-radius-sm); margin: 0 2px; border: 0; color: var(--portal-text); }
.page-item.active .page-link { background: var(--portal-primary); color: #fff; box-shadow: 0 4px 10px rgba(var(--portal-primary-rgb), .3); }
.page-item:not(.active):not(.disabled) .page-link:hover { background: rgba(var(--portal-primary-rgb), .08); color: var(--portal-primary); }

/* ---------- Rozetler / Modal / Nav ---------- */
.badge { font-weight: 600; letter-spacing: .02em; border-radius: 6px; }
.bg-label-primary { background: rgba(var(--portal-primary-rgb), .1) !important; color: var(--portal-primary) !important; }

.modal-content { border: 0; border-radius: var(--portal-radius); box-shadow: var(--portal-shadow-lg); }
.modal-header { border-bottom: 1px solid var(--portal-border); }
.modal-footer { border-top: 1px solid var(--portal-border); }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background: var(--portal-primary);
    border-color: var(--portal-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--portal-primary-rgb), .3);
}
.nav-tabs .nav-link.active { color: var(--portal-primary); border-bottom-color: var(--portal-primary); }

.alert { border-radius: var(--portal-radius-sm); border: 0; }

/* SweetAlert2 */
.swal2-popup { border-radius: var(--portal-radius) !important; font-family: inherit !important; }
.swal2-styled.swal2-confirm { background: var(--portal-primary) !important; border-radius: var(--portal-radius-sm) !important; }

/* ---------- Kimlik doğrulama sayfaları (login / kayıt / şifre) ---------- */
.authentication-wrapper.authentication-cover { background: var(--portal-surface); }

.authentication-wrapper .auth-cover-bg {
    background: linear-gradient(145deg, rgba(var(--portal-primary-rgb), .08), rgba(var(--portal-accent-rgb), .14));
    height: 100%;
}
.authentication-wrapper .auth-cover-bg img { border-radius: 20px; box-shadow: var(--portal-shadow-lg); max-height: 82vh; object-fit: cover; }

.authentication-inner .w-px-400 { animation: portal-rise .45s ease both; }
.authentication-inner h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: .35rem !important; }
.authentication-inner .btn-primary { padding: .7rem 1rem; font-size: 1rem; }

.authentication-inner .form-control,
.authentication-inner .form-select { padding: .7rem .95rem; }

/* ---------- Durum sayfaları (onay / hata / yetkisiz) ---------- */
.misc-wrapper { animation: portal-rise .45s ease both; }

/* ---------- Animasyonlar ---------- */
@keyframes portal-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}
main[role="main"] > * { animation: portal-rise .35s ease both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Duyarlı (responsive) düzen: telefon < 576px, tablet 576–991px, web >= 992px
   ========================================================================== */

/* Tüm cihazlar */
img, video, iframe { max-width: 100%; }
.portal-container { padding-left: 1rem; padding-right: 1rem; max-width: 1920px; margin: 0 auto; }
main[role="main"] { padding-top: 1.25rem; }

/* Tablolar yatay kaydırılabilir; taşma sayfayı bozmasın */
.dataTables_wrapper, .table-responsive, .card-datatable { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; }
.dataTables_wrapper .row { margin-left: 0; margin-right: 0; }

/* Dokunmatik cihazlarda rahat tıklama alanı */
@media (pointer: coarse) {
    .btn, .form-control, .form-select, .dropdown-item, .page-link { min-height: 44px; }
    .btn-sm { min-height: 38px; }
    input, select, textarea { font-size: 16px !important; } /* iOS otomatik zoom'u engeller */
}

/* Web (geniş ekran) */
@media (min-width: 1200px) {
    .portal-container { padding-left: 2rem; padding-right: 2rem; }
}

/* Tablet */
@media (max-width: 991.98px) {
    .portal-container { padding-left: .85rem; padding-right: .85rem; }
    .authentication-wrapper.authentication-cover .authentication-inner { min-height: 100vh; }
    .authentication-inner .w-px-400 { width: 100% !important; max-width: 440px; }
    .modal-dialog { margin: 1rem auto; }
    .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_length { text-align: left; }
    .dataTables_wrapper .dataTables_filter input { width: 100%; margin-left: 0; }
}

/* Telefon */
@media (max-width: 575.98px) {
    html { font-size: 15px; }
    .portal-container { padding-left: .6rem; padding-right: .6rem; }
    main[role="main"] { padding-top: .75rem; }
    #layout-navbar.layout-navbar { padding: .5rem .6rem; }
    .portal-navbtn { padding: .5rem .65rem !important; }
    .card-header, .card-body { padding: 1rem; }
    .card { border-radius: 10px; }
    .authentication-inner h3 { font-size: 1.35rem; }
    .authentication-inner .w-px-400 { padding: 1.25rem 1rem; }
    .authentication-inner img[src$="cobantur.svg"] { width: 70% !important; margin-bottom: 1.5rem !important; }

    /* Modallar telefonda tam ekran */
    .modal-dialog { margin: 0; max-width: 100%; min-height: 100%; }
    .modal-content { min-height: 100vh; border-radius: 0; }

    .table > :not(caption) > * > * { padding: .65rem .7rem; }
    .btn { width: auto; }
    .dataTables_wrapper .dataTables_paginate { margin-top: .75rem; text-align: center; float: none; }
    .dataTables_wrapper .dataTables_info { text-align: center; float: none; padding-top: .5rem; }
}

/* Yatay telefon / kısa ekran: kimlik doğrulama sayfası taşmasın */
@media (max-height: 520px) and (orientation: landscape) {
    .authentication-wrapper .auth-cover-bg { display: none; }
}

/* =====================================================================
   Giriş sayfaları: marka paneli yerleşimi (navbar akışta, 64px)
   ===================================================================== */
.authentication-wrapper .auth-cover-bg {
    position: relative;
    margin: 1rem !important;
    width: calc(100% - 2rem);
    height: calc(100vh - 64px - 2rem);
    height: calc(100dvh - 64px - 2rem);
    min-height: 420px;
    overflow: hidden;
    border-radius: 20px;
    padding: 0 !important;
    display: block !important;
    background: #00267a;
}

.authentication-wrapper .auth-cover-bg::after { display: none; }

@media (min-width: 992px) {
    html.customizer-hide, html.customizer-hide body { overflow: hidden; }

    html.customizer-hide .authentication-wrapper.authentication-cover,
    html.customizer-hide .authentication-wrapper.authentication-cover .authentication-inner {
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        min-height: 0;
        overflow: hidden;
    }

    html.customizer-hide .authentication-inner > .d-flex.col-lg-6 {
        height: 100%;
        overflow-y: auto;
    }
}

/* =====================================================================
   Marka paneli (sol taraf) - _AuthCover.cshtml
   ===================================================================== */
.auth-cover-bg {
    background: #00267a;
}

    .auth-cover-bg::after {
        display: none;
    }

.auth-brand {
    position: absolute;
    inset: 0;
    color: #fff;
    background:
        radial-gradient(1200px 600px at 100% 0%, rgba(1, 167, 225, .55), transparent 60%),
        radial-gradient(900px 700px at 0% 100%, rgba(0, 71, 186, .9), transparent 55%),
        linear-gradient(155deg, #001d5c 0%, #0047ba 48%, #0a86d0 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Yumuşak ışık lekeleri */
.auth-brand__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    z-index: -1;
}

.auth-brand__glow--a {
    width: 360px;
    height: 360px;
    top: -120px;
    left: -80px;
    background: #01a7e1;
    animation: authFloat 14s ease-in-out infinite alternate;
}

.auth-brand__glow--b {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -60px;
    background: #3d7bff;
    animation: authFloat 18s ease-in-out infinite alternate-reverse;
}

/* Noktalı ızgara dokusu */
.auth-brand__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
}

/* Rota çizimi */
.auth-brand__route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

    .auth-brand__route .ring {
        fill: none;
        stroke: rgba(255, 255, 255, .13);
        stroke-width: 1.2;
    }

    .auth-brand__route .route-base {
        fill: none;
        stroke: rgba(255, 255, 255, .22);
        stroke-width: 3;
        stroke-linecap: round;
    }

    .auth-brand__route .route-flow {
        fill: none;
        stroke: url(#routeGrad);
        stroke-width: 3;
        stroke-linecap: round;
        stroke-dasharray: 10 14;
        animation: authDash 2.4s linear infinite;
    }

    .auth-brand__route .stop circle:not(.pulse) {
        fill: #fff;
    }

    .auth-brand__route .stop .pulse {
        fill: rgba(255, 255, 255, .35);
        transform-box: fill-box;
        transform-origin: center;
        animation: authPulse 2.6s ease-out infinite;
    }

    .auth-brand__route .stop--end circle:not(.pulse) {
        fill: #ffd166;
    }

    .auth-brand__route .stop--end .pulse {
        fill: rgba(255, 209, 102, .45);
    }

.auth-brand__inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.5rem, 3.2vw, 3rem);
}

/* Logo */
.auth-brand__logo {
    display: inline-flex;
    align-items: center;
    padding: .65rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 30px rgba(3, 14, 40, .28);
}

    .auth-brand__logo img {
        display: block;
        height: 34px;
        width: auto;
        max-width: 220px;
    }

/* Cam efektli sevkiyat kartı */
.auth-brand__card {
    align-self: flex-end;
    width: min(340px, 100%);
    padding: 1rem 1.1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 18px 40px rgba(3, 14, 40, .35);
    animation: authCardIn .8s cubic-bezier(.2, .7, .2, 1) both;
}

.auth-brand__card-head {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.auth-brand__card-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .22);
    font-size: 1.35rem;
}

.auth-brand__card-title {
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .8;
    font-weight: 700;
}

.auth-brand__card-route {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}

    .auth-brand__card-route i {
        font-size: .95rem;
        opacity: .85;
    }

.auth-brand__pill {
    margin-left: auto;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: rgba(255, 209, 102, .95);
    color: #4a3200;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.auth-brand__progress {
    margin-top: .95rem;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    overflow: hidden;
}

    .auth-brand__progress span {
        display: block;
        height: 100%;
        width: 68%;
        border-radius: inherit;
        background: linear-gradient(90deg, #ffffff, #8fe0ff);
        animation: authGrow 1.6s cubic-bezier(.2, .7, .2, 1) both;
    }

/* Başlık ve özellikler */
.auth-brand__bottom {
    max-width: 30rem;
}

.auth-brand__title {
    margin: 0 0 .65rem;
    color: #fff;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em;
    text-shadow: 0 2px 18px rgba(3, 14, 40, .35);
    text-wrap: balance;
}

.auth-brand__sub {
    margin: 0 0 1.25rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .86);
}

.auth-brand__features {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .auth-brand__features li {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        padding: .45rem .9rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, .14);
        border: 1px solid rgba(255, 255, 255, .24);
        font-size: .85rem;
        font-weight: 600;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

        .auth-brand__features li i {
            font-size: 1rem;
        }

/* Kısa ekranlarda kartı gizle ki içerik sıkışmasın */
@media (max-height: 700px) {
    .auth-brand__card {
        display: none;
    }
}

@keyframes authDash {
    to {
        stroke-dashoffset: -48;
    }
}

@keyframes authPulse {
    0% {
        transform: scale(.6);
        opacity: .9;
    }

    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

@keyframes authFloat {
    to {
        transform: translate(40px, 30px) scale(1.12);
    }
}

@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes authGrow {
    from {
        width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-brand *,
    .auth-brand *::before {
        animation: none !important;
    }
}

/* Şablon/h1-h6 kurallarını ezmek için özgüllük artırımı */
.auth-brand .auth-brand__title { color: #fff !important; }
.auth-brand a { color: inherit !important; }

html .authentication-wrapper .authentication-inner .auth-cover-bg {
    height: calc(100vh - 64px - 2rem) !important;
    height: calc(100dvh - 64px - 2rem) !important;
    min-height: 420px;
    max-height: none;
}

.auth-brand .auth-brand__sub,
.auth-brand .auth-brand__features li { color: rgba(255, 255, 255, .9) !important; }

/* Giriş akışı başlıkları: tutarlı kalınlık */
.authentication-inner h3,
.authentication-inner h4,
.authentication-inner h5 { font-weight: 700; }

/* =====================================================================
   Tedarikçi teması: iş ortağı ağı + belge durumu kartı
   ===================================================================== */
.auth-brand--supplier .net-lines line {
    stroke: rgba(255, 255, 255, .28);
    stroke-width: 1.6;
    stroke-dasharray: 5 9;
    animation: authDash 3s linear infinite;
}

.auth-brand--supplier .net-nodes circle { fill: rgba(255, 255, 255, .92); }
.auth-brand--supplier .net-hub circle:not(.pulse) { fill: #ffd166; }
.auth-brand--supplier .net-hub .pulse {
    fill: rgba(255, 209, 102, .45);
    transform-box: fill-box;
    transform-origin: center;
    animation: authPulse 2.6s ease-out infinite;
}

.auth-brand--supplier .auth-brand__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-brand__tag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.auth-brand__card--docs { width: min(330px, 100%); }
.auth-brand__card--docs .auth-brand__card-title { margin-bottom: .75rem; color: #fff; }

.auth-brand__docs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.auth-brand__docs li {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .5rem .6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
}

.auth-brand__docs .doc-ico {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 9px;
    background: rgba(255, 255, 255, .2);
    font-size: 1.05rem;
}

.auth-brand__docs .doc-name { font-weight: 700; font-size: .92rem; }

.auth-brand__docs .doc-state {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.auth-brand__docs .doc-state--ok { background: rgba(80, 220, 150, .25); color: #c9ffe4; }
.auth-brand__docs .doc-state--wait { background: rgba(255, 209, 102, .95); color: #4a3200; }
.auth-brand .auth-brand__card-title { color: #fff !important; }

/* =====================================================================
   DataTables: marka rengi sayfalama, sıkı tablo modu, yumuşak satırlar
   ===================================================================== */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: var(--portal-radius-sm) !important;
    border: 0 !important;
    color: var(--portal-text) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent)) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(var(--portal-primary-rgb), .3);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.disabled):hover {
    background: rgba(var(--portal-primary-rgb), .08) !important;
    color: var(--portal-primary) !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: var(--portal-radius-sm);
    border: 1px solid var(--portal-border);
    padding: .45rem .75rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--portal-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--portal-primary-rgb), .15);
    outline: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-accent-bg: rgba(var(--portal-primary-rgb), .035); }

.table.portal-table-compact { font-size: .87rem; }
.table.portal-table-compact > :not(caption) > * > * { padding: .55rem .5rem; }
.table.portal-table-compact thead th {
    font-size: .7rem;
    letter-spacing: .02em;
    white-space: normal;
    line-height: 1.25;
}
.table.portal-table-compact td { overflow-wrap: anywhere; }
.table.portal-table-compact td:has(> a),
.table.portal-table-compact td:has(> .btn),
.table.portal-table-compact td:has(> .badge) { white-space: nowrap; overflow-wrap: normal; }
.table.portal-table-compact td .btn { padding: .3rem .6rem; font-size: .8rem; }

/* Bootstrap sayfalama (DataTables): aktif sayfa marka renginde, yazı beyaz */
.dataTables_wrapper .pagination .page-item.active .page-link,
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(var(--portal-primary-rgb), .3);
}

/* Mobil: dar sütunlar harf harf kırılmasın, tablo kendi kapsayıcısında kaysın */
@media (max-width: 575.98px) {
    .table.portal-table-compact td { overflow-wrap: break-word; min-width: 7.5rem; }
    .table.portal-table-compact td:first-child { min-width: 10rem; }
    .table.portal-table-compact th { min-width: 6rem; }
}

/* ===== Aktif Taşıma Listesi (#example) ===== */
#example { border-color: var(--portal-border); }
#example thead th {
    background: #1f2a44; color: #fff; font-size: 11.5px; font-weight: 600;
    letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
    padding: .65rem .5rem; border-color: rgba(255,255,255,.08);
}
#example thead th i.fas { font-size: .8rem !important; margin-right: .25rem; padding: 0 !important; opacity: .85; }
#example tbody tr { background: #fff; border: 0; border-radius: 0; box-shadow: none; transition: background .15s; }
#example tbody tr:nth-of-type(even) { background: #f7f9fd; }
#example tbody tr:hover { background: rgba(var(--portal-primary-rgb), .06); box-shadow: none; }
#example tbody td { font-size: 13px; padding: .5rem .5rem; vertical-align: middle; color: var(--portal-text); }
#example tbody td .badge { font-size: 12px; font-weight: 600; padding: .35rem .55rem; }
#example tbody td .badge i { font-size: .95rem !important; margin-right: .35rem !important; }
#example tbody td .btn-secondary {
    background: rgba(var(--portal-primary-rgb), .08); color: var(--portal-primary);
    border: 1px solid rgba(var(--portal-primary-rgb), .2); font-size: 12.5px; font-weight: 600;
    padding: .3rem .7rem; box-shadow: none;
}
#example tbody td .btn-secondary:hover { background: var(--portal-primary); color: #fff; border-color: var(--portal-primary); }
#example tbody td .button-container { display: inline-flex; gap: .3rem; }
#example tbody td .button-container .btn { margin: 0 !important; padding: .3rem .5rem; }
#example tbody td .button-container .btn .fas { font-size: .95rem !important; padding: 0 !important; }
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before {
    font-size: .7rem !important; width: 22px !important; height: 22px !important; line-height: 20px !important;
    color: var(--portal-primary) !important; background: rgba(var(--portal-primary-rgb), .08) !important;
    border: 1px solid rgba(var(--portal-primary-rgb), .25) !important; margin-right: 6px !important;
}
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before { color: #dc3545 !important; background: #fff5f5 !important; border-color: #f1b0b7 !important; }
table.dataTable > tbody > tr.child td { white-space: normal !important; background: #fff; }
#example tbody td .badge.bg-label-secondary { color: var(--portal-text); background: rgba(var(--portal-primary-rgb), .06); }
#example.table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-accent-bg: transparent; }
#example.table > tbody > tr > * { box-shadow: none !important; background-color: transparent !important; color: var(--portal-text); }
#example tbody td .badge { color: var(--portal-text) !important; }
