:root {
   --main-color: #002d74;
}

body {
  font-family: "Urbanist", sans-serif;
  line-height: 22px;
}

/* ─── Maç Logo Yardımcı Sınıfları ─────────────────────────────
   API'den gelen takım ve lig logolarının tutarlı gösterimi.
   onerror ile logo gelmezse otomatik gizlenir.
────────────────────────────────────────────────────────────── */
.match-team-logo-sm {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}
.match-team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}
.match-team-logo-lg {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.match-league-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    opacity: 0.9;
}

/* ─── Maç biletleri admin listesi ─────────────────────────── */
.mt-admin-table > tbody > tr > td {
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
    vertical-align: middle;
}
.mt-admin-table > tbody > tr:hover {
    background: #f8f9fb;
}
.mt-fx {
    display: grid;
    grid-template-columns: minmax(108px, 1fr) auto minmax(108px, 1fr);
    align-items: center;
    column-gap: 10px;
    min-width: 268px;
}
.mt-fx-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.mt-fx-team--home { justify-content: flex-end; }
.mt-fx-team--away { justify-content: flex-start; }
.mt-fx-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.25;
    color: #181c32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mt-fx-team--home .mt-fx-name { text-align: right; }
.mt-fx-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.mt-fx-score {
    min-width: 62px;
    text-align: center;
    font-weight: 800;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    color: #002d74;
    background: #eef2f8;
    border-radius: 8px;
    padding: 5px 10px;
    line-height: 1;
}
.mt-fx-score--vs {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #a1a5b7;
    background: transparent;
    padding: 5px 6px;
}
.mt-fx-meta {
    grid-column: 1 / -1;
    text-align: center;
    color: #7e8299;
    font-size: 0.78rem;
    margin-top: 6px;
    line-height: 1.3;
}
.mt-comp-name {
    font-weight: 600;
    font-size: 0.82rem;
    color: #3f4254;
    line-height: 1.3;
}
.mt-date-day {
    font-weight: 700;
    font-size: 0.85rem;
    color: #181c32;
    white-space: nowrap;
}
.mt-date-time {
    color: #7e8299;
    font-size: 0.78rem;
    margin-top: 2px;
}
.mt-lock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #7e8299;
    background: #f4f6fa;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}
.mt-apps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #7e8299;
    background: #f4f6fa;
}
.mt-apps.is-on {
    color: #002d74;
    background: #e8eef8;
}
.mt-actions {
    display: inline-flex;
    justify-content: flex-end;
    gap: 4px;
}

/* ─── Font Boyutu Minimum Sınırları ─────────────────────────────
   Tema varsayılanları çok küçük kalıyor; tüm sistemi etkiler.
     fs-7  = 0.95rem  ← hedef minimum
     fs-8  = 0.85rem  ← eskiden, şimdi fs-7 değeri
     fs-9  = 0.75rem  ← eskiden, şimdi fs-7 değeri
     fs-10 = 0.50rem  ← eskiden, şimdi fs-8 değeri
────────────────────────────────────────────────────────────── */
.fs-8  { font-size: 0.95rem !important; }
.fs-9  { font-size: 0.95rem !important; }
.fs-10 { font-size: 0.85rem !important; }

textarea,
input[type=text],
input[type=password],
input[type=datetime],
input[type=datetime-local],
input[type=date],
input[type=month],
input[type=time],
input[type=week],
input[type=number],
input[type=email],
input[type=url],
input[type=search],
input[type=tel],
input[type=color],
select, 
.swal2-popup {
    font-family: "Urbanist", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Urbanist", sans-serif;
  text-rendering: optimizeLegibility;
}

.main-color{color: var(--main-color);}
.main-color-hover:hover{color: var(--main-color) !important;}
.main-color-bg{background-color: var(--main-color) !important;}
.main-color-bg-hover:hover{background-color: var(--main-color) !important;}
.main-color-border{border-color: var(--main-color);}
.main-color-border-hover:hover{border-color: var(--main-color) !important;}

.office701-logo {width: 100px;}
.has-error {
    border-color: #b94a48 !important;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
.has-success {
    border-color: #50cd89 !important;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
    transition-delay: 1000ms;
}
.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: #555555;
    background: rgba(255, 255, 255, 0.9);
}
.closecookies {
    z-index: 2;
    position: absolute !important;
    right: 0 !important;
    border: none;
    background: transparent;
    font-size: 17px;
    padding: 0px;
}
.closeBtn {
    font-weight: bold;
    color: black;
}
.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0.9;
    border-style: none;
    visibility: hidden;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: #555;
    background: #fff;
    box-shadow: 0 0 10 0 rgb(0 0 0 / 24%);
    padding: 15px 10px 15px 5px;
}
.cookiealert.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
    transition-delay: 1000ms;
}
.cookiealert a {
    text-decoration: underline;
}
.cookiealert a:hover {
    color: var(--theme-color2);
}
.cookiealert .cookiealert-text {
    z-index: 1;
    padding: 15px 0px 0px 10px;
    margin: 0;
    width: 100%;
    font-size: 12px;
}

.cookiealert .cookiealert-text p {
    font-size: 13px;
    line-height: 1.5;
}
.cookiealert .full-width {
    width: 100%;
}
.cookiealert .pull-rightleft {
    text-align: center;
}
@media screen and (min-width: 991px) {
    .cookiealert {
        bottom: 10px;
        left: 18px;
        width: 400px;
        border-radius: 10px;
    }

    .cookiealert .cookiealert-text {
        width: 414px;
        line-height: 2;
        margin-bottom: 15px;
    }
}
@media (max-width: 768px) {
    .cookiealert .pull-rightleft {
        float: none;
        text-align: center;
    }
}

.tf-counter .icon img{
    width: 85px;
    height: 85px;
}

.status {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

.status.active {
    background-color: #d4edda;
    color: #155724;
}

.status.completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status.upcoming {
    background-color: #fff3cd;
    color: #856404;
}

.status.inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* Modern Dropzone Tasarımı */
.dropzone {
    border: 3px dashed rgba(0, 135, 247, 0.3);
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow-y: auto;
    max-height: 600px;
    min-height: 320px;
    display: block;
}

.dropzone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 135, 247, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.dropzone:hover {
    border-color: #0087F7;
    background: linear-gradient(135deg, #e8f4ff 0%, #f8f9ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 135, 247, 0.15);
}

.dropzone:hover::before {
    opacity: 1;
}

.dropzone.dz-drag-hover {
    border-color: #0056b3;
    background: linear-gradient(135deg, #d4ebff 0%, #e8f4ff 100%);
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 135, 247, 0.25);
}

/* Dropzone Scrollbar Styling */
.dropzone::-webkit-scrollbar {
    width: 8px;
}

.dropzone::-webkit-scrollbar-track {
    background: rgba(0, 135, 247, 0.05);
    border-radius: 10px;
}

.dropzone::-webkit-scrollbar-thumb {
    background: rgba(0, 135, 247, 0.3);
    border-radius: 10px;
}

.dropzone::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 135, 247, 0.5);
}

/* Dropzone Preview Container */
.dropzone .dz-preview-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.dropzone .dz-message {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 30px 0;
    font-weight: 500;
    z-index: 1;
    display: block;
}

.dropzone .dz-message .upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0087F7 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 135, 247, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.dropzone .dz-message .upload-icon i {
    font-size: 36px;
    color: white;
}

.dropzone .dz-message h5 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 15px 0 10px;
}

.dropzone .dz-message p {
    font-size: 14px;
    color: #6c757d;
    margin: 5px 0 0;
}

.dropzone .dz-message .supported-formats {
    display: inline-flex;
    gap: 8px;
    margin-top: 15px;
}

.dropzone .dz-message .format-badge {
    background: rgba(0, 135, 247, 0.1);
    color: #0087F7;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.dropzone .dz-preview {
    margin: 15px;
    min-height: 120px;
    display: inline-block;
    vertical-align: top;
}

.dropzone .dz-preview .dz-image {
    border-radius: 12px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.dropzone .dz-preview .dz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropzone .dz-preview .dz-details {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 10px;
}

.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.dropzone .dz-preview .dz-progress {
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
}

.dropzone .dz-preview .dz-progress .dz-upload {
    background: linear-gradient(90deg, #0087F7 0%, #00c6ff 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.dropzone .dz-preview .dz-remove {
    color: #dc3545;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropzone .dz-preview .dz-remove:hover {
    color: #a71d2a;
    transform: scale(1.1);
}

/* Gallery Grid (Dropzone sayfaları için - .gallery-grid parent gerekli) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-grid .gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.gallery-grid .gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.gallery-grid .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-grid .gallery-item:hover::before {
    opacity: 1;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-grid .gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-grid .gallery-item .delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(220, 53, 69, 0.95);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.gallery-grid .gallery-item:hover .delete-btn {
    opacity: 1;
    transform: scale(1);
}

.gallery-grid .gallery-item .delete-btn:hover {
    background: #dc3545;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6);
}

.gallery-grid .gallery-item .delete-btn:active {
    transform: scale(0.95);
}

/* Upload Progress Overlay */
.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.upload-overlay.active {
    display: flex;
}

.upload-progress-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    min-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.upload-progress-box .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 135, 247, 0.2);
    border-top-color: #0087F7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.upload-progress-box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.upload-progress-box p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.toggle-password{
    position: absolute;
    top: 40px;
    right: 20px;
    cursor: pointer;
    color: #6c757d;
}

.min-h-340px{min-height: 340px;}
.valid-error{
    border: solid 1px;
    border-color: #a22 !important;
}

/* ====== Dil Kartları Drag & Drop ====== */
.lang-drag-handle {
    cursor: grab;
    padding: 4px 2px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}
.lang-drag-handle:hover {
    background: #f1f1f4;
    cursor: grab;
}
.lang-drag-handle:hover i {
    color: #4e5cbb !important;
}
.lang-drag-handle:active {
    cursor: grabbing;
}
.lang-dragging {
    z-index: 999;
    transform: rotate(1.5deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18) !important;
}
.lang-dragging > .card {
    border-color: #4e5cbb !important;
    background: #fafaff;
}
.lang-sort-placeholder {
    border: 2px dashed #b5b5c3;
    border-radius: 12px;
    background: #f5f5ff;
    min-height: 120px;
    margin-bottom: 0;
}
.gallery-dropzone{border:2px dashed #e4e6ef;border-radius:8px;padding:28px 20px;text-align:center;cursor:pointer;transition:all .2s;background:#fafafa}
.gallery-dropzone:hover,.gallery-dropzone.dz-drag-hover{border-color:#009ef7;background:#f1faff}
.gallery-dropzone .dz-icon{font-size:2.2rem;color:#b5b5c3;margin-bottom:6px;transition:color .2s}
.gallery-dropzone.dz-drag-hover .dz-icon{color:#009ef7}
#dzPreviews{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;justify-content:center}
.dz-preview{width:72px;position:relative;border-radius:6px;overflow:hidden;border:1px solid #e4e6ef;background:#fff}
.dz-preview .dz-image{width:72px;height:54px;overflow:hidden}
.dz-preview .dz-image img{width:100%;height:100%;object-fit:cover}
.dz-preview .dz-progress{position:absolute;bottom:14px;left:3px;right:3px;height:3px;background:rgba(0,0,0,.12);border-radius:2px;overflow:hidden}
.dz-preview .dz-progress-bar{height:100%;background:#009ef7;width:0;transition:width .2s}
.dz-preview.dz-success .dz-progress-bar{background:#50cd89;width:100%}
.dz-preview.dz-error .dz-progress-bar{background:#f1416c;width:100%}
.dz-preview .dz-filename{font-size:9px;color:#a1a5b7;padding:2px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* ====== Post Galeri Kartları ====== */
#galleryContainer .gallery-item{
    margin-bottom:12px;
    position:relative;
}
#galleryContainer .gallery-thumb{
    position:relative;
    border-radius:10px;
    overflow:hidden;
    border:2px solid transparent;
    transition:all .25s ease;
    background:#f5f8fa;
    cursor:pointer;
}
#galleryContainer .gallery-thumb img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    display:block;
    transition:transform .3s ease;
}
#galleryContainer .gallery-thumb:hover img{
    transform:scale(1.05);
}

/* Overlay */
#galleryContainer .gallery-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.25) 100%);
    opacity:0;
    transition:opacity .25s ease;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:8px;
    z-index:3;
    pointer-events:none;
}
#galleryContainer .gallery-thumb:hover .gallery-overlay{
    opacity:1;
    pointer-events:auto;
}

/* Overlay Butonları */
#galleryContainer .gallery-overlay .btn{
    width:36px;
    height:36px;
    min-width:36px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.95);
    border:none;
    color:#3f4254;
    font-size:14px;
    line-height:1;
    padding:0;
    transition:all .2s ease;
    transform:translateY(8px);
    opacity:0;
    box-shadow:0 2px 8px rgba(0,0,0,.18);
    pointer-events:auto;
    position:relative;
    z-index:5;
}
#galleryContainer .gallery-overlay a.btn{
    width:36px;
    height:36px;
    min-width:36px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}
#galleryContainer .gallery-thumb:hover .gallery-overlay .btn{
    transform:translateY(0);
    opacity:1;
}
#galleryContainer .gallery-thumb:hover .gallery-overlay .btn:nth-child(1){transition-delay:.02s}
#galleryContainer .gallery-thumb:hover .gallery-overlay .btn:nth-child(2){transition-delay:.06s}
#galleryContainer .gallery-thumb:hover .gallery-overlay .btn:nth-child(3){transition-delay:.10s}
#galleryContainer .gallery-thumb:hover .gallery-overlay .btn:nth-child(4){transition-delay:.14s}
#galleryContainer .gallery-overlay .btn:hover{
    background:#009ef7;
    color:#fff;
    transform:translateY(0) scale(1.15);
    box-shadow:0 4px 14px rgba(0,158,247,.4);
}
#galleryContainer .gallery-overlay .btn:hover .text-danger{
    color:#fff!important;
}
#galleryContainer .gallery-overlay .gallery-delete-btn:hover{
    background:#f1416c;
    box-shadow:0 4px 14px rgba(241,65,108,.4);
}

/* Seçim */
#galleryContainer .gallery-item.selected .gallery-thumb{
    border-color:#009ef7;
    box-shadow:0 0 0 2px rgba(0,158,247,.35);
}
#galleryContainer .gallery-item.selected .gallery-check{
    display:flex!important;
}
#galleryContainer .gallery-check{
    display:none;
    position:absolute;
    top:6px;
    left:6px;
    z-index:4;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#009ef7;
    color:#fff;
    align-items:center;
    justify-content:center;
    font-size:10px;
    box-shadow:0 2px 6px rgba(0,158,247,.4);
}

/* Başlık */
.gallery-title{
    font-size:11px;
    color:#7e8299;
    margin-top:5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    padding:0 2px;
    text-align:center;
}

/* Sıralama Placeholder */
.gallery-sort-placeholder{
    background:#f1faff;
    border:2px dashed #009ef7;
    border-radius:10px;
    min-height:100px;
    margin-bottom:12px;
}

/* ====== Modal CKEditor Mini ====== */
#imgEditModalBody .ck-editor{margin-bottom:0}
#imgEditModalBody .ck.ck-editor__editable_inline{min-height:80px;max-height:200px}

/* ====== Jcrop ====== */
.jcrop-holder{-ms-touch-action:none;touch-action:none;direction:ltr;text-align:left}
.jcrop-vline,.jcrop-hline{background:#FFF url(../../_public/img/jcrop.gif);font-size:0;position:absolute}
.jcrop-vline{height:100%;width:1px!important}
.jcrop-vline.right{right:0}
.jcrop-hline{height:1px!important;width:100%}
.jcrop-hline.bottom{bottom:0}
.jcrop-tracker{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;height:100%;width:100%}
.jcrop-handle{background-color:#333;border:1px #EEE solid;font-size:1px;height:7px;width:7px}
.jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0}
.jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px}
.jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%}
.jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%}
.jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0}
.jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0}
.jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0}
.jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px}
.jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%}
.jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px}

.btn>i{display: inline-block !important;}

/* ===== Messages v2 ===== */

/* Card layout */
.c7-msg-card { display: flex; flex-direction: column; height: calc(100vh - 210px); min-height: 580px; }
.c7-msg-card-header { min-height: 56px; }
.c7-msg-body { flex: 1; overflow: hidden; }

/* ── Conv Panel (left) ── */
.c7-conv-panel {
    width: 300px; min-width: 240px;
    flex-shrink: 0;
    display: flex; flex-direction: column;
    border-right: 1px solid #f1f3f6;
    background: #fff; height: 100%;
}
.c7-conv-search { padding: 12px 14px; border-bottom: 1px solid #f1f3f6; flex-shrink: 0; }
.c7-conv-list   { flex: 1; overflow-y: auto; }

/* Conv items — replaces old .c7-conv-item */
.c7-conv-item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background .12s; user-select: none;
}
.c7-conv-item:hover  { background: #f8f9fa !important; }
.c7-conv-item.active { background: #eef7f8 !important; border-right: 3px solid #144c5c; }

.c7-conv-avatar {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.5px;
}
.c7-conv-avatar img { width: 100%; height: 100%; object-fit: cover; }

.c7-conv-info     { flex: 1; min-width: 0; }
.c7-conv-name     { font-weight: 600; font-size: 13px; color: #181c32; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c7-conv-time     { font-size: 11px; color: #a1a5b7; white-space: nowrap; flex-shrink: 0; }
.c7-conv-last-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 2px; }
.c7-conv-last     { font-size: 12px; color: #a1a5b7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.c7-conv-badge    {
    background: #144c5c; color: #fff; font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── Chat Panel (right) ── */
.c7-chat-panel {
    flex: 1; display: flex; flex-direction: column;
    min-width: 0; background: #f5f7fa; height: 100%;
}
.c7-chat-header {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px; border-bottom: 1px solid #f1f3f6;
    background: #fff; flex-shrink: 0; min-height: 62px;
}
.c7-chat-title    { font-weight: 700; font-size: 14.5px; color: #181c32; }
.c7-chat-subtitle { font-size: 12px; color: #a1a5b7; }

/* Placeholder */
.c7-chat-placeholder {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #c5ccd6; text-align: center; padding: 20px;
}

/* Messages scroll area */
.c7-chat-messages {
    flex: 1; overflow-y: auto;
    padding: 16px 20px;
    display: flex; flex-direction: column; gap: 2px;
    scroll-behavior: smooth;
}

/* Empty / loading states */
.c7-chat-empty {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    min-height: 200px; color: #a1a5b7; text-align: center;
}
.c7-loading-msgs { display: flex; align-items: center; justify-content: center; padding: 40px; color: #a1a5b7; }

/* ── Bubbles ── */
.c7-bubble-wrap {
    display: flex; align-items: flex-end; gap: 8px;
    max-width: 78%; margin-bottom: 2px;
}
.c7-bubble-wrap.mine   { margin-left: auto;  flex-direction: row-reverse; }
.c7-bubble-wrap.theirs { margin-right: auto; }

.c7-bubble { max-width: 100%; word-wrap: break-word; overflow-wrap: anywhere; }
.c7-bubble.mine   { background: #144c5c; color: #fff;    border-radius: 18px 18px 4px 18px; }
.c7-bubble.theirs { background: #fff;    color: #181c32; border-radius: 18px 18px 18px 4px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

.c7-bubble-body { padding: 9px 13px 4px; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; }
.c7-bubble-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding: 0 10px 7px; }
.c7-bubble-time { font-size: 10.5px; white-space: nowrap; }
.c7-bubble.mine   .c7-bubble-time { color: rgba(255,255,255,.5); }
.c7-bubble.theirs .c7-bubble-time { color: #b0b7c3; }
.c7-tick-wrap { display: inline-flex; align-items: center; }

/* Date separator */
.c7-date-sep { display: flex; align-items: center; justify-content: center; margin: 14px 0 10px; }
.c7-date-sep span { background: #e4e8ef; color: #8b95a5; font-size: 11px; font-weight: 500; padding: 3px 14px; border-radius: 20px; }

/* Typing */
.c7-typing-wrap  { display: flex; align-items: center; gap: 8px; padding: 6px 20px 4px; flex-shrink: 0; }
.c7-typing-dots  { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 12px; padding: 7px 10px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.c7-typing-dots span {
    width: 6px; height: 6px; border-radius: 50%; background: #a1a5b7;
    display: inline-block; animation: c7dots .9s infinite;
}
.c7-typing-dots span:nth-child(2) { animation-delay: .15s; }
.c7-typing-dots span:nth-child(3) { animation-delay: .30s; }
@keyframes c7dots { 0%,80%,100%{ transform:scale(1);opacity:.45 } 40%{ transform:scale(1.3);opacity:1 } }

/* Input area */
.c7-chat-input { flex-shrink: 0; padding: 10px 16px; border-top: 1px solid #f1f3f6; background: #fff; }
.c7-msg-textarea { resize: none; overflow-y: hidden; max-height: 120px; line-height: 1.5; }
.c7-send-btn { width: 42px; min-width: 42px; height: 42px; padding: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── Conv sub-item (company badge under person name) ── */
.c7-conv-sub { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.c7-conv-subname { font-size: 11px; color: #a1a5b7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.c7-comp-logo-mini { width: 16px; height: 16px; border-radius: 3px; object-fit: contain; flex-shrink: 0; }
.c7-comp-logo-mini-txt { width: 16px; height: 16px; border-radius: 3px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 9px; }

/* ── New Conversation Modal ── */
.c7-nc-group { border-bottom: 1px solid #f1f3f6; }
.c7-nc-group:last-child { border-bottom: 0; }
.c7-nc-group-label {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 20px 6px;
    font-size: 11px; font-weight: 700; color: #7e8299;
    text-transform: uppercase; letter-spacing: .5px;
    background: #f8f9fa;
    position: sticky; top: 0; z-index: 1;
}
.c7-nc-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 20px; cursor: pointer;
    transition: background .12s;
}
.c7-nc-item:hover { background: #f5f8fa; }
.c7-nc-item.disabled { opacity: .55; pointer-events: none; }
.c7-nc-avatar {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.c7-nc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.c7-nc-avatar span {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; color: #fff;
}
.c7-nc-info { flex: 1; min-width: 0; }
.c7-nc-name { font-weight: 600; font-size: 13px; color: #181c32; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c7-nc-role { font-size: 11px; color: #a1a5b7; }

/* Dark mode additions */
[data-bs-theme="dark"] .c7-nc-group-label { background: #1b1b29; }
[data-bs-theme="dark"] .c7-nc-item:hover  { background: #1f1f2f; }
[data-bs-theme="dark"] .c7-nc-name        { color: #cdcfe3; }
[data-bs-theme="dark"] .c7-conv-subname   { color: #5e6282; }
[data-bs-theme="dark"] .c7-nc-group       { border-color: #2b2b40; }

/* Dark mode */
[data-bs-theme="dark"] .c7-conv-panel,
[data-bs-theme="dark"] .c7-chat-header,
[data-bs-theme="dark"] .c7-chat-input  { background: #1e1e2d; border-color: #323248; }
[data-bs-theme="dark"] .c7-conv-item:hover  { background: #28283e !important; }
[data-bs-theme="dark"] .c7-conv-item.active { background: #1b3345 !important; }
[data-bs-theme="dark"] .c7-conv-name        { color: #cdcfe3; }
[data-bs-theme="dark"] .c7-chat-panel       { background: #151521; }
[data-bs-theme="dark"] .c7-bubble.theirs    { background: #2b2b40; color: #cdcfe3; box-shadow: none; }
[data-bs-theme="dark"] .c7-date-sep span    { background: #2a2a3c; color: #8b95a5; }
[data-bs-theme="dark"] .c7-typing-dots      { background: #2b2b40; }
[data-bs-theme="dark"] .c7-chat-placeholder { color: #4a4a6a; }

/* ===== / Messages v2 ===== */

/* ── Bubble action buttons (kopyala / sil) ── */
.c7-bubble-wrap { position: relative; }
/* Butonlar bubble'ın ÜSTÜNDE, yatay sıralı */
.c7-bubble-actions {
    display: none;
    flex-direction: row; gap: 4px;
    position: absolute;
    bottom: calc(100% + 4px);  /* bubble'ın hemen üstü */
    top: auto;
    z-index: 20;
}
.c7-bubble-wrap.mine   .c7-bubble-actions { right: 42px; left: auto; }
.c7-bubble-wrap.theirs .c7-bubble-actions { left:  42px; right: auto; }
.c7-bubble-wrap:hover  .c7-bubble-actions { display: flex; }
.c7-bubble-wrap:hover  { z-index: 5; }  /* sibling mesajların üstünde göster */
.c7-action-btn {
    width: 28px; height: 28px; padding: 0;
    border: 1px solid #e4e8ef; border-radius: 7px;
    background: #fff; color: #7e8299;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .12s, color .12s;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.c7-action-btn:hover        { background: #f5f8fa; color: #181c32; }
.c7-action-delete:hover     { background: #fff0f0; color: #e74c3c; border-color: #f5c0c0; }

/* ── File bubble ── */
.c7-bubble-file { padding: 6px 10px; }
.c7-file-img {
    max-width: 220px; max-height: 200px; border-radius: 10px;
    display: block; object-fit: contain; cursor: pointer;
}
/* Resim sarmalayıcı (yükleniyor overlayı için) */
.c7-img-wrap { position: relative; display: inline-block; line-height: 0; }
.c7-img-wrap.c7-img-uploading .c7-file-img { opacity: .65; }
/* Yükleniyor overlay (spinner) */
.c7-upload-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.3); border-radius: 10px;
    pointer-events: none;
}
/* Yükleniyor spinner — büyük (resimler için) */
.c7-upload-spinner {
    width: 30px; height: 30px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    animation: c7spin .7s linear infinite;
}
/* Yükleniyor spinner — küçük (dosya satırı için) */
.c7-upload-spinner-sm {
    width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: rgba(255,255,255,.85);
    animation: c7spin .7s linear infinite;
}
@keyframes c7spin { to { transform: rotate(360deg); } }
/* Dosya satırı yüklenirken */
.c7-file-uploading { opacity: .75; pointer-events: none; cursor: default; }
/* Yükleme hata mesajı */
.c7-file-upload-err {
    display: flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: rgba(255,255,255,.75); padding: 6px 2px;
}
.c7-file-caption {
    font-size: 13px; margin-top: 6px; word-break: break-word; line-height: 1.4;
}
.c7-bubble.mine .c7-file-caption  { color: rgba(255,255,255,.92); }
.c7-bubble.theirs .c7-file-caption { color: #181c32; }
.c7-file-link {
    display: flex; align-items: center;
    text-decoration: none; padding: 4px 6px;
    border-radius: 8px; transition: background .12s;
}
.c7-bubble.mine .c7-file-link { color: rgba(255,255,255,.85); }
.c7-bubble.theirs .c7-file-link { color: #181c32; }
.c7-file-link:hover { background: rgba(0,0,0,.07); }
.c7-file-name { font-size: 12.5px; word-break: break-all; max-width: 200px; }

/* ── File preview bar ── */
.c7-file-preview {
    border-bottom: 1px solid #f1f3f6;
    padding: 6px 12px;
    background: #f8f9fa;
}
.c7-fp-wrap {
    display: flex; align-items: center; gap: 10px;
}
.c7-fp-img {
    max-height: 54px; max-width: 80px; border-radius: 6px; object-fit: contain;
}
.c7-fp-name { font-size: 12px; color: #181c32; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c7-fp-clear {
    width: 22px; height: 22px; border: 0; background: #e4e8ef; border-radius: 50%;
    cursor: pointer; font-size: 14px; line-height: 1; color: #7e8299;
    display: flex; align-items: center; justify-content: center;
}
.c7-fp-clear:hover { background: #d0d3e0; }

/* ── In-conversation search bar ── */
.c7-chat-search {
    padding: 8px 16px;
    border-bottom: 1px solid #f1f3f6;
    background: #fff;
    flex-shrink: 0;
}

/* ── Search highlight ── */
mark.c7-search-hl {
    background: #ffe083; color: #181c32; border-radius: 3px; padding: 0 2px;
}
.c7-bubble-wrap.c7-search-current .c7-bubble {
    outline: 2px solid #f6a623; outline-offset: 2px; border-radius: 18px;
}

/* Dark mode */
[data-bs-theme="dark"] .c7-action-btn   { background: #1e1e2d; border-color: #323248; color: #a1a5b7; }
[data-bs-theme="dark"] .c7-action-btn:hover { background: #2b2b40; color: #cdcfe3; }
[data-bs-theme="dark"] .c7-file-preview { background: #1b1b29; border-color: #323248; }
[data-bs-theme="dark"] .c7-fp-name      { color: #cdcfe3; }
[data-bs-theme="dark"] .c7-fp-clear     { background: #323248; color: #a1a5b7; }
[data-bs-theme="dark"] .c7-chat-search  { background: #1e1e2d; border-color: #323248; }
[data-bs-theme="dark"] mark.c7-search-hl { background: #a07d00; color: #fff; }

/* ===== Live Search Dropdown ===== */
#kt_header_search { position: relative; }
.c7-search-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e4e6ef;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0,0,0,.12);
	z-index: 1055;
	max-height: 480px;
	overflow-y: auto;
	min-width: 320px;
}
[data-bs-theme="dark"] .c7-search-dropdown {
	background: #1e1e2d;
	border-color: #323248;
}
.c7-ls-group-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #a1a5b7;
	padding: 10px 14px 4px;
}
.c7-ls-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	text-decoration: none;
	color: #181c32;
	transition: background .12s;
	cursor: pointer;
}
.c7-ls-item:hover { background: #f9fafb; color: #181c32; text-decoration: none; }
[data-bs-theme="dark"] .c7-ls-item { color: #cdcfe3; }
[data-bs-theme="dark"] .c7-ls-item:hover { background: #2b2b40; color: #cdcfe3; }
.c7-ls-icon { flex-shrink: 0; width: 24px; text-align: center; }
.c7-ls-text { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-grow: 1; }
.c7-ls-text mark { background: #fff3cd; padding: 0 1px; border-radius: 2px; }
.c7-ls-meta { font-size: 11px; color: #a1a5b7; white-space: nowrap; }
.c7-ls-footer { padding: 8px 14px 10px; border-top: 1px solid #f1f3f6; }
/* ===== / Live Search Dropdown ===== */

/* ===== Chat Drawer ===== */
/* NOT: #kt_drawer_chat.drawer — .drawer sınıfı KTDrawer init sonrası gelir;
   sınıf olmadan selector kullanmak sayfayı yüklenirken drawer'ı görünür yapar */
#kt_drawer_chat.drawer { display: flex !important; flex-direction: column; }
#kt_drawer_chat_messenger { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; height: 100%; }
#c7DrawerList, #c7DrawerChat { flex: 1 1 auto; min-height: 0; }
#c7DrawerConvListWrap { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
#c7DrawerMsgs { flex: 1 1 auto; min-height: 0; overflow-y: auto; scroll-behavior: smooth; }

.c7-conv-panel-drawer { display: flex; flex-direction: column; gap: 0; }

.c7-conv-item--drawer {
    border-bottom: 1px solid var(--bs-border-color, #f1f3f6);
    transition: background .15s;
    cursor: pointer;
}
.c7-conv-item--drawer:hover { background: var(--bs-light, #f9f9f9); }
[data-bs-theme=dark] .c7-conv-item--drawer:hover { background: rgba(255,255,255,.04); }

.c7-conv-avatar--sm {
    width: 36px; height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; color: #fff;
}
.c7-conv-avatar--sm img { width: 100%; height: 100%; object-fit: cover; }

#c7DrawerWsStatus { font-size: 10px; padding: 3px 8px; }
#c7DrawerInput { border-radius: 8px; resize: none; transition: height .1s; }

/* Drawer bubble styles (shares .c7-bubble-row etc with main chat) */
#c7DrawerMsgs .c7-bubble-row { display: flex; margin-bottom: 8px; }
#c7DrawerMsgs .c7-bubble--out { justify-content: flex-end; }
#c7DrawerMsgs .c7-bubble--in  { justify-content: flex-start; }
#c7DrawerMsgs .c7-bubble { max-width: 82%; }
#c7DrawerMsgs .c7-bubble-out { background: #3699ff; color: #fff; border-radius: 14px 14px 0 14px; padding: 8px 12px; font-size: 13px; }
#c7DrawerMsgs .c7-bubble-in  { background: var(--bs-light, #f4f5f6); color: var(--bs-body-color, #181c32); border-radius: 14px 14px 14px 0; padding: 8px 12px; font-size: 13px; }
[data-bs-theme=dark] #c7DrawerMsgs .c7-bubble-in { background: #2b2b40; color: #cdcfda; }
#c7DrawerMsgs .c7-bubble-meta { font-size: 10px; opacity: .65; text-align: right; margin-top: 3px; display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
/* ===== / Chat Drawer ===== */

/* =====================================================
   PAYMENTS PAGE
   ===================================================== */

/* Detay popup etiket */
.detail-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #a1a5b7;
    margin-bottom: 4px;
}

/* Taksit seçeneği satırları */
.installment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 6px;
    transition: border-color .15s, background .15s;
    font-size: 13px;
}
.installment-item:hover              { border-color: var(--main-color); background: #f5f8ff; }
.installment-item.selected           { border-color: var(--main-color); background: #eef2ff; }
.installment-item.selected .inst-lbl { color: var(--main-color); font-weight: 700; }
.inst-lbl  { font-weight: 600; }
.inst-amt  { color: #78829d; font-size: 12px; }

/* Taksit yükleniyor */
#installmentsWrap .inst-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a5b7;
    font-size: 13px;
    padding: 10px 0;
}

/* Ödeme modalı özet satırı */
.pay-summary-bar {
    background: #f9fafb;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.pay-summary-bar .ps-label { font-size: 11px; color: #a1a5b7; }
.pay-summary-bar .ps-value { font-weight: 700; color: #181c32; }

/* Kart tipi ikonu konteyneri */
#ccTypeIcon img { vertical-align: middle; }
/* ===== / PAYMENTS PAGE ===== */

/* ===== NETWORK PAGE ===== */
.offers-list .offer-item:last-child { border-bottom: none !important; }
.offers-list .offer-item { transition: background .15s; }
.offers-list .offer-item:hover { background-color: #f9f9f9; }
/* ===== / NETWORK PAGE ===== */

/* ── Aside Sidebar Scroll Fix ── */
#kt_aside,
.aside#kt_aside {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    max-height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
}
#kt_aside_logo,
.aside-logo#kt_aside_logo {
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0 6px;
}
/* Metronic centers aside-menu (clips items) — force scrollable column */
#kt_aside_menu_container.aside-menu,
#kt_aside_menu_container,
.aside .aside-menu#kt_aside_menu_container {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    width: 100% !important;
    /* display: block !important;
    align-items: stretch !important; */
    justify-content: flex-start !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 8px;
}
#kt_aside_menu_wrapper {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    align-items: stretch !important;
}
#kt_aside_menu,
.aside .aside-menu .menu#kt_aside_menu {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}
#kt_aside_menu .menu-item,
.aside .aside-menu .menu > .menu-item {
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
    /* margin-bottom: 0.35rem !important; */
}
#kt_aside_menu .menu-item > .menu-link .menu-icon {
    width: 48px !important;
    height: 48px !important;
}
#kt_aside_footer,
.aside-footer#kt_aside_footer {
    flex-shrink: 0 !important;
    padding-top: 6px;
    padding-bottom: 10px;
}

/* Tahmin Ligi */
.prediction-widget .prediction-choice-btn {
    min-width: 72px;
    font-size: 0.75rem;
    font-weight: 600;
}
.prediction-widget--compact .prediction-choice-btn {
    min-width: 64px;
    padding: 0.35rem 0.5rem;
}
.prediction-champion-banner {
    border: 0;
}
.prediction-champion-accent {
    height: 4px;
    background: linear-gradient(90deg, #c9a227, #1a3c6e);
}
.prediction-champion-trophy {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff8e1, #ffe082);
    color: #c9a227;
    font-size: 1.6rem;
}

.tribune-option { transition: all .15s; cursor: pointer; }
.tribune-option:hover { border-color: #009ef7 !important; background: rgba(0,158,247,.05); }
.tribune-option input { pointer-events: none; }

.block-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 2px solid #e4e6ef;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: .85rem;
    transition: all .15s;
    user-select: none;
}
.block-btn input { display: none; }
.block-btn:hover { border-color: #009ef7; color: #009ef7; }
.block-btn.active { border-color: #009ef7; background: #e8f4fd; color: #006cbf; }

/* ========================================================
   EVENTS MODULE — Etkinlikler Modülü
   ======================================================== */

/* ── Etkinlik Kart (grid görünüm — eski, artık kullanılmıyor ama korunuyor) ── */
.event-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,.1) !important;
}
.event-date-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 0 10px;
    color: #fff;
}
.event-date-day   { font-size: 2rem; font-weight: 800; line-height: 1; }
.event-date-month { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.event-date-year  { font-size: .7rem; opacity: .8; }

/* ── Etkinlik Liste Kartı (yeni, yatay düzen) ── */
.event-list-card {
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s, transform .15s;
    cursor: pointer;
    border: 1px solid #eef0f8 !important;
}
.event-list-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.09) !important;
    transform: translateY(-2px);
}
.event-list-past { opacity: .7; }
.event-list-past:hover { opacity: 1; }

/* Sol tarih şeridi */
.event-list-date-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    width: 64px;
    flex-shrink: 0;
    color: #fff;
    padding: 12px 8px;
    text-align: center;
}
.event-list-date-day   { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.event-list-date-month { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: .9; }
.event-list-date-year  { font-size: .6rem; opacity: .7; margin-top: 2px; }

/* Koltuk rozeti renkleri */
.event-seat-badge {
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 10px;
}
.badge-warning { background: #fff3cd; color: #664d03; border: 1px solid #ffc107; }
.badge-info    { background: #cff4fc; color: #055160; border: 1px solid #0dcaf0; }
.badge-primary { background: #cfe2ff; color: #084298; border: 1px solid #9ec5fe; }
.badge-success { background: #d1e7dd; color: #0a3622; border: 1px solid #a3cfbb; }

/* Detay sayfası tarih kutusu */
.event-date-box {
    min-width: 64px;
    background: #f5f8fa;
    border-radius: 10px;
    padding: 10px 12px;
    border: 2px solid #e8f0fe;
}

/* ── RSVP Seçenekleri ── */
.rsvp-options      { display: flex; flex-direction: column; gap: 8px; }
.rsvp-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e4e6ef;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: .875rem;
    transition: all .15s;
    user-select: none;
}
.rsvp-option input { display: none; }
.rsvp-option:hover { border-color: #009ef7; background: rgba(0,158,247,.04); }
.rsvp-option.rsvp-active { border-color: #009ef7; background: #e8f4fd; color: #006cbf; }

/* ── Koltuk Planı ── */
.seat-stage {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px 8px 0 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
}
.seat-stage::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: rgba(26,26,46,.1);
    border-radius: 0 0 50% 50%;
}
.seat-stage-label {
    color: rgba(255,255,255,.7);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.seat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
    gap: 6px;
    padding: 8px 0;
}

/* ── Temel Koltuk ── */
.seat-cell {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s, opacity .15s;
    position: relative;
    border: 2px solid #e4e6ef;
    background: #fff;
    color: #5e6278;
    font-size: .7rem;
    font-weight: 700;
    user-select: none;
}

/* Boş koltuk hover */
.seat-cell.seat-available:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 2;
}
/* Dolu koltuk hover (admin yine tıklayabilir) */
.seat-cell.seat-assigned:hover {
    transform: scale(1.06);
    box-shadow: 0 3px 10px rgba(0,0,0,.22);
    z-index: 2;
    opacity: .85;
}
/* Seçili — turuncu çerçeve */
.seat-cell.seat-selected {
    transform: scale(1.15) !important;
    box-shadow: 0 0 0 3px #f6a01a, 0 4px 16px rgba(246,160,26,.35) !important;
    z-index: 3;
}

/* ── BOŞ KOLTUKLAR: belirgin, beyaz, davetkar ── */
.seat-sponsor.seat-available  {
    background: #fffdf5;
    border-color: #ffc107;
    border-style: dashed;
    color: #9a6f00;
}
.seat-protocol.seat-available {
    background: #f5fdff;
    border-color: #0dcaf0;
    border-style: dashed;
    color: #0a6070;
}
.seat-member.seat-available {
    background: #fff;
    border-color: #c8cde4;
    color: #6b7280;
}

/* ── DOLU / ATANMIŞ KOLTUKLAR: koyu doluluk hissi ── */
.seat-sponsor.seat-assigned {
    background: linear-gradient(145deg, #ffc107 0%, #e6a500 100%);
    border-color: #c48a00;
    color: #3d2a00;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,.2);
}
.seat-protocol.seat-assigned {
    background: linear-gradient(145deg, #0dcaf0 0%, #08afd4 100%);
    border-color: #067290;
    color: #012a35;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,.2);
}
.seat-member.seat-assigned {
    background: linear-gradient(145deg, #3b5bdb 0%, #2845c4 100%);
    border-color: #1a33a0;
    color: #fff;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,.25);
}

/* Rezerve */
.seat-reserved {
    background: linear-gradient(145deg,#ff9800,#e68900) !important;
    border-color: #b56a00 !important;
    color: #fff !important;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,.2) !important;
}
/* Satıldı */
.seat-sold {
    background: linear-gradient(145deg,#e91e63,#c2185b) !important;
    border-color: #880e4f !important;
    color: #fff !important;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,.2) !important;
}

/* Bekleyen üye pulse efekti */
@keyframes seatPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,158,247,.5); }
    50%       { box-shadow: 0 0 0 5px rgba(0,158,247,.08); }
}
.seat-cell.seat-pulse {
    animation: seatPulse 1.4s ease-in-out infinite;
    border-color: #009ef7 !important;
    border-style: solid !important;
}

.seat-num          { font-size: .65rem; font-weight: 800; line-height: 1; }
.seat-user-initial {
    position: absolute;
    top: 2px; right: 4px;
    font-size: .55rem;
    font-weight: 800;
    opacity: .8;
}

/* ── Lejant ── */
.seat-legend {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 20px;
    font-size: .75rem; font-weight: 600;
    border: 2px solid transparent;
}
.seat-sponsor-bg  { background: #fffdf5; border-color: #ffc107; border-style: dashed; color: #9a6f00; }
.seat-protocol-bg { background: #f5fdff; border-color: #0dcaf0; border-style: dashed; color: #0a6070; }
.seat-member-bg   { background: #fff; border-color: #c8cde4; color: #6b7280; }
.seat-assigned-bg { background: linear-gradient(145deg,#3b5bdb,#2845c4); border-color: #1a33a0; color: #fff; }

/* ── Yaklaşan Etkinlikler Widget (Ana Sayfa) ── */
.upcoming-event-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #e4e6ef;
    transition: background .15s;
}
.upcoming-event-item:last-child { border-bottom: none; padding-bottom: 0; }
.upcoming-event-date-mini {
    min-width: 44px; text-align: center;
    background: #f5f8fa;
    border-radius: 8px;
    padding: 6px 4px;
    border: 1px solid #e4e6ef;
    flex-shrink: 0;
}
.upcoming-event-date-mini .mini-day   { font-size: 1.15rem; font-weight: 800; line-height: 1; color: #181c32; }
.upcoming-event-date-mini .mini-month { font-size: .62rem; text-transform: uppercase; color: #7e8299; font-weight: 600; }

/* ========================================================
   / EVENTS MODULE
   ======================================================== */


/* ========================================================
   CV HAVUZU MODULE
   ======================================================== */

/* CV kart grid */
.cv-card-item .card {
    transition: transform .15s, box-shadow .2s;
    border: 1px solid #eef0f8 !important;
}
.cv-card-item .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,.09) !important;
}

/* Yetenekler önizleme */
#skillsPreview .badge { font-size: .75rem; border-radius: 20px; }

/* İlan kartı */
.req-item {
    border-radius: 12px;
    transition: box-shadow .15s, transform .12s;
    cursor: default;
}
.req-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,.08) !important;
    transform: translateY(-1px);
}

/* Başvuru kart */
#tabApps .card, .col-md-6 > .card { border: 1px solid #eef0f8 !important; }

.fbiad-home-btn i{
    position: relative;
    left: -5px;
}

/* ─────────────────────────────────────────────
   Live Search Dropdown — c7SearchDropdown
───────────────────────────────────────────── */
#c7SearchDropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.13);
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 380px;
    scrollbar-width: thin;
}
#c7SearchDropdown::-webkit-scrollbar { width: 4px; }
#c7SearchDropdown::-webkit-scrollbar-thumb { background: #d1d3e0; border-radius: 4px; }

/* Arama kutusunun kapsayıcısı relative olmalı */
#kt_header_search {
    position: relative !important;
}

.c7sd-loading {
    padding: 20px;
    text-align: center;
    color: #7e8299;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.c7sd-empty {
    padding: 32px 20px;
    text-align: center;
    color: #a1a5b7;
    font-size: .85rem;
}

.c7sd-section {
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
}
.c7sd-section:last-of-type {
    border-bottom: none;
}

.c7sd-section-title {
    padding: 8px 16px 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #a1a5b7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.c7sd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-decoration: none;
    color: inherit;
    transition: background .1s;
}
.c7sd-item:hover {
    background: #f5f8ff;
    color: inherit;
    text-decoration: none;
}

.c7sd-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.c7sd-item-body {
    flex: 1;
    min-width: 0;
}

.c7sd-item-title {
    font-size: .8rem;
    font-weight: 600;
    color: #181c32;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.c7sd-item-title mark {
    background: #fff3cd;
    border-radius: 2px;
    padding: 0;
}

.c7sd-item-sub {
    font-size: .72rem;
    color: #a1a5b7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.c7sd-all-results {
    display: block;
    padding: 10px 16px;
    font-size: .8rem;
    font-weight: 600;
    color: #009ef7;
    text-align: center;
    background: #f5f8ff;
    border-top: 1px solid #e4e6ef;
    text-decoration: none;
    border-radius: 0 0 12px 12px;
    transition: background .15s;
}
.c7sd-all-results:hover {
    background: #e8f4fd;
    text-decoration: none;
    color: #0078c8;
}

/* Turnuva — takım kartları */
.tournament-team-card {
    transition: box-shadow .2s ease, transform .2s ease;
}
.tournament-team-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(26, 60, 110, 0.12) !important;
}
.tournament-team-card-accent {
    display: block;
}
.tournament-team-logo-wrap {
    width: 56px;
    height: 56px;
    background: #f9f9f9;
}
.tournament-team-logo-wrap img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.tournament-fixture-team {
    min-width: 0;
}

/* Sezon kurulumu — takım seçim grid */
.tournament-season-team-pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.tournament-season-team-pick {
    cursor: pointer;
    margin: 0;
}
.tournament-season-team-pick-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    border: 1px dashed #e4e6ef;
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s, background .15s;
    position: relative;
    min-height: 110px;
}
.tournament-season-team-pick:hover .tournament-season-team-pick-inner {
    border-color: var(--team-color, #1a3c6e);
    box-shadow: 0 4px 12px rgba(26, 60, 110, 0.08);
}
.tournament-season-team-pick.is-selected .tournament-season-team-pick-inner {
    border: 2px solid var(--team-color, #1a3c6e);
    background: color-mix(in srgb, var(--team-color, #1a3c6e) 6%, #fff);
    box-shadow: 0 4px 14px rgba(26, 60, 110, 0.1);
}
.tournament-season-team-pick-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid color-mix(in srgb, var(--team-color, #1a3c6e) 25%, transparent);
}
.tournament-season-team-pick-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.tournament-season-team-pick-name {
    font-size: .8rem;
    font-weight: 600;
    color: #3f4254;
    text-align: center;
    line-height: 1.25;
    word-break: break-word;
}
.tournament-season-team-pick-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--team-color, #1a3c6e);
    color: #fff;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
}
.tournament-season-team-pick.is-selected .tournament-season-team-pick-check {
    display: flex;
}

/* Sezon kurulumu — kadro blokları */
.tournament-squad-team-block {
    background: #fff;
}
.tournament-squad-team-logo img {
    border-radius: 50%;
}
.tournament-squad-player {
    transition: background .15s;
}
.tournament-squad-player:hover {
    background: #f1f3f8 !important;
}
.tournament-squad-empty {
    border: 1px dashed var(--bs-border-color);
}

.tournament-squad-select2-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}

.tournament-squad-select2-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.tournament-squad-select2-option {
    min-height: 32px;
}

.select2-container--bootstrap5 .select2-selection--single .tournament-squad-select2-option {
    line-height: 1.2;
}

.tournament-match-datetime.form-control[readonly] {
    background-color: var(--bs-body-bg);
    cursor: pointer;
}

.tournament-champion-banner {
    position: relative;
    border: 0;
}
.tournament-champion-banner-accent {
    height: 4px;
}
.tournament-champion-trophy {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
    color: #c9a227;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.25);
}

/* FBİAD login — OTP kutuları */
#loginMethodTabs .nav-link {
    border-radius: 0.75rem;
    color: #5e6278;
    background: #f5f8fa;
}
#loginMethodTabs .nav-link.active {
    background: var(--bs-primary, #0047ba);
    color: #fff;
}

.fbiad-otp-digit {
    width: 48px;
    height: 56px;
    padding: 0;
    border-radius: 10px;
    border: 2px solid #e4e6ef;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.fbiad-otp-digit:focus {
    border-color: #0047ba;
    box-shadow: 0 0 0 3px rgba(0, 71, 186, 0.15);
}
.fbiad-otp-timer strong {
    color: #0047ba;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 420px) {
    .fbiad-otp-digit {
        width: 42px;
        height: 50px;
        font-size: 1.25rem !important;
    }
    #authOtpInputs {
        gap: 0.35rem !important;
    }
}

/* ─── Maç detayı ───────────────────────────────────────────── */
.md-hero {
    background:
        radial-gradient(1100px 420px at 50% -30%, rgba(244, 208, 63, 0.22), transparent 62%),
        linear-gradient(165deg, #001433 0%, #002d74 48%, #001a3a 100%);
    color: #fff;
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 26, 68, 0.22);
}
.md-hero .md-comp {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    font-weight: 700;
}
.md-score {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}
.md-tabs {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    flex-wrap: wrap;
}
.md-tabs .nav-link {
    color: #5e6278;
    border: 0;
    padding: 1rem 1.4rem;
}
.md-tabs .nav-link.active {
    color: #002d74;
    background: transparent;
    box-shadow: inset 0 -3px 0 #002d74;
}
.md-pitch-wrap {
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 50%),
        #0a3a1c;
    border-radius: 1rem;
    overflow: hidden;
}
.md-pitch-wrap .card-header,
.md-pitch-wrap .card-body { background: transparent; }
.md-pitch-wrap .card-header {
    display: block;
}
.md-pitch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}
.md-pitch-team {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.md-coach {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}
.md-coach img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.55);
    background: #123;
}
.md-pitch {
    position: relative;
    height: 560px;
    padding: 14px 8px 16px;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background:
        repeating-linear-gradient(
            to bottom,
            #1d9146 0 12.5%,
            #167a3b 12.5% 25%
        );
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.22);
}
.md-pitch::before,
.md-pitch::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.md-pitch::before {
    top: 50%;
    width: 92px;
    height: 92px;
    margin-top: -46px;
    border: 2px solid rgba(255,255,255,.38);
    border-radius: 50%;
}
.md-pitch::after {
    top: 50%;
    width: 100%;
    border-top: 2px solid rgba(255,255,255,.32);
}
.md-pitch-rows {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
}
.md-pitch-row {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.md-player {
    width: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.md-ava {
    position: relative;
    width: 56px;
    height: 56px;
}
.md-shirt {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,.32);
    background: #1a1a1a;
}
.md-shirt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.md-shirt.md-out { opacity: 0.55; filter: grayscale(0.4); }
.md-num {
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    min-width: 24px;
    height: 20px;
    padding: 0 6px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    line-height: 16px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
    z-index: 3;
    font-variant-numeric: tabular-nums;
}
.md-cap, .md-rate {
    position: absolute;
    z-index: 4;
    font-size: 10px;
    font-weight: 800;
    border-radius: 8px;
    padding: 2px 5px;
    line-height: 1.15;
    border: 1px solid rgba(255,255,255,.45);
}
.md-cap { top: -6px; left: -8px; background: #f4d03f; color: #111; }
.md-rate { top: -7px; right: -10px; background: #111; color: #fff; }
.md-rate.good { background: #0d9f4b; }
.md-rate.ok { background: #e0b424; color: #111; }
.md-pname {
    margin-top: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    max-width: 84px;
    text-shadow: 0 1px 3px rgba(0,0,0,.75);
}
.md-pmeta {
    color: rgba(255,255,255,.8);
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
}
.md-player .md-tip { display: none !important; }
.md-tip-float {
    display: none;
    position: fixed;
    width: 220px;
    background: #0b1220;
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 11px;
    text-align: left;
    z-index: 4000;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
    pointer-events: none;
}
.md-tip-float.is-on { display: block; }
.md-tip-float strong { display: block; margin-bottom: 4px; }
.md-bench { display: flex; flex-wrap: wrap; gap: 8px; }
.md-bench-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.12);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    font-size: 12px;
    font-weight: 600;
}
.md-bench-chip img {
    width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
}
.md-bench-num {
    min-width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.md-ev {
    position: relative;
    padding: 4px 0;
}
.md-ev::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eef0f4;
    transform: translateX(-50%);
}
.md-ev-row {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}
.md-ev-min {
    text-align: center;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #002d74;
    background: #fff;
    border: 2px solid #e4e6ef;
    border-radius: 999px;
    padding: 4px 0;
    font-size: 12px;
    z-index: 1;
}
.md-ev-side {
    background: #f9fafb;
    border-radius: 12px;
    padding: 10px 12px;
    min-height: 52px;
}
.md-ev-side.home { text-align: right; border-right: 3px solid #002d74; }
.md-ev-side.away { text-align: left; border-left: 3px solid #c0392b; }
.md-ev-side.empty { background: transparent; min-height: 0; padding: 0; border: 0; }
.md-stat-bar {
    height: 10px;
    background: #eef0f4;
    border-radius: 99px;
    overflow: hidden;
    display: flex;
}
.md-stat-bar span { display: block; height: 100%; }
.md-stat-bar .h { background: #002d74; }
.md-stat-bar .a { background: #c0392b; margin-left: auto; }
.md-radar-wrap { max-width: 420px; margin: 0 auto; }
.md-ptable { font-size: 12px; }
.md-ptable th { white-space: nowrap; font-size: 11px; }
.md-ptable td { white-space: nowrap; vertical-align: middle; }
.md-ptable .good { background: #e8f8ef !important; color: #0d9f4b; }
.md-ptable .ok { background: #fff8e1 !important; color: #8a6d00; }
.md-kpi {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(16,24,40,.05);
    text-align: center;
    height: 100%;
}
.md-kpi .v { font-size: 1.6rem; font-weight: 800; color: #002d74; }
@media (max-width: 991px) {
    .md-pitch { height: 460px; }
    .md-player { width: 68px; }
    .md-ava, .md-shirt { width: 46px; height: 46px; }
    .md-ev-row { grid-template-columns: 1fr 48px 1fr; }
    .md-tip-float { display: none !important; }
}