/* Yazıdan sonra gelecek bayrak stili */
#dynamic-flag-container {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    /* Yazı ile bayrak arası boşluk */
}

#dynamic-flag-container img {
    height: 30px;
    width: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow: var(--t-flag-shadow);
    border: 1px solid var(--t-flag-border);
    object-fit: cover;
}

/* Mobilde bayrak biraz küçülsün */
@media (max-width: 991px) {
    #dynamic-flag-container img {
        height: 18px;
    }
}

.navbarrenk {
    background: var(--t-surface-navbar) !important;
}

.buttonRenk {
    background: var(--t-surface-navbar-2) !important;
}

/* Navbar düzen */
.navbar {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    /* logo-yazı arası açıldı */
    padding: 0;
    margin: 0;
}

.logo-img {
    height: 3.6vw;
    aspect-ratio: 1/1;
    display: block;
}

.logo-text {
    font-family: 'Pretoria', sans-serif;
    font-size: 32px;
    letter-spacing: 1px;
    /* 2 çok açıyor, boşluk hissi veriyor */
    line-height: 1;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    color: var(--t-text-white);
}

/* Footer içindeki logo yazısı taştığında ... koymasın, TEK SATIRDA KALSIN, font küçülsün */
footer .d-flex.align-items-center {
    flex-wrap: nowrap !important;
    /* Asla alt satıra geçmesin (resim + yazı) */
}

footer .logo-text,
.footer-logo .logo-text {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    /* Akıllı font boyutu: Mobilde (400px civarı) 14px'e kadar düşer, masaüstünde 24px */
    font-size: clamp(14px, 4vw, 24px) !important;
    line-height: 1 !important;
    word-break: normal !important;
}

/* TABLET VE KÜÇÜK LAPTOP ARA GEÇİŞ (768px - 1200px) */
/* Bu aralıkta 3 kolon yan yana sığışmaya çalışırken logo taşıyor. Fontu zorla küçültelim. */
@media (min-width: 768px) and (max-width: 1200px) {

    footer .logo-text,
    .footer-logo .logo-text {
        font-size: 16px !important;
        /* Bu aralıkta güvenli boyut */
    }

    footer .footer-logo img {
        height: 30px !important;
        /* Logoyu da biraz orantılı küçültelim */
    }
}

/* Menü araları biraz topar */
.navbar-nav {
    gap: 18px;
}

/* Mobilde yazı küçülsün taşmasın ve ortalansın */
@media (max-width: 991px) {
    :root {
        --navbar-mobile-height: 70px;
    }

    .navbar {
        min-height: var(--navbar-mobile-height);
        z-index: 1060;
        /* Offcanvas'ın (1045) üzerinde kalsın */
    }

    .navbar>.container-fluid {
        flex-wrap: nowrap;
        /* Asla alt satıra geçmesin */
        gap: 10px;
        /* Elemanlar arası boşluk */
    }

    .navbar-brand {
        flex-grow: 1;
        /* Ortadaki boşluğu doldursun */
        width: auto;
        justify-content: center;
        /* Ortala */
        min-width: 0;
        /* Shrink için gerekli */
        margin: 0 !important;
        /* Margin sıfırla */
    }

    .logo-img {
        height: clamp(28px, 8vw, 40px);
        /* Mobilde iyice küçülsün - clamp ile kalıp olarak ufalır */
        max-width: 100%;
        /* Taşmayı engelle */
        object-fit: contain;
    }

    .logo-text {
        font-size: clamp(16px, 4vw, 22px);
        /* Yazı da küçülsün */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* Sığmazsa ... koysun */
    }

    #dynamic-flag-container img {
        height: clamp(20px, 5vw, 28px);
        width: auto;
        margin-left: 5px;
    }

    .navbar-toggler {
        margin-left: 0;
        /* Auto'yu kaldır, zaten sağda */
        border: none;
        padding: 4px 8px;
        /* Biraz küçült */
        position: relative;
        z-index: 1062;
        /* Ensure it is above brand if overlap occurs */
    }

    .navbar-shrink {
        box-shadow: var(--t-navbar-shrink-shadow);
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Yan menü butonu varsa onun da stili */
    #mobileSidebarToggleBtn {
        padding: 4px 8px;
    }

    /* Offcanvas Ayarları - Navbar Altına Açılması İçin */
    .offcanvas {
        top: var(--navbar-mobile-height) !important;
        height: calc(100vh - var(--navbar-mobile-height)) !important;
        /* Backdrop navbarın altında kalsın diye z-index ayarı bootstrap default yetmezse */
    }

    .offcanvas-backdrop {
        top: var(--navbar-mobile-height);
        /* Backdrop da aşağıdan başlasın */
    }

    /* Bootstrap offcanvas z-index = 1045. Backdrop = 1040. */
}

/* --- SPECIAL MOBILE RULES FOR < 437px --- */
@media (max-width: 437px) {
    .navbar-brand {
        /* Kalıp olarak küçültme: Zoom veya scale */
        /* Transform scale kullanırsak layout boşluğu kalabilir,
            bu yüzden font-size ve height değerlerini orantılı kısıtlayacağız. */
        gap: 8px !important;
        /* Araları iyice sıkılaştır */
    }

    .logo-img {
        height: 32px !important;
        /* Sabit küçük boy */
    }

    .logo-text {
        font-size: 18px !important;
        /* Okunabilir min sınır */
    }

    #dynamic-flag-container img {
        height: 24px !important;
        width: 24px !important;
    }
}

/* --- EXTRA SMALL MOBILE < 331px --- */
@media (max-width: 331px) {
    .navbar-brand {
        gap: 5px !important;
        /* Boşluk minimuma */
    }

    .logo-img {
        height: 28px !important;
        /* Daha da küçük */
    }

    .logo-text {
        font-size: 15px !important;
        /* Minimum okunabilirlik */
    }

    #dynamic-flag-container img {
        height: 20px !important;
        width: 20px !important;
    }
}


/* --- NAVBAR SHRINK ANIMATION (DESKTOP ONLY) --- */
/* Mobile'da zaten çok küçük (22px), shrink ile 45px yapıp büyütmemeli */
@media (min-width: 992px) {

    /* Navbar base transition */
    .navbar {
        transition: all 0.4s ease-in-out;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    /* Shrink state */
    .navbar-shrink {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        box-shadow: var(--t-hero-title-shadow);
        /* Hafif gölge ekle */
    }

    /* Logo transition */
    .logo-img {
        transition: all 0.3s ease;
    }

    .navbar-shrink .logo-img {
        height: 45px !important;
        /* 70px'den 45px'e düşür */
    }

    /* Text transition */
    .logo-text {
        transition: all 0.3s ease;
    }

    .navbar-shrink .logo-text {
        font-size: 24px !important;
        /* 32px'den 24px'e düşür */
    }
}

@font-face {
    font-family: 'Pretoria';
    src: url('assets/Pretoria Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --- GENEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--t-bg-body);
    color: var(--t-text-body);
}

a {
    text-decoration: none;
    color: inherit;
}


/* --- HEADER & VIDEO --- */
header {
    position: relative;
    height: 100vh;
    /* Tam ekran */
    min-height: 500px;
    /* Alçak ekranlar (örn: 1366x636) için düşürüldü */
    color: var(--t-text-white);
    overflow: hidden;
    overflow: hidden;
}

/* Kısa ekranlar için dikey optimizasyon (1366x768/636px gibi) */
@media (max-height: 750px) {
    .hero-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .lead {
        font-size: 16px;
        margin-bottom: 20px !important;
    }

    .circle-menu {
        margin-top: 20px;
        gap: 15px;
    }

    .circle-img {
        width: 90px;
        height: 90px;
    }

    .circle-item {
        width: 140px;
    }

    .btn-circle {
        font-size: 12px;
        padding: 4px 15px;
    }
}

/* Circle Image Link - Makes background images clickable */
.circle-img-link {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.circle-img-link:hover {
    transform: scale(1.05);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.6); */
    z-index: -1;
}

/* Navbar z-index handled above */



@media (min-width: 991px) {
    .text-lg-white {
        color: var(--t-text-lg-white) !important;
    }

    .border-lg-white {
        border-color: var(--t-border-lg-white) !important;
    }
}

.navbar-nav .nav-link {
    font-size: 14px;
    text-transform: uppercase;
    /* Color handled by utility classes in HTML or specific overrides */
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--t-accent) !important;
}

/* SADECE MOBİL (991px ve altı) İÇİN MENÜ STİLLERİ */
@media (max-width: 991px) {

    /* Mobil menü arka planı */
    /* Offcanvas Header Gradient */
    .offcanvas-header {
        background: var(--t-offcanvas-header-bg);
        color: var(--t-text-white);
    }

    .offcanvas-body {
        background: var(--t-surface-navbar-2) !important;
    }

    /* Link Tasarımları */
    .offcanvas-body .nav-link {
        color: var(--t-nav-link-color) !important;
        padding: 12px 15px;
        border-radius: 8px;
        transition: all 0.2s ease;
        font-weight: 500;
        display: block;
        /* Tam satır kaplasın */
        width: 100%;
    }

    /* Link Hover */
    .offcanvas-body .nav-link:hover,
    .offcanvas-body .nav-link:focus {
        background-color: var(--t-nav-link-hover-bg) !important;
        color: var(--t-text-white) !important;
        padding-left: 20px;
    }

    /* Dil Butonu (Form içinde olduğu için özel ayar) */
    .offcanvas-body #lang-form {
        width: 100%;
        display: block;
    }

    .offcanvas-body #langToggle {
        text-align: left;
        background-color: transparent;
        border: none;
        /* Diğer linklerle aynı stil zaten nav-link classından gelecek,
           ama display:block ve width:100% garanti edelim */
    }
}

.navbar-toggler {
    border: 1px solid var(--t-toggler-border) !important;
    background-color: transparent !important;
    color: var(--t-text-white) !important;
    padding: 6px 10px;
}

.navbar-toggler i {
    color: var(--t-text-white) !important;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Menu açıldığında (aria-expanded="true") hamburger butonunu gizle */
.navbar-toggler[aria-expanded="true"] {
    display: none;
}

.btn-custom-register {
    background-color: transparent;
    border: 1px solid var(--t-white-trans-med);
    color: var(--t-text-white);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-custom-register:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--t-text-white);
    color: var(--t-text-white) !important;
}

.btn-custom-login {
    /* Navbarrenk sınıfı bg veriyor, biz border ekleyelim */
    border: 1px solid var(--t-white-trans-med);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.btn-custom-login:hover {
    border-color: var(--t-text-white);
    background-color: var(--t-btn-login-hover-bg);
}

/* 1200px altı için düzenlemeler */
@media (max-width: 1200px) and (min-width: 991px) {
    .navbar-nav {
        gap: 10px;
        /* Link aralarını biraz kıs */
    }

    .navbar-brand {
        gap: 10px;
    }

    .logo-text {
        font-size: 24px;
        /* Logoyu biraz küçült ki butonlara yer kalsın */
    }

    #auth-buttons {
        gap: 5px !important;
    }

    .btn-custom-register,
    .btn-custom-login {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 13px !important;
    }
}

/* Hero Content */
.yazıorta100 {
    margin: 100px;
}

.yazıorta {
    margin: 70px;
}

.fs-36 {
    font-size: 36px;
}

.fs-16 {
    font-size: 16px;
}

.hero-content {
    position: relative;
    z-index: 1;
    /* padding-top removed in favor of flex centering */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.textShadowHeroTitle {
    text-shadow: 0 2px 4px var(--t-hero-title-shadow);
}

@media (max-width: 768px) {
    .fs-36 {
        font-size: 24px !important;
        text-align: center;
    }

    .yazıorta {
        margin: 85px auto 10px auto !important;
        text-align: center;
    }

    .textShadowHeroTitle {
        text-align: center;
    }
}


/* Daire Menü */
.circle-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.circle-item {
    text-align: center;
    width: 180px;
}

.circle-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--t-text-white);
    background-size: cover;
    background-position: center;
    margin: 0 auto 15px;
    border: 4px solid var(--t-white-trans-04);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--t-shadow-strong);
    transition: transform 0.3s;
}

.circle-item:hover .circle-img {
    transform: scale(1.05);
    border-color: var(--t-accent);
}

.circle-text {
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.btn-circle {
    background: var(--t-accent-gradient);
    color: var(--t-text-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-circle:hover {
    background: var(--t-accent-gradient-hover);
    opacity: 0.9;
}

/* --- İLANLAR KART TASARIMI --- */
.ilanlar-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--t-title-accent);
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* ===== TENDER CARDS - MODERN PREMIUM DESIGN ===== */
.tender-card {
    border: 1px solid var(--t-tender-card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--t-tender-card-shadow);
    transition: all 0.3s ease;
    background: var(--t-bg-card);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tender-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--t-tender-card-hover-shadow);
    border-color: var(--t-accent);
}

.tender-header {
    padding: 24px 24px 16px 24px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background: var(--t-tender-header-bg);
    border-bottom: 1px solid var(--t-tender-header-border);
    min-height: 120px;
}

.tender-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--t-grad-butonrenk, linear-gradient(135deg, #1e4066, #3b82f6));
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.1;
    z-index: 2;
    box-shadow: var(--t-shadow-primary-sm);
}

.tender-date strong {
    display: block;
    font-size: 20px;
    color: var(--t-text-white);
    font-weight: 700;
}

.tender-date span {
    font-size: 11px;
    color: var(--t-tender-date-text);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tender-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--t-tender-title);
    line-height: 1.45;
    margin-top: 50px;
    padding: 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tender-body {
    padding: 20px 24px 24px 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.tender-content {
    flex-grow: 1;
}

/* Type Badge - Pill Style */
.tender-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--t-tender-type-badge-bg), var(--t-tender-type-badge-border));
    color: var(--t-accent);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid var(--t-tender-type-badge-border);
}

.tender-type-badge i {
    font-size: 13px;
}

/* Meta Row - Country + Time Combined */
.tender-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--t-tender-meta);
}

.tender-country,
.tender-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tender-country i,
.tender-time i {
    font-size: 14px;
    color: var(--t-tender-icon);
}

/* Description with Line Clamp */
.tender-desc {
    font-size: 14px;
    color: var(--t-tender-desc);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CTA Button - Theme Colored */
.tender-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--t-grad-butonrenk, linear-gradient(135deg, #1e4066, #3b82f6));
    color: var(--t-text-white);
    font-weight: 600;
    font-size: 12px;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--t-shadow-primary-sm);
    margin-top: auto;
}

.tender-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--t-shadow-primary);
    color: var(--t-text-white);
    text-decoration: none;
}

.tender-cta i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.tender-cta:hover i {
    transform: translateX(4px);
}

/* Legacy Classes (keep for backward compatibility) */
.tender-type {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--t-accent);
}

.tender-location {
    font-size: 13px;
    color: var(--t-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.time-badge {
    font-size: 11px;
    color: var(--t-text-light);
    margin-bottom: 15px;
    display: block;
}

.tender-link {
    color: var(--t-text-body);
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
    border: 1px solid var(--t-border-medium);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
}

.tender-link:hover {
    background-color: var(--t-title-accent);
    color: var(--t-text-white);
    text-decoration: none;
    border-color: var(--t-title-accent);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tender-header {
        padding: 20px 20px 12px 20px;
        min-height: 100px;
    }

    .tender-date {
        padding: 6px 10px;
    }

    .tender-date strong {
        font-size: 18px;
    }

    .tender-title {
        font-size: 15px;
        margin-top: 32px;
    }

    .tender-body {
        padding: 16px 20px 20px 20px;
    }

    .tender-meta {
        flex-direction: column;
        gap: 6px;
    }

    .tender-cta {
        width: 100%;
        padding: 14px 24px;
    }
}

/* --- KATEGORİLER SLIDER (MEVCUT) --- */
.categories-section {
    padding: 60px 0;
    background-color: var(--t-bg-card);
    overflow: hidden;
}

.categories-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 40px;
}

.slider-container {
    width: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    width: calc(250px * 16);
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 8));
    }
}

.category-card {
    width: 230px;
    height: 140px;
    background: var(--t-bg-card);
    border: 1px solid var(--t-border-light);
    border-radius: 15px;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--t-shadow-category);
    flex-shrink: 0;
}

.category-card i {
    color: var(--t-accent);
    margin-bottom: 15px;
}

.category-card span {
    font-weight: 600;
    color: var(--t-text-body);
    font-size: 15px;
}

/* --- KULLANICI YORUMLARI SLIDER (YENİ) --- */
.testimonials-section {
    padding: 80px 0;
    background: var(--t-testimonials-bg);
    /* Mavi Arkaplan */
    color: var(--t-text-white);
    overflow: hidden;
    /* Taşmayı gizle */
}

.testimonials-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 50px;
}

/* Yorumlar için Slider Yapısı */
.testimonial-slider-container {
    width: 100%;
    position: relative;
    padding: 20px 0;
    /* Kartların gölgeleri kesilmesin diye boşluk */
}

.testimonial-slider-track {
    display: flex;
    width: calc(430px * 10);
    animation: scroll-testimonials 40s linear infinite;
}

.testimonial-card-wrapper {
    width: 400px;
    margin: 0 15px;
    /* Kartlar arası boşluk */
    flex-shrink: 0;
    /* Küçülmeyi engelle */
    height: auto;
    display: flex;
    /* İçteki kartın tam boy olmasını sağlar */
}

.testimonial-card {
    background: var(--t-bg-card);
    color: var(--t-text-body);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    /* Wrapper'ı doldur */
    height: 100%;
    /* Wrapper'ı doldur */
    position: relative;
    box-shadow: var(--t-shadow-testimonial);
}

.testimonial-stars {
    color: var(--t-star-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    font-size: 18px;
    color: #1a237e;
}

/* Yorumlar için Kayma Animasyonu */
@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-430px * 5));
    }
}

@media (max-width: 768px) {
    .testimonial-card-wrapper {
        width: 320px;
        margin: 0 10px;
    }

    .testimonial-slider-track {
        width: calc(340px * 10);
    }

    @keyframes scroll-testimonials {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-340px * 5));
        }
    }
}


/* --- NEDEN MEDICA TENDERS? (FEATURES) --- */
.about-section {
    padding: 80px 0;
    background: var(--t-bg-card);
}

.about-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--t-title-accent);
    margin-bottom: 50px;
}

.feature-card {
    border: 1px solid var(--t-border-light);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 24px;
    color: var(--t-accent);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--t-accent);
    margin-bottom: 15px;
}

.feature-text {
    font-size: 14px;
    color: var(--t-feature-text);
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer-height {
    height: 17px;
}

.footer-fs {
    font-size: 22px;
}

footer {
    background-color: var(--t-footer-bg);
    color: var(--t-text-light);
    padding: 60px 0 20px;
    font-size: 13px;
}

.footer-logo img {
    height: 40px;
    /*margin-bottom: 20px;*/
}

.footer-links h4 {
    color: var(--t-text-white);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li:hover {
    color: var(--t-text-white);
    cursor: pointer;
}

.bottom-bar {
    border-top: 1px solid var(--t-bottom-bar-border);
    padding-top: 20px;
    margin-top: 40px;
}

/* --- CANLI DESTEK MODAL STYLES --- */
.modal-live-support .modal-content {
    /* TEMA ENTEGRASYONU */
    background: var(--t-grad-support-modal);
    color: var(--t-text-white);
    border-radius: 8px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.modal-live-support .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-live-support .modal-title {
    font-family: 'Times New Roman', Times, serif;
    /* Görseldeki serif fontu */
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.support-desc {
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.4;
    opacity: 0.9;
}

.modal-live-support .form-control {
    border-radius: 8px;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modal-live-support .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.captcha-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.captcha-img {
    background-color: #eee;
    padding: 5px 15px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 5px;
    color: var(--t-color-policy-text);
    border-radius: 4px;
    user-select: none;
    text-decoration: line-through;
}

.btn-glossy {
    background: var(--t-grad-glossy) !important;
    border: 1px solid var(--t-btn-glossy-border) !important;
    color: var(--t-text-white);
    font-weight: bold;
    padding: 8px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}

.btn-glossy:hover {
    background: var(--t-grad-glossy-hover) !important;
    transform: translateY(-1px);
    color: var(--t-text-white);
}

.btn-glossy-cancel {
    background: var(--t-grad-glossy-cancel) !important;
    border: 1px solid var(--t-btn-glossy-cancel-border) !important;
}

.btn-glossy-cancel:hover {
    background: var(--t-grad-glossy-cancel-hover) !important;
}

/* --- SAYFA BAŞLIKLARI --- */
.page-header-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}


/* --- HEADER SHORT VARIATION --- */
.header-short {
    height: 250px !important;
    min-height: 250px !important;
    display: flex;
    flex-direction: column;
}

/* --- İLETİŞİM SAYFASI ÖZEL CSS --- */
.contact-section {
    padding: 60px 0;
    background-color: var(--t-bg-card);
    min-height: calc(100vh - 250px);
}

/* İkon Kutuları */
.contact-info-box {
    text-align: center;
    padding: 30px 15px;
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.contact-info-box:hover {
    transform: translateY(-5px);
}

.mavicolor {
    color: var(--t-primary-base);
}

.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--t-icon-color);
    /* Kurumsal Lacivert */
}

.contact-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--t-primary-base);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.contact-text {
    font-size: 14px;
    color: var(--t-text-muted);
    line-height: 1.5;
}

.contact-text strong {
    display: block;
    margin-bottom: 5px;
    color: var(--t-text-body);
}

/* Form ve Harita Başlıkları */
.section-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--t-primary-base);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-desc {
    font-size: 14px;
    color: var(--t-color-section-desc);
    margin-bottom: 30px;
}

/* Form Elemanları */
.form-control-contact {
    background-color: var(--t-bg-body);
    border: 1px solid var(--t-border-medium);
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    width: 100%;
}

.form-control-contact:focus {
    outline: none;
    border-color: var(--t-primary-base);
    background-color: var(--t-bg-card);
    box-shadow: 0 0 0 3px rgba(var(--t-primary-rgb), 0.1);
}

.btn-submit {
    background-color: var(--t-btn-submit-bg);
    color: var(--t-text-white);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: var(--t-btn-submit-hover);
    transform: translateY(-2px);
}

/* Harita */
.map-container {
    width: 100%;
    height: 350px;
    background-color: var(--t-border-light);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--t-border-medium);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.office-hours {
    background-color: var(--t-badge-soft-bg, #e3f2fd);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--t-primary-base);
    border-left: 4px solid var(--t-border-office-hours);
}

#hero-video-container {
    position: fixed;
    /* Veya absolute, tasarımına göre */
    top: -400px;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    /* İçeriğin arkasında kalması için */
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header {
    position: relative;
    z-index: 1;
    background: transparent;
    /* Navigasyonun video üzerinde görünmesi için */
}

.mission-vision-card {
    padding: 40px;
    background-color: var(--t-bg-body);
    border-radius: 15px;
    border: 1px solid var(--t-border-light);
    height: 100%;
    transition: transform 0.3s;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.mv-icon {
    font-size: 40px;
    color: var(--t-info-accent);
    margin-bottom: 20px;
}

.mv-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--t-text-body);
    margin-bottom: 15px;
}

/* --- HAKKIMIZDA İÇERİK (EKLENDİ) --- */
.content-section {
    padding: 80px 0;
    background-color: var(--t-bg-card);
}

.text-justify {
    text-align: justify;
}

.content-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.content-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--t-accent);
    border-radius: 2px;
}

.custom-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--t-color-policy-text);
}

.custom-list li::before {
    content: '\f00c';
    /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--t-accent);
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* --- PAKETLER SECTİON (EKLENDİ) --- */
.pricing-section {
    padding: 80px 0;
    /* Koyu arka plan */
    color: var(--t-text-white);
}

.pricing-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.pricing-intro p {
    opacity: 0.8;
    font-size: 16px;
}

.pricing-card {
    background-color: var(--t-text-white);
    color: var(--t-text-body);
    border-radius: 25px;
    /* Referanstaki gibi yuvarlak köşeler */
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

/* Hover Efekti ve Altın Çerçeve */
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--t-shadow-pricing-hover);
    border-color: var(--t-border-pricing);
    /* Sarı/Gold çerçeve */
}

/* Ortadaki Kart (Popüler) */
.pricing-card.popular {
    border: 2px solid var(--t-border-pricing);
    /* Varsayılan olarak sarı çerçeve */
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--t-btn-pricing-hover-bg);
    color: var(--t-text-body);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: var(--t-hero-title-shadow);
}

.pkg-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--t-primary-base);
}

.pkg-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
    /* Butonu aşağı itmek için */
}

.pkg-features li {
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--t-color-policy-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pkg-features li i {
    color: var(--t-feature-check);
    /* Yeşil tik */
}

.pkg-features li.disabled {
    color: var(--t-text-light);
    text-decoration: line-through;
}

.pkg-features li.disabled i {
    color: var(--t-feature-disabled);
}

.btn-pricing {
    background-color: transparent;
    color: var(--t-text-body);
    border: 2px solid var(--t-border-pricing);
    /* Referanstaki gibi sarı çerçeveli buton */
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
    width: 100%;
}

.btn-pricing:hover {
    background-color: var(--t-btn-pricing-hover-bg);
    color: var(--t-primary-base);
    text-decoration: none;
}

/* --- KAYIT BÖLÜMÜ-giriş-şifre CSS --- */
.register-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 60px 0;
    overflow: hidden;
}

.formcolor {
    background: var(--t-surface-form);
}

.kartposition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

.split-background-uyeol-genislik {
    height: 18%;
}

.split-background-giris-genislik {
    height: 30%;
}

.split-background-sifremi-unuttum-genislik {
    height: 36%;
}

.register-card-custom {
    background-color: var(--t-text-white);
    width: 100%;
    max-width: 800px;
    /* Form genişletildi */
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--t-shadow-2xl);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* --- FORM SECTION STYLES --- */
.form-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #8898aa;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.form-section-desc {
    font-size: 13px;
    color: var(--t-text-muted);
    margin-bottom: 15px;
    margin-top: -10px;
}

.custom-input-group {
    margin-bottom: 20px;
    position: relative;
}

.custom-input-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--t-input-label-primary);
    text-transform: uppercase;
    margin-bottom: 6px;
    margin-left: 5px;
}

.required-star {
    color: var(--t-required-star);
    margin-left: 3px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--t-input-icon);
    font-size: 14px;
    transition: color 0.3s;
    z-index: 5;
}

.custom-form-control {
    width: 100%;
    background-color: var(--t-input-bg);
    border: 1px solid var(--t-input-border);
    padding: 12px 15px 12px 45px;
    font-size: 14px;
    color: var(--t-text-body);
    border-radius: 8px;
    transition: all 0.3s ease;
    appearance: none;
    /* Select okunu gizle veya özelleştir */
}

/* Select için ok ikonu ekleme */
select.custom-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.custom-form-control:focus {
    outline: none;
    background-color: var(--t-text-white);
    border-color: var(--t-border-color);
    box-shadow: 0 0 0 4px rgba(var(--t-primary-rgb), 0.1);
}

.custom-form-control:focus+.input-icon {
    color: var(--t-primary-base);
}

.custom-form-control::placeholder {
    color: #adb5bd;
    opacity: 0.8;
}

/* --- CHECKBOX GRID --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.form-check-custom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border: 1px solid var(--t-checkbox-border);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--t-accent);
    border-color: var(--t-accent);
}

.form-check-label-custom {
    font-size: 13px;
    color: var(--t-input-label-primary);
    cursor: pointer;
    user-select: none;
}

.butonrenk {
    background: var(--t-grad-butonrenk);
}

.btn-submit-custom {
    width: 100%;
    color: var(--t-text-white);
    font-weight: 700;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}


.btn-submit-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.register-footer-links {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    border-top: 1px solid var(--t-border-light);
    padding-top: 20px;
}

.register-footer-links a {
    color: var(--t-primary-base);
    font-weight: 700;
    margin-left: 5px;
}

.register-footer-links a:hover {
    color: var(--t-accent);
    text-decoration: underline;
}

/* --- GİRİŞ BÖLÜMÜ ÖZEL CSS (EKLENDİ) --- */
.login-wrapper {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 60px 0;
}

.login-card-custom {
    background-color: var(--t-text-white);
    width: 100%;
    max-width: 480px;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: var(--t-shadow-2xl);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.form-title-custom {
    text-align: center;
    color: var(--t-primary-base);
    font-weight: 800;
    font-size: 26px;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: 1.5px;
    position: relative;
}

.form-title-custom::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--t-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.login-footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    font-size: 13px;
    border-top: 1px solid var(--t-border-light);
    padding-top: 20px;
}

.login-footer-links a {
    color: var(--t-primary-base);
    font-weight: 600;
}

.login-footer-links a:hover {
    color: var(--t-accent);
    text-decoration: underline;
}

/* Hata mesajı stili */
#loginErrorMsg {
    color: var(--t-error-msg);
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    display: none;
    /* Başlangıçta gizli */
}

.custom-input-group {
    margin-bottom: 25px;
    position: relative;
}

.custom-input-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #8898aa;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    margin-left: 5px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--t-input-icon);
    font-size: 14px;
    transition: color 0.3s;
}

.custom-form-control {
    width: 100%;
    background-color: #f7fafc;
    border: 1px solid #dee2e6;
    padding: 15px 15px 15px 45px;
    font-size: 14px;
    color: var(--t-color-policy-text);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-form-control:focus {
    outline: none;
    background-color: var(--t-text-white);
    border-color: var(--t-primary-base);
    box-shadow: 0 0 0 4px rgba(var(--t-primary-rgb), 0.1);
    transform: translateY(-2px);
}

.custom-form-control:focus+.input-icon {
    color: var(--t-primary-base);
}

.custom-form-control::placeholder {
    color: #adb5bd;
}

.form-check-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    margin-left: 5px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border: 1px solid var(--t-checkbox-border);
    cursor: pointer;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--t-primary-base);
    border-color: var(--t-primary-base);
}

.form-check-label-custom {
    font-size: 13px;
    color: var(--t-input-label-primary);
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}


.btn-submit-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* --- ŞİFRE SIFIRLAMA EKSİK STİLLERİ --- */
.info-text {
    color: var(--t-text-muted);
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.back-to-login {
    display: block;
    margin-top: 25px;
    font-size: 13px;
    color: #8898aa;
    font-weight: 600;
}

.back-to-login i {
    margin-right: 5px;
    transition: transform 0.3s;
}

.back-to-login:hover {
    color: var(--t-primary-base);
}

.back-to-login:hover i {
    transform: translateX(-3px);
}

/* --- KULLANIM ŞARTLARI İÇERİK --- */
.terms-section {
    padding: 80px 0;
    background-color: var(--t-text-white);
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-content h3 {
    color: var(--t-primary-base);
    font-weight: 700;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--t-border-office-hours);
    padding-left: 15px;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--t-color-policy-text);
    margin-bottom: 15px;
    text-align: justify;
}

.terms-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.terms-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--t-color-policy-text);
}

.terms-content ul li::before {
    content: '•';
    font-weight: bold;
    position: absolute;
    left: 0;
    color: var(--t-primary-base);
}

.intro-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--t-text-body);
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* --- GİZLİLİK POLİTİKASI İÇERİK --- */
.policy-section {
    padding: 80px 0;
    background-color: var(--t-text-white);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h3 {
    color: var(--t-primary-base);
    font-weight: 700;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--t-color-policy-text);
    margin-bottom: 15px;
    text-align: justify;
}

.policy-content ul {
    list-style: none;
    padding-left: 0;
}

.policy-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--t-color-policy-text);
}

.policy-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--t-accent);
    font-size: 12px;
}

.contact-highlight {
    background-color: #f8f9fa;
    border-left: 4px solid #1e4066;
    padding: 20px;
    margin-top: 30px;
    border-radius: 4px;
}

/* --- İHALE SAYFASI AKSİYON ALANI --- */
.renkbeyaz {
    color: var(--t-text-white);
}

.videokaydır {
    height: 350px;
}

.action-boxes-section {
    padding: 60px 0;
    color: var(--t-text-white);
}

.action-box {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s, background 0.3s;
    height: 100%;
}

.action-box:hover {
    transform: translateY(-5px);
    background-color: var(--t-btn-login-hover-bg);
    border-color: rgba(255, 255, 255, 0.5);
}

.action-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--t-text-white);
}

.action-box h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.action-box p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    min-height: 40px;
}

.action-box .btn-action {
    color: white !important;
    border-color: white !important;
}

.action-box .btn-action:hover {
    background-color: white !important;
    color: var(--t-accent) !important;
}

.btn-action {
    border: 1px solid var(--t-btn-secondary-bg);
    /* Varsayılan tema rengi */
    color: var(--t-btn-outline-text);
    background-color: transparent;
    padding: 6px 15px;
    /* Biraz daha kompakt */
    font-size: 13px;
    text-transform: capitalize;
    /* Tamamı büyük harf yerine baş harf */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.3s;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    min-width: 140px;
    /* Standart genişlik */
}

.btn-action:hover {
    background-color: var(--t-btn-secondary-bg);
    color: var(--t-text-white);
    box-shadow: var(--t-hero-title-shadow);
    transform: translateY(-2px);
}

/* Aktif/Dolu Durum (Örn: Ajandadan Çıkar) */
.btn-action.active {
    background-color: var(--t-accent);
    color: var(--t-text-white);
}

.btn-action.active:hover {
    background-color: var(--t-accent-hover);
    border-color: var(--t-accent-hover);
}

/* Özel Butonlar için Renk Ezmeleri */
/* .btn-hide {
    border-color: var(--t-accent) !important;
    color: var(--t-accent) !important;
}

.btn-hide:hover {
    background-color: var(--t-accent) !important;
    color: var(--t-text-white) !important;
} */

/* --- İHALE LİSTESİ VE KARTLARI (EXTRA) --- */
.tenders-list-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: var(--t-text-body);
    text-transform: uppercase;
}

.section-header p {
    color: var(--t-text-muted);
    max-width: 700px;
    margin: 10px auto 0;
}

/* --- İHALE BİLGİLENDİRME METNİ --- */
.info-text-section {
    background-color: var(--t-text-white);
    padding: 60px 0;
    text-align: center;
}

.info-text-box {
    max-width: 800px;
    margin: 0 auto;
}

.info-text-box h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--t-text-body);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.info-text-box p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--t-text-muted);
}

/* --- İHALE İLETİŞİM FORMU --- */
.contact-form-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid var(--t-border-light);
}

.form-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: var(--t-text-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-form input,
.custom-form textarea {
    border-radius: 0;
    border: 1px solid var(--t-border-medium);
    padding: 10px 15px;
    width: 100%;
    margin-bottom: 20px;
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: var(--t-accent);
    box-shadow: none;
}

.contact-form-section .btn-submit {
    background-color: var(--t-accent);
    color: var(--t-text-white);
    border: none;
    padding: 10px 40px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    border-radius: 0;
}

.contact-form-section .btn-submit:hover {
    background-color: var(--t-accent-hover);
    transform: none;
}

/* --- İHALE SORGULAMA SAYFASI --- */
.search-container {
    margin-top: -60px;
    position: relative;
    z-index: 2;
    padding-bottom: 140px;
}

.search-box-card {
    background-color: var(--t-search-box-bg, #badcff);
    border: 1px solid var(--t-search-box-border, #99c2ff);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: transparent;
}

.search-tab-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.search-tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--t-color-policy-text);
    transition: all 0.3s;
    position: relative;
}

.search-tab.active {
    background: var(--t-surface-strong);
    color: var(--t-text-white);
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);*/
    z-index: 2;
}

.search-body {
    padding: 20px;
}

/* Genel Arama */
.main-search-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.main-search-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.main-search-input:focus {
    outline: none;
    border-color: var(--t-results-title);
}

.main-search-btn {
    background: var(--t-grad-main-search-btn);
    color: var(--t-text-white);
    border: none;
    padding: 0 40px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: 0.3s;
}

.main-search-btn:hover {
    opacity: 0.9;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.form-select-custom,
.form-control-custom {
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--t-text-light);
    font-size: 13px;
    color: var(--t-text-body);
    background-color: var(--t-text-white);
}

.form-select-custom:focus,
.form-control-custom:focus {
    border-color: var(--t-search-blue);
    outline: none;
    box-shadow: var(--t-search-focus-shadow);
}

/* Detaylı Arama */
.filter-group-title {
    color: var(--t-search-blue);
    font-size: 14px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--t-search-border-light);
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 13px;
    color: var(--t-color-policy-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box i {
    font-size: 16px;
    color: #305c8a;
}

.search-label {
    display: block;
    font-size: 12px;
    color: var(--t-text-body);
    margin-bottom: 5px;
    font-weight: 600;
}

.detailed-search-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
    padding-top: 20px;
    border: 1px solid var(--t-search-border-light);
}

.btn-detailed-search {
    background: var(--t-grad-detailed-search-btn);
    color: var(--t-text-white);
    border: none;
    padding: 12px 60px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.btn-detailed-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.btn-clear-form {
    background: #6c757d;
    color: var(--t-text-white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-clear-form:hover {
    background-color: #5a6268;
}

/* Arama Yardımı */
.help-content-box {
    background-color: var(--t-text-white);
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 20px;
    font-size: 14px;
    color: var(--t-text-body);
    line-height: 1.6;
}

.help-content-box p {
    margin-bottom: 15px;
}

/* Sonuç Listesi */
.results-section {
    padding-bottom: 80px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-title {
    font-size: 24px;
    font-weight: 600;
    color: #305c8a;
}

.result-count {
    font-size: 14px;
    color: var(--t-text-muted);
    font-weight: 500;
}

/* Aksiyon Butonları */
.btn-clear-results {
    background: white;
    color: #dc3545;
    border: 1px solid #dc3545;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
    font-size: 14px;
}

.btn-clear-results:hover {
    background: #dc3545;
    color: var(--t-text-white);
}

.btn-load-more {
    background: var(--t-surface-sidebar);
    color: var(--t-text-white);
    border: none;
    padding: 10px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    color: var(--t-text-white);
}

/* --- MOBİL RESPONSIVE AYARLAR --- */

@media (max-width: 991px) {
    .navbarrenk {
        background: var(--t-surface-navbar) !important;
        /* Mobilde gradient yerine düz renk veya tema gradienti */
    }

    .offcanvas-header {
        background: linear-gradient(90deg, #265073, #3b82f6);
        color: var(--t-text-white);
    }

    .hero-content {
        padding-top: 80px;
    }

    .index-hero-title {
        font-size: 30px !important;
    }
}

@media (max-width: 768px) {

    /* Header & Hero */
    header {
        height: auto;
        min-height: 100vh;
        padding-bottom: 40px;
    }

    .hero-content {
        justify-content: flex-start;
        padding-top: 100px;
    }

    .index-hero-title {
        font-size: 26px !important;
        line-height: 1.4;
    }

    .lead {
        font-size: 16px !important;
        padding: 0 15px;
        margin-bottom: 30px !important;
    }

    /* Circle Menu - Mobilde Grid Yapısı */
    .circle-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-items: center;
        margin-top: 20px;
        width: 100%;
        padding: 0 20px;
    }

    .circle-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .circle-img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .circle-text .btn-circle {
        padding: 6px 15px;
        font-size: 11px;
        white-space: nowrap;
    }

    /* Section Titles */
    .section-title,
    .about-title,
    .categories-title,
    .testimonials-title {
        font-size: 24px !important;
        margin-bottom: 30px;
    }

    /* Tender Cards */
    .tender-header {
        height: auto;
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .tender-date {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 15px;
        display: inline-block;
    }

    .tender-body {
        padding: 20px;
    }

    /* Footer */
    .footer-grid {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 10px;
    }

    .d-flex.align-items-center.gap-2.mb-3 {
        justify-content: center;
        /* Logo ve yazı ortala */
    }

    /* Categories Slider */
    .categories-section {
        padding: 40px 0;
    }

    .category-card {
        width: 160px;
        height: 120px;
    }

    .category-card i {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .category-card span {
        font-size: 13px;
    }

    /* Testimonials */
    .testimonial-card-wrapper {
        width: 300px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .circle-menu {
        gap: 10px;
        padding: 0 10px;
    }

    .circle-img {
        width: 70px;
        height: 70px;
    }

    .index-hero-title {
        font-size: 22px !important;
    }


}

/* --- DETAILED NAVBAR MOBILE STYLES --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #265073;
        /* Açılır menü arkaplanı */
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid var(--t-nav-link-border);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    #auth-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 15px !important;
    }

    #auth-buttons .btn {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }

    .dropdown-menu {
        background-color: var(--t-btn-login-hover-bg);
        border: none;
    }

    /* .dropdown-item {
        color: white !important;
    }*/

    .dropdown-item:hover {
        background-color: var(--t-dropdown-item-hover);
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        gap: 10px;
    }



    /* Bayrak ayarı */
    #dynamic-flag-container img {
        height: 16px;
    }

    .navbar-toggler {
        padding: 4px 8px;
        font-size: 14px;
    }
}

/* --- AJANDA & SIDEBAR STYLES --- */

/* Navbar Flag */
.navbar-brand .flag-svg {
    height: 20px;
    width: auto;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    margin-left: 10px;
}

/* Sidebar */
.sidebar-card {
    background-color: var(--t-text-white);
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-header {
    background: var(--t-surface-sidebar);
    color: var(--t-text-white);
    padding: 10px 15px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sidebar-body {
    padding: 15px;
    font-size: 13px;
}

.user-info-row {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info-row i {
    color: var(--t-text-muted);
    width: 16px;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-menu-list li:last-child {
    border-bottom: none;
}

.sidebar-menu-list li a {
    color: var(--t-text-body);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
}

.sidebar-menu-list li a:hover {
    color: var(--t-accent);
}

.badge-custom {
    background-color: var(--t-badge-soft-bg);
    color: var(--t-btn-outline-text);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
}

.sidebar-banners img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.sidebar-banners img:hover {
    transform: translateY(-3px);
}

/* Agenda Section */
.agenda-section {
    padding: 40px 0;
}

.custom-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background-color: var(--t-text-white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.custom-table thead th {
    background-color: #dbeafe;
    font-size: 13px;
    font-weight: 700;
    color: var(--t-text-body);
    text-transform: uppercase;
    padding: 15px 10px;
}

.custom-table tbody td {
    font-size: 12px;
    vertical-align: middle;
    padding: 12px 10px;
    color: var(--t-color-policy-text);
}

.custom-table tbody tr:hover {
    background-color: var(--t-table-row-hover-bg);
}

.status-oncelik {
    background-color: var(--t-status-priority);
    color: var(--t-text-white);
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-takip {
    background-color: var(--t-status-follow);
    color: var(--t-text-white);
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.action-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 130px;
    margin: 0 auto;
}

.btn-action {
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-agenda.active {
    background: var(--t-btn-agenda-active-gradient);
}

.btn-agenda {
    background-color: var(--t-btn-secondary-bg);
    border: 1px solid var(--t-btn-secondary-bg);
    color: var(--t-btn-outline-text);
}

.btn-agenda:hover {
    background-color: var(--t-btn-agenda-hover-bg);
}




@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
        height: auto;
        padding: inherit;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
        height: 0;
        padding: 0;
        margin: 0;
        border: none;
    }
}

.slide-out-right {
    animation: slideOutRight 0.3s ease-in-out forwards;
}

.btn-detay-goster {
    background-color: var(--t-accent);
    color: var(--t-text-white);
    border: none;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 5px;
}

.btn-detay-goster:hover {
    background-color: #008ba3;
}

/* Modal Styles */
.modal-details-table td {
    padding: 8px 10px;
    font-size: 13px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.modal-details-table .label-col {
    font-weight: 700;
    width: 150px;
    color: var(--t-text-body);
}

.btn-download-spec {
    background-color: var(--t-btn-download-spec);
    color: var(--t-text-white);
    font-weight: 700;
    border: none;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 3px;
    text-transform: uppercase;
}

.gray-separator-bar {
    background-color: var(--t-separator-gray);
    padding: 8px 15px;
    font-weight: 600;
    color: var(--t-color-policy-text);
    font-size: 13px;
    margin: 15px 0 10px 0;
    border-radius: 2px;
}

.modal-title-custom {
    font-size: 16px;
    font-weight: 700;
    color: var(--t-text-body);
}

.detail-desc-text {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-modal-close {
    background-color: #eee;
    color: var(--t-text-body);
    font-weight: 700;
    font-size: 12px;
    padding: 8px 25px;
    border: none;
    text-transform: uppercase;
}

/* Calendar Styles */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--t-surface-sidebar);
    color: var(--t-text-white);
    padding: 10px 15px;
    border-radius: 6px 6px 0 0;
}

.calendar-header h5 {
    margin: 0;
    font-weight: 600;
}

.calendar-header button {
    background: transparent;
    border: 1px solid var(--t-text-white);
    color: var(--t-text-white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.calendar-grid-container {
    background-color: var(--t-text-white);
    padding: 0;
    border-radius: 0 0 6px 6px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    background-color: #dbeafe;
    color: var(--t-text-body);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 8px 5px;
    border: 1px solid #dee2e6;
}

.calendar-table td {
    height: 60px;
    vertical-align: top;
    padding: 5px;
    font-size: 12px;
    border: 1px solid #dee2e6;
    background-color: var(--t-text-white);
    cursor: pointer;
}

.calendar-table td:hover {
    background-color: var(--t-bg-saved-analysis-hover);
}

.calendar-table .today {
    background-color: var(--t-search-box-bg, #b3d4ff);
}

.calendar-table .has-event {
    position: relative;
}

.calendar-table .event-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: var(--t-accent);
    color: var(--t-text-white);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: bold;
}

.calendar-table .weekend {
    background-color: var(--t-calendar-weekend);
}

.calendar-table .inactive-month {
    color: #ccc;
    background-color: #fafafa;
}

/* Search Box & Filters */
.search-box-card {
    background-color: var(--t-search-box-bg, #b3d4ff);
    border: 1px solid var(--t-search-box-border, #99c2ff);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.search-header {
    background-color: var(--t-surface-search);
    padding: 0;
    border-bottom: 1px solid var(--t-nav-link-border);
}

.search-tab-container {
    display: flex;
    width: 100%;
}

.search-tab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    cursor: pointer;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    font-size: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.search-tab:last-child {
    border-right: none;
}

.search-tab:hover {
    color: var(--t-text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.search-tab.active {
    background: var(--t-surface-strong);
    color: var(--t-text-white);
    font-weight: 700;
    box-shadow: inset 0 -3px 0 var(--t-primary-light);
}

.search-body {
    padding: 20px;
}

.main-search-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
}

.main-search-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.main-search-input:focus {
    outline: none;
    border-color: var(--t-primary-base);
}

.main-search-btn {
    background-color: var(--t-primary-base);
    color: var(--t-text-white);
    border: none;
    padding: 0 30px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0 5px 5px 0;
    transition: 0.3s;
}

.main-search-btn:hover {
    background-color: var(--t-btn-primary-hover);
}

.filters-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.filters-row .form-select-custom {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid var(--t-text-light);
    font-size: 13px;
    color: var(--t-text-body);
    background-color: var(--t-text-white);
}

.info-box {
    background: white;
    border-left: 4px solid var(--t-primary-base);
    color: var(--t-color-policy-text);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group-title {
    color: var(--t-primary-base);
    font-size: 12px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(30, 64, 102, 0.2);
    padding-bottom: 5px;
    text-transform: uppercase;
}

.form-control-custom,
.form-select-custom {
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid var(--t-text-light);
    font-size: 13px;
    color: var(--t-text-body);
    background-color: var(--t-text-white);
    width: 100%;
}

.search-label {
    display: block;
    font-size: 11px;
    color: var(--t-text-body);
    margin-bottom: 4px;
    font-weight: 600;
}

.detailed-search-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    padding-top: 15px;
    border: 1px solid var(--t-search-border-light);
}

.btn-detailed-search {
    background: #1e4066;
    color: var(--t-text-white);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
    transition: 0.3s;
}

.btn-clear-form {
    background: #6c757d;
    color: var(--t-text-white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 13px;
    transition: 0.3s;
}

.help-content-box {
    background: white;
    padding: 20px;
    border-radius: 5px;
    color: var(--t-color-policy-text);
    font-size: 14px;
    line-height: 1.6;
}

/* Criteria Tags */
.selected-criteria-container {
    display: none;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
}

.criteria-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--t-text-body);
    white-space: nowrap;
}

.criteria-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.criteria-tag {
    background: var(--t-grad-criteria-tag);
    color: var(--t-text-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--t-border-color);
}

.criteria-tag:hover {
    background: var(--t-grad-criteria-tag-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.criteria-tag i {
    font-size: 11px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.criteria-tag i:hover {
    opacity: 1;
    color: #ffcccc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ANALIZ SAYFASI STYLES --- */

/* Analiz Yap Butonu */
.analysis-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    padding-top: 15px;
    border: 1px solid var(--t-search-border-light);
}

.btn-analyze {
    background: var(--t-accent);
    color: var(--t-text-white);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
    transition: 0.3s;
}

.btn-analyze:hover {
    background: #008ba3;
}

/* Analiz Sonuçları */
.analysis-section {
    padding: 40px 0;
}

.result-card {
    background-color: var(--t-text-white);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--t-shadow-category);
}

.result-header {
    color: var(--t-primary-base);
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
}

.list-table thead th {
    background-color: #dbeafe;
    font-size: 13px;
    font-weight: 700;
    color: var(--t-text-body);
    padding: 10px;
}

.list-table tbody td {
    font-size: 13px;
    vertical-align: middle;
    padding: 10px;
}

.list-table tbody tr:nth-child(even) {
    background-color: var(--t-table-stripe-even);
}

.list-table .price-min {
    color: #28a745;
    font-weight: 700;
}

.list-table .price-max {
    color: #dc3545;
    font-weight: 700;
}

.btn-create-group {
    background-color: #265073;
    color: var(--t-text-white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s;
    display: block;
    margin: 30px auto 0;
    width: 80%;
    max-width: 400px;
}

.btn-create-group:hover {
    background-color: #153250;
}

.btn-create-group.success {
    background-color: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

/* Chart Area */
.chart-container {
    max-height: 400px;
    margin-bottom: 20px;
}

/* --- ANALIZ DETAY SAYFASI STYLES --- */

/* Tablo Başlıkları */
.header-row {
    background-color: var(--t-primary-soft);
    font-weight: bold;
    color: var(--t-text-primary);
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: var(--t-shadow-header-row);
}

.header-row .t-cell {
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    /* Başlıkların tek satır olmasını sağlar */
    min-width: 120px;
    /* Sıkışmayı önlemek için minimum genişlik */
}

/* Kriter Özeti Kutusu */
.criteria-summary-box {
    background-color: var(--t-criteria-box-bg);
    border: 1px solid var(--t-criteria-box-border);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.criteria-summary-box h5 {
    color: var(--t-primary-base);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.criteria-tag-static {
    background: #1e4066;
    color: var(--t-text-white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Analiz Grubu Oluştur Butonu */
.btn-create-group-big {
    background: #265073;
    color: var(--t-text-white);
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
    border-radius: 8px;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin-bottom: 40px;
}

.btn-create-group-big:hover {
    background: #1e4066;
}

.btn-create-group-big i {
    font-size: 24px;
    margin-right: 15px;
}

/* Kayıtlı Analiz Grubu Listesi */
.saved-analysis-list {
    list-style: none;
    padding: 0;
}

.saved-analysis-list li {
    background-color: var(--t-text-white);
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.saved-analysis-list li:hover {
    background-color: var(--t-bg-saved-analysis-hover);
}

.saved-analysis-list li span {
    font-weight: 600;
    color: var(--t-text-body);
}

.saved-analysis-list li .list-icon {
    color: #3b82f6;
    margin-left: 10px;
}

/* --- EĞİTİM VİDEOSU SAYFASI STYLES --- */

/* VİDEO ALANI */
.video-section {
    padding: 40px 0;
}

.video-main-card {
    background-color: var(--t-text-white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    border: 1px solid #eee;
}

.video-player-container {
    position: relative;
    width: 100%;
    /* 16:9 Aspect Ratio için yükseklik ayarı */
    padding-top: 56.25%;
    margin-bottom: 20px;
}

.video-player-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

.video-details h4 {
    color: #265073;
    font-weight: 700;
    margin-bottom: 10px;
}

.video-list-card {
    background-color: var(--t-text-white);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #eee;
}

.video-list-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.video-list-item:hover {
    background-color: #f7f7f7;
}

.video-list-item:last-child {
    border-bottom: none;
}

/* --- GEÇMİŞ İHALELER SAYFASI STYLES --- */

/* ARAMA KUTUSU CSS */
.search-box-card {
    background-color: var(--t-search-box-bg, #badcff);
    border: 1px solid var(--t-search-box-border, #99c2ff);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    overflow: visible !important;
}

.filters-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    /* Adjust gap to match design */
    width: 100%;
    margin-top: 15px;
}

.filters-row .multi-select-wrapper,
.filters-row select,
.filters-row .form-select-custom {
    flex: 1;
    width: auto !important;
    /* Ensure they flex */
    min-width: 0;
    /* Prevent overflow */
}

.multi-select-button {
    width: 100%;
    /* Fill the wrapper */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-header {
    background-color: var(--t-surface-search);
    padding: 0;
    border-bottom: 1px solid var(--t-nav-link-border);
}

.search-tab-container {
    display: flex;
    width: 100%;
}

.search-tab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    cursor: pointer;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    font-size: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.search-tab:last-child {
    border-right: none;
}

.search-tab:hover {
    color: var(--t-text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.search-tab.active {
    background-color: var(--t-surface-strong);
    color: var(--t-text-white);
    font-weight: 700;
    box-shadow: inset 0 -3px 0 var(--t-btn-outline-border);
}

.search-body {
    padding: 20px;
}

.main-search-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
}

.main-search-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.main-search-input:focus {
    outline: none;
    border-color: var(--t-primary-base);
}

.main-search-btn {
    background-color: var(--t-primary-base);
    color: var(--t-text-white);
    border: none;
    padding: 0 30px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0 5px 5px 0;
    transition: 0.3s;
}

.main-search-btn:hover {
    background-color: #153250;
}

/* FILTERS-ROW */
.filters-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.filters-row .form-select-custom {
    flex: 1;
    min-width: 0;
}

@media (max-width: 991px) {
    .filters-row {
        flex-wrap: wrap;
    }

    .filters-row .form-select-custom {
        flex: auto;
        width: 48%;
    }
}

@media (max-width: 576px) {
    .filters-row .form-select-custom {
        width: 100%;
    }
}

/* KRİTER ETİKETLERİ */
.selected-criteria-container {
    display: none;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
}

.criteria-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--t-text-body);
    white-space: nowrap;
}

.criteria-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.criteria-tag {
    background: var(--t-grad-criteria-tag);
    color: var(--t-text-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--t-border-color);
}

.criteria-tag:hover {
    background: var(--t-grad-criteria-tag-hover);
    /* Fixed typo 3b7tb8 -> 3b7eb8 */
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.criteria-tag i {
    font-size: 11px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.criteria-tag i:hover {
    opacity: 1;
    color: #ffcccc;
}

/* Diğer Form Stilleri */
.filter-group-title {
    color: var(--t-primary-base);
    font-size: 12px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(30, 64, 102, 0.2);
    padding-bottom: 5px;
    text-transform: uppercase;
}

.info-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-left: 4px solid #1e4066;
    color: var(--t-color-policy-text);
}

.help-content-box {
    background: white;
    padding: 20px;
    border-radius: 5px;
    color: var(--t-color-policy-text);
    font-size: 14px;
    line-height: 1.6;
}

.form-select-custom,
.form-control-custom {
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid var(--t-text-light);
    font-size: 13px;
    color: var(--t-text-body);
    background-color: var(--t-text-white);
}

.form-select-custom:focus,
.form-control-custom:focus {
    border-color: var(--t-border-color);
    outline: none;
}

.search-label {
    display: block;
    font-size: 11px;
    color: var(--t-text-body);
    margin-bottom: 4px;
    font-weight: 600;
}

.detailed-search-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    padding-top: 15px;
    border: 1px solid var(--t-search-border-light);
}

.btn-detailed-search {
    background: var(--t-btn-primary-bg);
    color: var(--t-text-white);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
    transition: 0.3s;
}

.btn-detailed-search:hover {
    background: var(--t-btn-primary-hover);
}

.btn-clear-form {
    background: #6c757d;
    color: var(--t-text-white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 13px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-clear-form:hover {
    background: #5a6268;
}

/* İHALE TABLO ALANI */
.tender-table-section {
    padding: 40px 0;
    min-height: 600px;
}

.custom-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background-color: var(--t-text-white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.custom-table thead th {
    background-color: #dbeafe;
    color: var(--t-text-body);
    font-weight: 700;
    padding: 15px 20px;
    border-bottom: 2px solid #bfdbfe;
    text-transform: uppercase;
    font-size: 14px;
}

.custom-table tbody tr {
    transition: background-color 0.2s;
    border-bottom: 1px solid #eee;
}

.custom-table tbody tr:hover {
    background-color: var(--t-table-row-hover-bg);
}

.custom-table td {
    padding: 15px 12px;
    vertical-align: middle;
    font-size: 13px;
    color: var(--t-color-policy-text);
    border-bottom: 1px solid #eee;
}

.custom-table td.country-cell {
    font-weight: 600;
    color: var(--t-text-body);
}

/* Buton Stilleri */
.action-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 150px;
    margin: 0 auto;
}

.btn-action {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
    width: 100%;
}

/* Ajandaya Ekle/Çıkar */
.btn-agenda {
    background-color: var(--t-text-white);
    /* border: 1px solid #3b82f6;*/
    color: var(--t-btn-outline-text);
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-agenda.active {
    /*background-color: #3b82f6;*/
    color: var(--t-text-white);
}

.btn-agenda:hover {
    background-color: var(--t-btn-agenda-hover-bg);
}

.btn-agenda.active:hover {
    background-color: var(--t-btn-agenda-active-hover-bg);
}

.btn-agenda.success-feedback {
    transform: scale(1.05);
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

/* İlgilenmiyorum/Gizle */

.btn-hide:hover {
    background-color: #f5b0bb;
    opacity: 1;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.slide-out-right {
    animation: slideOutRight 0.3s ease-in-out forwards;
}

/* Detay butonu */
.btn-inspect {
    display: inline-block;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-inspect:hover {
    background-color: var(--t-btn-inspect-hover-bg);
    color: var(--t-text-white);
    text-decoration: none;
}

/* Pagination Stilleri */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--t-border-light);
}

.custom-pagination .btn-page {
    border: 1px solid var(--t-border-medium);
    background: white;
    color: #3b82f6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-left: 5px;
    cursor: pointer;
    user-select: none;
}

.custom-pagination .btn-page:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.custom-pagination .btn-page.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* MODAL (POPUP) STYLES */
.modal-details-table td {
    padding: 8px 10px;
    font-size: 13px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.modal-details-table .label-col {
    font-weight: 700;
    width: 150px;
    color: var(--t-text-body);
}

.btn-download-spec {
    background-color: var(--t-btn-download-spec);
    color: var(--t-text-white);
    font-weight: 700;
    border: none;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 3px;
    text-transform: uppercase;
}

.modal-title-custom {
    font-size: 16px;
    font-weight: 700;
    color: var(--t-text-body);
}

/* --- GİZLENEN İHALELER SAYFASI STYLES --- */

.hidden-tenders-section {
    padding: 40px 0;
}

.page-content-header {
    background-color: #dbeafe;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--t-primary-base);
    text-transform: uppercase;
}

.info-alert-box {
    background-color: var(--t-info-alert-bg);
    border: 1px solid var(--t-info-alert-border);
    color: var(--t-info-alert-text);
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.info-alert-box strong {
    font-weight: 600;
    background-color: #b3d4ff;
    padding: 2px 5px;
    border-radius: 3px;
}

.result-count-box {
    background-color: var(--t-result-count-bg);
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--t-primary-base);
    margin-bottom: 30px;
}

/* Ajandadan Çıkar/Ajandaya Ekle (Mavi Buton) - Gizlenen Sayfası İçin */
.btn-agenda-toggle {
    background-color: var(--t-text-white);
    border: 1px solid var(--t-btn-outline-border);
    color: var(--t-btn-outline-text);
    transition: background-color 0.2s, transform 0.2s;
}

.btn-agenda-toggle:hover {
    background-color: #dbeafe;
}

.btn-agenda-toggle.active {
    background-color: var(--t-status-follow);
    color: var(--t-text-white);
}

/* İlgilenmiyorum/Listeden Çıkar (Kırmızı/Pembe Buton) */


.btn-agenda-toggle.success-feedback {
    transform: scale(1.05);
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

.detail-desc-text {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
}

.btn-modal-close {
    background-color: #eee;
    color: var(--t-text-body);
    font-weight: 700;
    font-size: 12px;
    padding: 8px 25px;
    border: none;
}

/* --- GÖNDERİLEN İHALELER SAYFASI STYLES --- */

.submit-section {
    padding: 40px 0;
}

/* Durum Etiketleri */
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 5px;
}

.status-onay-bekliyor {
    background-color: var(--t-status-pending);
    color: var(--t-text-white);
}

.status-onaylandi {
    background-color: var(--t-status-approved);
    color: var(--t-text-white);
}

.status-reddedildi {
    background-color: var(--t-status-rejected);
    color: var(--t-text-white);
}

.btn-inspect-small {
    background: white;
    border: 1px solid var(--t-btn-outline-border);
    color: var(--t-btn-outline-text);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
}

/* --- GRUP DETAY SAYFASI STYLES --- */

/* GRUP BİLGİ KARTI */
.group-info-card {
    background-color: var(--t-table-head-bg);
    border: 1px solid var(--t-table-head-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.group-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--t-primary-base);
    margin-bottom: 10px;
}

.group-stats {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #265073;
    margin-bottom: 15px;
}

.group-stats span i {
    margin-right: 5px;
}

.group-keywords {
    font-size: 13px;
    color: var(--t-color-policy-text);
    padding-top: 10px;
    border-top: 1px solid rgba(30, 64, 102, 0.1);
}

.keyword-tag {
    background: var(--t-tag-bg);
    color: var(--t-text-white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 5px;
    display: inline-block;
}

/* Grup Aksiyon Butonları */
.group-actions .btn {
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    transition: opacity 0.2s;
}

.btn-edit-group {
    background-color: var(--t-status-priority);
    color: var(--t-text-white);
    border: none;
}

.btn-delete-group {
    background-color: #e74c3c;
    color: var(--t-text-white);
    border: none;
}

.btn-notify-group {
    background-color: var(--t-status-follow);
    color: var(--t-text-white);
    border: none;
}

/* --- GRUP DÜZENLEME SAYFASI STYLES --- */

.create-group-section {
    padding: 40px 0;
}

.form-card {
    background-color: var(--t-text-white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid #eee;
}

/* Not: form-control-custom ve form-select-custom zaten eklenmiş olabilir, 
   ancak burada kullanılan stil öncekilerle aynıysa sorun yok. 
   Eğer farklılık varsa buraya eklemek veya mevcudu güncellemek gerekebilir. 
   Şimdilik unique olanları ekliyorum. */

.input-group-text-custom {
    background-color: var(--t-surface-strong);
    color: var(--t-text-white);
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.input-group-text-custom:hover {
    background-color: var(--t-primary-dark);
}

.filter-group {
    border: 1px solid var(--t-border-medium);
    border-radius: 6px;
    margin-bottom: 20px;
    padding: 15px;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.filter-group-header {
    font-size: 14px;
    font-weight: 600;
    color: #265073;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.filter-option {
    font-size: 13px;
    padding: 4px 0;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.filter-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
    flex-grow: 1;
}

.filter-search-input {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
}

.btn-save-group {
    background: var(--t-grad-submit-ihale);
    color: var(--t-text-white);
    border: none;
    padding: 12px 40px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 30px;
    transition: opacity 0.3s;
}

.btn-save-group:hover {
    opacity: 0.9;
}

.email-notification-bar {
    background-color: var(--t-email-notif-bg);
    border: 1px solid var(--t-email-notif-border);
    padding: 15px;
    border-radius: 5px;
    font-size: 13px;
    color: var(--t-text-body);
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.email-notification-bar i {
    color: #3b82f6;
    margin-right: 10px;
}

/* --- İHALE GÖNDERME SAYFASI STYLES --- */

.submit-section {
    padding: 40px 0;
}

.submit-card {
    background-color: var(--t-text-white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid #eee;
}

.submit-header {
    font-size: 20px;
    font-weight: 700;
    color: #265073;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-textarea-custom {
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    margin-bottom: 15px;
}

.form-textarea-custom:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.1rem rgba(59, 130, 246, 0.25);
    outline: none;
}

.form-label-custom {
    font-weight: 600;
    color: var(--t-color-policy-text);
    display: block;
    margin-bottom: 5px;
}

.btn-submit-ihale {
    background: linear-gradient(180deg, #00bcd4, #008ba3);
    color: var(--t-text-white);
    border: none;
    padding: 12px 40px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 20px;
    transition: opacity 0.3s;
}

.btn-submit-ihale:hover {
    opacity: 0.9;
}

/* --- ÖDEME SAYFASI STYLES --- */

.payment-section {
    padding: 40px 0;
}

.payment-card {
    background-color: var(--t-text-white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.payment-header {
    font-size: 20px;
    font-weight: 700;
    color: #265073;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.info-box-custom {
    background-color: #dbeafe;
    border-left: 5px solid #3b82f6;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    color: #265073;
    margin-bottom: 20px;
}

/* Fatura Tablosu */
.invoice-table thead th {
    background-color: #f7f7f7;
    font-size: 13px;
    font-weight: 700;
    color: var(--t-color-policy-text);
    text-transform: uppercase;
}

.invoice-table tbody td {
    font-size: 13px;
    vertical-align: middle;
}

.status-badge-pending {
    background-color: var(--t-status-badge-pending);
    color: var(--t-text-white);
    padding: 5px 10px;
    border-radius: 4px;
}

.status-badge-paid {
    background-color: var(--t-status-badge-paid);
    color: var(--t-text-white);
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-pay-now {
    background-color: var(--t-btn-pay);
    color: var(--t-text-white);
    border: none;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
}

.btn-pay-now:hover {
    background-color: #265073;
}

/* --- MODAL Ödeme Formu Stilleri --- */
.modal-content-payment {
    background: var(--t-surface-sidebar);
    color: var(--t-text-white);
    padding: 20px;
    border-radius: 8px;
    border: none;
}

.modal-content-payment .modal-header {
    border-bottom: none;
}

.payment-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 10px;
}

.form-control-payment {
    background-color: var(--t-btn-login-hover-bg);
    border: 1px solid var(--t-payment-input-border);
    color: var(--t-text-white);
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

.form-control-payment::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control-payment:focus {
    background-color: var(--t-dropdown-item-hover);
    border-color: var(--t-accent);
    box-shadow: none;
}

.btn-payment-submit {
    background: var(--t-grad-butonrenk);
    color: var(--t-text-white);
    padding: 12px 20px;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-payment-submit:hover {
    opacity: 0.9;
}

.card-logos img {
    height: 25px;
    margin-right: 10px;
}

.payment-step-2 {
    display: none;
}

/* --- PROFİL SAYFASI STYLES --- */

.profile-section {
    padding: 50px 0;
}

.profile-card {
    background-color: var(--t-text-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid var(--t-profile-card-border);
}

.profile-header-bar {
    background: linear-gradient(90deg, #3b82f6, #265073);
    color: var(--t-text-white);
    padding: 15px 25px;
    font-size: 18px;
    font-weight: 600;
}

.profile-body {
    padding: 25px;
}

/* Tablo Stilleri */
.info-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--t-profile-table-stripe);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th,
.info-table td {
    padding: 12px 15px;
    font-size: 14px;
    vertical-align: middle;
}

.info-table th {
    text-align: left;
    width: 35%;
    font-weight: 600;
    color: var(--t-color-policy-text);
    background-color: #f7f7f7;
}

.info-table td {
    color: var(--t-text-body);
    font-weight: 500;
}

/* Input Alanı Stili */
.editable-input {
    width: 100%;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--t-text-body);
    transition: border-color 0.3s;
}

.editable-input:focus {
    border-color: var(--t-primary-light);
    outline: none;
    box-shadow: 0 0 0 0.1rem rgba(59, 130, 246, 0.25);
}

.uneditable-field {
    padding: 5px 10px;
    display: block;
    width: 100%;
    background-color: #f7f7f7;
    border: 1px solid #f7f7f7;
}

/* Profil Butonları */
.btn-update {
    background: var(--t-grad-btn-update);
    color: var(--t-text-white);
    border: none;
    padding: 10px 30px;
    font-weight: bold;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.btn-update:hover {
    opacity: 0.9;
}

.btn-update:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-password {
    background: linear-gradient(180deg, #6c757d, #5a6268);
    color: var(--t-text-white);
    border: none;
    padding: 10px 30px;
    font-weight: bold;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.btn-password:hover {
    opacity: 0.9;
}

.btn-action-group {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

/* --- RESPONSIVE SIDEBAR & BANNER --- */
@media (max-width: 991px) {
    .sidebar-banners {
        display: none !important;
    }

    .sidebar-card {
        display: none !important;
    }

    .col-lg-9 {
        width: 100%;
        padding: 0 15px;
    }
}

/* --- MOBİL TABLO KART TASARIMI (REFERENCE IMAGE MATCH) --- */
@media (max-width: 1200px) {

    /* Başlığı Gizle */
    .custom-table thead {
        display: none;
    }

    /* Satırı Karta Çevir */
    .custom-table tbody tr {
        display: flex;
        flex-direction: column;
        background: var(--t-bg-card);
        border: 1px solid var(--t-profile-card-border);
        border-radius: 12px;
        margin-bottom: 20px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        position: relative;
    }

    /* TD Reset */
    .custom-table tbody td {
        display: block;
        border: none !important;
        padding: 0;
        width: 100%;
        text-align: left;
        word-wrap: break-word;
        word-break: break-word;
        /* Modern browsers */
    }

    /* 3. Kolon: Konu (Başlık) */
    .custom-table tbody td:nth-child(3) {
        order: 1;
        font-family: 'Segoe UI', sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: var(--t-text-body);
        margin-bottom: 5px;
        line-height: 1.4;
    }

    /* 2. Kolon: Kurum (Alt Başlık) */
    .custom-table tbody td:nth-child(2) {
        order: 2;
        font-size: 14px;
        color: #6c757d;
        margin-bottom: 15px;
    }

    /* 7. Kolon: Son Başvuru (Tarih - Kırmızı) */
    .custom-table tbody td:nth-child(7) {
        order: 3;
        font-size: 14px;
        color: #d32f2f;
        font-weight: 600;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .custom-table tbody td:nth-child(7)::before {
        content: 'CLOSING:';
        color: #999;
        font-weight: normal;
        font-size: 11px;
        text-transform: uppercase;
        margin-right: 5px;
    }

    /* Etiketler (Ülke, Alım Tipi, Usul, Branş) */
    .custom-table tbody td:nth-child(1),
    .custom-table tbody td:nth-child(4),
    .custom-table tbody td:nth-child(5),
    .custom-table tbody td:nth-child(6) {
        order: 4;
        display: inline-block;
        width: auto;
        background-color: #f8f9fa;
        color: #495057;
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 20px;
        margin-right: 8px;
        margin-bottom: 8px;
        border: 1px solid #dee2e6;
        font-weight: 500;
    }

    /* Ülke Bayrağını Küçült */
    .custom-table tbody td:nth-child(1) img {
        height: 14px !important;
        width: auto !important;
        margin-right: 5px;
        vertical-align: middle;
    }

    /* 8. Kolon: İşlemler (Footer) */
    .custom-table tbody td:nth-child(8) {
        order: 5;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid #eee !important;
        width: 100%;
    }

    .custom-table .action-container {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    /* Detay Butonunu Özelleştir */
    .btn-inspect {
        background: transparent !important;
        color: #0d6efd !important;
        border: 1px solid #0d6efd !important;
        padding: 6px 12px !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        width: auto !important;
        text-align: center;
        border-radius: 20px !important;
    }

    /* Diğer butonlar */
    .btn-agenda,
    .btn-hide {
        padding: 8px;
        font-size: 0;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f1f3f5;
        color: var(--t-text-muted);
        border: none;
    }

    .btn-agenda i,
    .btn-hide i {
        font-size: 14px;
        margin: 0 !important;
    }

    .btn-agenda.active {
        color: #0d6efd;
        background: #e7f1ff;
    }

    /* Yatay Kaydırmayı Engelle */
    .table-responsive {
        overflow-x: hidden !important;
        /* Mobilde kart görünümünde kaydırma olmamalı */
    }

    body,
    html {
        overflow-x: hidden;
    }

    .container,
    .container-fluid {
        padding-right: 15px;
        padding-left: 15px;
        max-width: 100%;
    }

    /* Navbar taşmasını engelle */
    .navbar {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .navbar-collapse {
        width: 100%;
    }
}

/* This page specific styles */
.detail-tabs {
    display: flex;
    background: var(--t-grad-detail-tabs);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.detail-tab-item {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-tab-item:last-child {
    border-right: none;
}

.detail-tab-item:hover {
    color: var(--t-text-white);
    background: rgba(255, 255, 255, 0.1);
}

.detail-tab-item.active {
    background: var(--t-grad-detail-active);
    color: var(--t-text-white);
    font-weight: bold;
    box-shadow: inset 0 -3px 0 var(--t-accent);
}

.detail-section-title {
    color: #265073;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.info-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-label {
    width: 250px;
    font-weight: 600;
    color: #265073;
    flex-shrink: 0;
}

.info-value {
    color: var(--t-text-body);
    flex-grow: 1;
}

.tender-desc-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--t-color-policy-text);
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--t-border-office-hours);
}

.material-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.material-table th {
    background-color: #265073;
    color: var(--t-text-white);
    padding: 10px;
    text-align: left;
}

.material-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.material-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.download-btn {
    background-color: #265073;
    color: var(--t-text-white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.download-btn:hover {
    background-color: #1e3c57;
    color: var(--t-text-white);
}

.warning-box {
    background-color: var(--t-badge-soft-bg, #e3f2fd);
    border: 1px solid #bbdefb;
    color: #0d47a1;
    padding: 10px;
    border-radius: 38px;
    font-size: 13px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.note-area textarea {
    width: 100%;
    border: 1px solid var(--t-border-medium);
    border-radius: 5px;
    padding: 10px;
    min-height: 100px;
    resize: vertical;
}

.save-note-btn {
    background-color: var(--t-surface-strong);
    color: var(--t-text-white);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    margin-top: 10px;
    float: right;
}

/* Tab contents hidden by default */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Action Bar Horizontal Styles */
.action-bar-horizontal {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 10px 0;
    background-color: var(--t-text-white);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
}

.btn-action-horizontal {
    border: none;
    background: none;
    color: var(--t-text-body);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 5px 2px;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-action-horizontal:hover {
    color: #265073;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.btn-action-horizontal i {
    margin-right: 6px;
    font-size: 16px;
}

.btn-action-horizontal .fa-file-word {
    color: var(--t-word-color);
}

.btn-action-horizontal .fa-file-excel {
    color: var(--t-excel-color);
}

.btn-action-horizontal .fa-print {
    color: #265073;
}

.btn-action-horizontal .fa-bookmark {
    color: #f0ad4e;
}

.btn-action-horizontal .fa-envelope-open-text {
    color: #265073;
}

.btn-action-horizontal .fa-whatsapp {
    color: var(--t-whatsapp-color);
}

.btn-action-horizontal .fa-telegram {
    color: var(--t-telegram-color);
}

@media (max-width: 768px) {

    /* Detail Page Mobile Refinements */
    .detail-tabs {
        flex-direction: column;
    }

    .detail-tab-item {
        border-right: none;
        border-bottom: 1px solid var(--t-nav-link-border);
        padding: 12px 15px;
    }

    .detail-tab-item:last-child {
        border-bottom: none;
    }

    .info-row {
        flex-direction: column;
        border-bottom: 1px solid #f8f9fa;
        padding-bottom: 8px;
    }

    .info-label {
        width: 100%;
        margin-bottom: 2px;
    }

    .info-value {
        padding-left: 0;
        word-break: break-word;
    }

    .action-bar-horizontal {
        /* Ensure horizontal scroll feeling is good */
        padding-left: 5px;
        padding-right: 5px;
        gap: 10px;
        flex-wrap: wrap;
        /* Allow wrapping on mobile */
        justify-content: flex-start;
        /* Align start */
        overflow-x: visible;
        /* No scroll needed if wrapping */
    }

    .btn-action-horizontal {
        font-size: 12px;
        padding: 8px 12px;
        background-color: #f8f9fa;
        border-radius: 6px;
        margin-bottom: 5px;
        flex: 1 0 auto;
        /* Allow growth but keep auto width */
        justify-content: center;
        /* Center text/icon */
        border: 1px solid #eee;
        /* Add refined border */
    }
}

/* --- TEMA SİSTEMİ ZORUNLU GÜNCELLEMELERİ (MASTER PROMPT) --- */

/* 1. Search Tab Active (Gradient veya Solid) */


/* 2. Content Title After & Border Colors */
html[data-theme] .content-title::after {
    background-color: var(--t-info-accent) !important;
}

/* 3. Feature Title - ARTIK SABIT DEĞİL, TEMA RENGİ */
html[data-theme] .feature-title {
    color: var(--t-accent) !important;
}

/* 4. Testimonial Author */
html[data-theme] .testimonial-author {
    color: var(--t-title-accent) !important;
}

/* 5. Criteria Tag Static */
html[data-theme] .criteria-tag-static {
    background: var(--t-tag-bg) !important;
}

/* 6. Modal Content */
html[data-theme] .modal-content {
    background-color: var(--t-surface-main) !important;
    border-color: var(--t-border-soft) !important;
}

html[data-theme] .modal-header,
html[data-theme] .modal-footer {
    border-color: var(--t-border-soft) !important;
}

/* 7. Main Search Button */
html[data-theme] .main-search-btn {
    background-color: var(--t-main-search-bg) !important;
    background: var(--t-grad-main-search) !important;
    color: #fff !important;
    /* Genelde beyaz olur */
}

/* Border ve Shadow içindeki #00bcd4 kullanımları için genel override yapmak zor.
   Ancak bilinen sınıflar varsa eklenebilir. 
   Şimdilik yukarıdaki spesifik kurallar geçerli. */

/* --- MOBILE INVOICE TABLE CARD VIEW --- */
@media (max-width: 991px) {

    .invoice-table,
    .invoice-table tbody,
    .invoice-table tr,
    .invoice-table td {
        display: block;
        width: 100%;
    }

    .invoice-table thead {
        display: none;
    }

    .invoice-table tr {
        margin-bottom: 20px;
        background: var(--t-bg-card);
        border: 1px solid var(--t-profile-card-border);
        border-radius: 12px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .invoice-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
        text-align: right;
        font-size: 14px;
        min-height: 45px;
    }

    .invoice-table td:last-child {
        border-bottom: none;
        justify-content: center;
        padding: 15px;
    }

    .invoice-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--t-color-policy-text);
        text-align: left;
        margin-right: 15px;
        width: 40%;
        /* Labels take up 40% width */
        flex-shrink: 0;
        color: #265073;
        /* Theme dominant color */
    }

    /* Özel Stil Düzenlemeleri (Görseli Yakalamak İçin) */
    .invoice-table td[data-label="Fatura No"] {
        font-weight: bold;
    }

    .invoice-table td[data-label="Tutar (KDV Dahil)"] {
        font-weight: bold;
        color: var(--t-text-body);
    }

    /* Buton ve Badge'ler için */
    .btn-pay-now {
        width: 100%;
        display: block;
        padding: 10px;
        font-size: 15px;
    }

    .status-badge-pending,
    .status-badge-paid {
        display: inline-block;
        /* Badge'lerin yapısını koru */
    }
}

/* --- MOBILE RESPONSIVE < 300px --- */
@media (max-width: 300px) {
    .navbar>.container-fluid {
        gap: 2px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .navbar-brand {
        gap: 2px !important;
        margin-right: 0 !important;
    }

    .logo-img {
        height: 16px !important;
    }

    .logo-text {
        font-size: 10px !important;
    }

    #dynamic-flag-container img {
        height: 8px !important;
        margin-left: 2px !important;
    }

    /* Toggle Button Shrink */
    #mobileSidebarToggleBtn {
        padding: 2px 4px !important;
        font-size: 10px !important;
    }

    #mobileSidebarToggleBtn i {
        font-size: 12px !important;
        /* Iconu da küçült */
    }

    /* Navbar Toggler Shrink */
    .navbar-toggler {
        padding: 2px 4px !important;
        font-size: 10px !important;
    }

    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
}

/* --- LIVE SUPPORT MODAL MOBILE RESPONSIVE (COMPACT) --- */
@media (max-width: 576px) {
    .modal-live-support .modal-dialog {
        margin: 0 auto;
        /* Tam ortala */
        width: 95% !important;
        max-width: 95% !important;
        display: flex;
        align-items: center;
        min-height: 100vh;
        /* Ekran boyu kadar alan */
    }

    .modal-live-support .modal-content {
        border-radius: 12px;
        max-height: 98vh;
        /* Neredeyse tam ekran ama boşluklu */
        overflow-y: hidden;
        /* Scrollu engellemeye çalış */
    }

    .modal-live-support .modal-header {
        padding: 8px 15px;
        /* Header'ı daralt */
    }

    .modal-live-support .modal-title {
        font-size: 16px;
        /* Başlığı küçült */
    }

    .modal-live-support .modal-body {
        padding: 10px 15px !important;
        /* İç boşluğu azalt */
    }

    .modal-live-support .support-desc {
        font-size: 11px;
        /* Açıklamayı küçült */
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .modal-live-support .form-control {
        font-size: 12px;
        /* Input yazılarını küçült */
        padding: 6px 10px;
        /* Input iç boşluğunu azalt */
        height: auto;
        /* Varsa sabit yüksekliği kaldır */
        margin-bottom: 8px;
        /* Alt boşluğu azalt (Bootstrap mb-3 olabilir, html'den de bakmak lazım ama css ile ezebiliriz) */
    }

    /* Eğer bootstrap mb-3 classları varsa onları ezmek için */
    .modal-live-support .mb-3 {
        margin-bottom: 8px !important;
    }

    .modal-live-support .row {
        margin-bottom: 0 !important;
        /* Row marginlerini sıfırla */
    }

    .modal-live-support .col-md-6,
    .modal-live-support .col-12 {
        margin-bottom: 5px;
        /* Kolon altı boşluk */
    }

    .modal-live-support textarea.form-control {
        height: 60px;
        /* Textarea'yı baya küçült */
        min-height: 60px;
    }

    .modal-live-support .captcha-area {
        scale: 0.9;
        /* Captcha'yı biraz küçült */
        transform-origin: left center;
        margin-bottom: 5px;
    }

    .modal-live-support label {
        font-size: 10px !important;
        /* Label fontunu küçült */
    }

    .modal-live-support .btn {
        padding: 5px 15px;
        font-size: 13px;
    }
}

/* --- TENDER CARD DESIGN --- */

.tender-card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tender-card {
    background: var(--t-bg-card);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid #eef2f6;
    /* Very light border */
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    /* Makes the whole card look clickable */
    display: flex;
    /* Changed to flex for better layout control */
    flex-direction: column;
}

.tender-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--t-accent);
    /* Highlight border on hover */
}

/* Card Header Area */
.tender-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.tender-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.4;
    flex-grow: 1;
    /* Title takes available space */
    padding-right: 15px;
}

.tender-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #6c757d;
    align-items: center;
}

/* Card Body Area */
.tender-card-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Space between columns */
    margin-bottom: 15px;
}

.tender-info-item {
    flex: 1 1 150px;
    /* Responsive grid-like logic */
    display: flex;
    flex-direction: column;
}

.tender-info-label {
    font-size: 0.75rem;
    color: #adb5bd;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.tender-info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #495057;
}

.tender-info-value.highlight {
    color: var(--t-accent);
    font-weight: 700;
}

/* Card Footer/Actions */
.tender-card-footer {
    display: flex;
    justify-content: flex-end;
    /* Push buttons to right */
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    /* Push to bottom if height is fixed */
}

.tender-card-footer .btn-action {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    /* Styles inherited from existing btn-action but sized for card footer */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .tender-card-header {
        flex-direction: column;
    }

    .tender-card-meta {
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .tender-card-footer {
        flex-wrap: wrap;
        justify-content: center;
        /* Center buttons on mobile */
    }

    .tender-card-footer .btn-action {
        flex: 1;
        /* Full width buttons on very small screens? or auto */
        white-space: nowrap;
    }
}

/* Slide out animation for hiding */
.slide-out-right {
    animation: slideOutRight 0.5s forwards;
    pointer-events: none;
    /* Disable clicks during animation */
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Badge styles for status/type if needed */
.badge-tender-type {
    background-color: rgba(var(--t-accent-rgb), 0.1);
    color: var(--t-accent);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}


/* - - - TENDER LIST CARD LAYOUT (Refactor from Table) - - - */
.tender-list-header {
    display: grid;
    /* 8 columns: Country, Institution, Subject, Type, Method, Branch, Date, Actions */
    grid-template-columns: 0.8fr 1.5fr 2fr 1fr 1fr 1fr 0.8fr 1.2fr;
    gap: 15px;
    padding: 15px 20px;
    background-color: transparent;
    border-bottom: 2px solid #e9ecef;
    font-weight: bold;
    color: var(--t-color-policy-text);
    align-items: center;
}

.tender-list-header .header-item {
    font-size: 14px;
    text-transform: uppercase;
}

.tender-list-header .header-item.text-center {
    text-align: center;
}

.tender-list-card {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr 2fr 1fr 1fr 1fr 0.8fr 1.2fr;
    gap: 15px;
    padding: 20px;
    background-color: var(--t-text-white);
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    align-items: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.tender-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--t-accent, #2196F3);
}

.tender-cell {
    font-size: 14px;
    color: var(--t-text-body);
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap;  Let text wrap if it's long, flexible height */
}

.tender-cell.subject-cell {
    font-weight: 600;
    color: var(--t-title-accent, #1a237e);
}

.tender-cell.date-cell {
    font-weight: 500;
    color: var(--t-text-muted);
}

.tender-cell .action-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

/* Hide table on desktop since we use grid now, but maybe we can reuse similar mobile logic */
@media (max-width: 991px) {
    .tender-list-header {
        display: none;
        /* Hide headers on mobile */
    }

    .tender-list-card {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
        padding-bottom: 60px;
        /* Space for actions at bottom */
    }

    .tender-cell {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    /* Mobile Labels */
    .tender-cell::before {
        content: attr(data-label);
        font-weight: bold;
        color: #999;
        margin-right: 10px;
        min-width: 100px;
        display: inline-block;
    }

    /* Specific Mobile Styling adjustments */
    .tender-cell.country-cell {
        font-weight: bold;
    }

    .tender-cell .action-container {
        flex-direction: row;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 10px;
        background: #f8f9fa;
        border-top: 1px solid var(--t-border-light);
        justify-content: space-around;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .btn-action {
        flex: 1;
        font-size: 11px;
        padding: 6px;
    }
}

/* --- YENİ TENDER KART YAPISI (GRID) --- */
.tender-card-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Başlık Satırı */
.tender-header-row {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr 4fr 1.5fr 1.5fr 1.5fr 1.5fr 160px;
    /* 8 Kolon: Ülke Kurum Konu AlımTipi Usul Branş SonBaşvuru İşlem */
    gap: 10px;
    background-color: var(--t-badge-soft-bg, #e3f2fd);
    /* Tema renge göre değişen açık başlık arka planı */
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    color: #1a237e;
    text-transform: uppercase;
    font-size: 13px;
    align-items: center;
    text-align: center;
}

/* İçerik Kartı (Satır Görünümlü) */
.tender-card-row {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr 4fr 1.5fr 1.5fr 1.5fr 1.5fr 160px;
    gap: 10px;
    background-color: var(--t-text-white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 1px solid #eee;
    cursor: pointer;
    /* Tıklanabilir */
    position: relative;
    text-decoration: none;
    color: inherit;
}

.tender-card-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--t-shadow-testimonial);
    border-color: var(--t-accent);
    z-index: 1;
}

.tender-card-row:focus {
    outline: 2px solid var(--t-accent);
    outline-offset: 2px;
}

.tender-card-row.reviewed .t-cell,
.tender-card-row.viewed .t-cell {
    color: #dc3545 !important;
}

/* Hücre Stilleri */
.t-cell {
    font-size: 13px;
    color: var(--t-text-body);
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; - Konu ve Kurum için kaydırma olsun */
    padding: 0 5px;
}

.tender-card-row .t-cell:last-child {
    overflow: visible;
}

/* Action Container - Tüm çözünürlüklerde tutarlı dikey görünüm, eşit genişlik */
.tender-card-row .action-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: 100% !important;
}

.tender-card-row .action-container .btn-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    font-size: 11px !important;
    padding: 6px 10px !important;
    text-align: center !important;
    overflow: hidden !important;
    /* Masaüstü ile aynı stiller */
    border: 1px solid var(--t-btn-secondary-bg) !important;
    color: var(--t-btn-outline-text) !important;
    background-color: transparent !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.tender-card-row .action-container .btn-action:hover {
    background-color: var(--t-search-box-bg, #badcff) !important;
    color: var(--t-btn-outline-text) !important;
    border-color: var(--t-btn-outline-text) !important;
}

.tender-card-row .action-container .btn-action.active {
    background: var(--t-btn-agenda-active-gradient) !important;
    color: white !important;
    border-color: transparent !important;
}

.tender-card-row .action-container .btn-action.active:hover {
    background-color: var(--t-btn-agenda-active-hover-bg, #2e67cc) !important;
    border-color: var(--t-btn-agenda-active-hover-bg, #2e67cc) !important;
}

/* Uzun metin butonlar için özel stil */
.tender-card-row .action-container .btn-hide {
    font-size: 10px !important;
    padding: 6px 8px !important;
}

.t-cell.fw-bold {
    font-weight: 600;
}

.t-cell.text-muted {
    color: #666 !important;
}

.t-cell-subject {
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.t-cell-institution {
    text-align: left;
    font-weight: 500;
}

/* Mobilde Label Gizle (Desktop) */
.mobile-label {
    display: none;
}

/* Tablet breakpoint kaldırıldı - masaüstü görünümü 768px'e kadar devam eder */

/* MOBİL GÖRÜNÜM (768px altı) - Liste Görünümü */
@media (max-width: 768px) {
    .tender-card-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .t-cell {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f9f9f9;
        padding-bottom: 8px;
        text-align: right;
    }

    .t-cell:last-child {
        border-bottom: none;
    }

    .t-cell-subject {
        order: -1;
        /* Konu en başa */
        text-align: left;
        font-size: 16px;
        font-weight: bold;
        color: var(--t-title-accent);
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 5px;
        width: 100%;
        display: block;
    }

    .t-cell-institution {
        font-weight: 600;
        color: var(--t-color-policy-text);
    }

    /* Mobile Label Göster */
    .mobile-label {
        display: inline-block;
        font-weight: 600;
        color: #999;
        font-size: 11px;
        text-transform: uppercase;
        margin-right: 10px;
        min-width: 80px;
        text-align: left;
    }
}

/* ===== Credit Card Flip Card Styles ===== */
.credit-card-container {
    display: none;
    justify-content: center;
    margin-bottom: 15px;
    animation: fadeInCard 0.3s ease-in-out;
}

.credit-card-container.visible {
    display: flex;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.credit-card {
    background-color: transparent;
    width: 260px;
    height: 160px;
    perspective: 1000px;
    color: var(--t-text-white);
    font-family: 'Courier New', monospace;
    transform: scale(0.85);
    transform-origin: center top;
}

.credit-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.credit-card.flipped .credit-card-inner {
    transform: rotateY(180deg);
}

.credit-card-front,
.credit-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
}

.credit-card-front {
    background: var(--t-credit-card-front);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.credit-card-back {
    background: var(--t-credit-card-back);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: rotateY(180deg);
}

/* Card Front Elements */
.credit-card-type {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
}

.credit-card-chip {
    position: absolute;
    top: 40px;
    left: 20px;
    width: 45px;
    height: 35px;
    background: var(--t-credit-card-chip);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-card-chip::before {
    content: '';
    width: 30px;
    height: 20px;
    background: repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 3px,
            rgba(0, 0, 0, 0.1) 3px,
            rgba(0, 0, 0, 0.1) 6px);
    border-radius: 3px;
}

.credit-card-contactless {
    position: absolute;
    top: 50px;
    left: 75px;
    font-size: 20px;
    opacity: 0.8;
}

.credit-card-number {
    position: absolute;
    top: 80px;
    left: 15px;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.credit-card-expiry-label {
    position: absolute;
    bottom: 35px;
    left: 15px;
    font-size: 6px;
    opacity: 0.6;
    text-transform: uppercase;
}

.credit-card-expiry {
    position: absolute;
    bottom: 18px;
    left: 15px;
    font-size: 11px;
    font-weight: bold;
}

.credit-card-holder {
    position: absolute;
    bottom: 18px;
    left: 80px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.credit-card-logo {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 40px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-card-logo svg {
    max-width: 100%;
    max-height: 100%;
}

/* Card Back Elements */
.credit-card-strip {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--t-credit-card-strip);
}

.credit-card-signature {
    position: absolute;
    top: 85px;
    left: 20px;
    width: 200px;
    height: 35px;
    background: var(--t-bg-card);
    border-radius: 4px;
}

.credit-card-cvv-box {
    position: absolute;
    top: 85px;
    right: 20px;
    width: 50px;
    height: 35px;
    background: var(--t-bg-card);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-card-cvv {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    font-style: italic;
}

.credit-card-container.visible {
    display: flex;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.credit-card {
    background-color: transparent;
    width: 300px;
    height: 180px;
    perspective: 1000px;
    color: var(--t-text-white);
    font-family: 'Courier New', monospace;
}

.credit-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.credit-card.flipped .credit-card-inner {
    transform: rotateY(180deg);
}

.credit-card-front,
.credit-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
}

.credit-card-front {
    background: var(--t-credit-card-front);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.credit-card-back {
    background: var(--t-credit-card-back);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: rotateY(180deg);
}

/* Card Front Elements */
.credit-card-type {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
}

.credit-card-chip {
    position: absolute;
    top: 40px;
    left: 20px;
    width: 45px;
    height: 35px;
    background: var(--t-credit-card-chip);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-card-chip::before {
    content: '';
    width: 30px;
    height: 20px;
    background: repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 3px,
            rgba(0, 0, 0, 0.1) 3px,
            rgba(0, 0, 0, 0.1) 6px);
    border-radius: 3px;
}

.credit-card-contactless {
    position: absolute;
    top: 50px;
    left: 75px;
    font-size: 20px;
    opacity: 0.8;
}

.credit-card-number {
    position: absolute;
    top: 95px;
    left: 20px;
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.credit-card-expiry-label {
    position: absolute;
    bottom: 45px;
    left: 20px;
    font-size: 8px;
    opacity: 0.6;
    text-transform: uppercase;
}

.credit-card-expiry {
    position: absolute;
    bottom: 25px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
}

.credit-card-holder {
    position: absolute;
    bottom: 25px;
    left: 100px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.credit-card-logo {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-card-logo svg {
    max-width: 100%;
    max-height: 100%;
}

/* Card Back Elements */
.credit-card-strip {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--t-credit-card-strip);
}

.credit-card-signature {
    position: absolute;
    top: 85px;
    left: 20px;
    width: 200px;
    height: 35px;
    background: var(--t-bg-card);
    border-radius: 4px;
}

.credit-card-cvv-box {
    position: absolute;
    top: 85px;
    right: 20px;
    width: 50px;
    height: 35px;
    background: var(--t-bg-card);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-card-cvv {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    font-style: italic;
}

/* ===== KEYWORD INPUT WITH TAG BAR ===== */
.keyword-input-wrapper {
    display: flex;
    border: 1px solid var(--t-border-medium);
    border-radius: 5px;
    overflow: hidden;
    background: var(--t-bg-card);
}

.keyword-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
}

.keyword-input::placeholder {
    color: #999;
}

.keyword-add-btn {
    background: var(--t-grad-butonrenk, linear-gradient(135deg, #1e4066, #3b82f6));
    color: var(--t-text-white);
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.keyword-add-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.keyword-tags-bar {
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 44px;
}

.keyword-tag {
    background: var(--t-keyword-tag-bg);
    color: var(--t-text-white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.keyword-tag i {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.keyword-tag i:hover {
    opacity: 1;
}

/* ====================================================================
   COMPREHENSIVE MOBILE RESPONSIVE IMPROVEMENTS
   ==================================================================== */

/* --- TENDER TABLE / CARD ROW MOBILE VIEW --- */
@media (max-width: 768px) {

    /* Hide desktop header row on mobile */
    .tender-header-row {
        display: none !important;
    }

    /* Make tender card rows stack vertically as cards */
    .tender-card-row {
        flex-direction: column !important;
        padding: 15px !important;
        gap: 8px !important;
        border-radius: 10px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }

    /* Each cell becomes full width */
    .tender-card-row .t-cell {
        width: 100% !important;
        padding: 6px 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px !important;
    }

    .tender-card-row .t-cell:last-child {
        border-bottom: none;
        justify-content: center !important;
        padding-top: 12px !important;
    }

    /* Show mobile labels */
    .mobile-label {
        display: block !important;
        font-weight: 600 !important;
        color: var(--t-primary-base, #265073) !important;
        min-width: 100px;
        flex-shrink: 0;
    }

    /* Institution and subject cells - allow text wrap */
    .tender-card-row .t-cell-institution,
    .tender-card-row .t-cell-subject {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    /* Action container full width */
    .tender-card-row .action-container {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

    .tender-card-row .btn-action {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 100% !important;
        font-size: 11px !important;
        padding: 6px 10px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center !important;
        line-height: 1.2 !important;
        border: 1px solid var(--t-btn-secondary-bg) !important;
        color: var(--t-btn-outline-text) !important;
        background-color: transparent !important;
        border-radius: 6px !important;
        min-height: 36px !important;
    }

    .tender-card-row .btn-hide {
        font-size: 10px !important;
        padding: 6px 8px !important;
    }
}

/* Extra small mobile - even smaller buttons */
@media (max-width: 576px) {
    .tender-card-row .action-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .tender-card-row .btn-action {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        width: 100% !important;
        font-size: 10px !important;
        padding: 6px 8px !important;
        border-radius: 5px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center !important;
        line-height: 1.2 !important;
        min-height: 32px !important;
    }

    .tender-card-row .btn-hide {
        font-size: 9px !important;
        padding: 6px 6px !important;
    }

    .tender-card-row .btn-action i {
        margin-right: 2px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
}

/* --- SIDEBAR OPTIMIZATION --- */
@media (max-width: 991px) {

    /* Sidebar cards compact on mobile */
    .sidebar-card {
        margin-bottom: 10px !important;
    }

    .sidebar-card .sidebar-body {
        padding: 12px !important;
    }

    .sidebar-card .sidebar-header {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }

    .sidebar-menu-list li a {
        padding: 8px 0 !important;
        font-size: 13px !important;
    }

    /* Profile info compact */
    .user-info-row {
        font-size: 13px !important;
        padding: 6px 0 !important;
    }

    /* Badge smaller */
    .badge-custom {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }
}

/* --- FORM INPUTS FULL WIDTH ON MOBILE --- */
@media (max-width: 768px) {

    /* All form inputs full width */
    .form-control-custom,
    .form-select-custom {
        width: 100% !important;
        min-width: unset !important;
    }

    /* Filters row stack vertically */
    .filters-row {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .filters-row select,
    .filters-row input {
        width: 100% !important;
    }

    /* Search box adjustments */
    .main-search-input-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .main-search-input {
        width: 100% !important;
        border-radius: 8px !important;
    }

    .main-search-btn {
        width: 100% !important;
        border-radius: 8px !important;
        justify-content: center !important;
    }

    /* Search tabs scrollable */
    .search-tab-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .search-tab-container::-webkit-scrollbar {
        display: none;
    }

    .search-tab {
        white-space: nowrap !important;
        font-size: 12px !important;
        padding: 10px 15px !important;
    }

    /* Detailed search form adjustments */
    #detayliAramaForm .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #detayliAramaForm .col-md-4,
    #detayliAramaForm .col-md-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 15px !important;
    }

    .detailed-search-btn-container {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .btn-detailed-search,
    .btn-clear-form {
        width: 100% !important;
    }
}

/* --- FOOTER MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    footer {
        padding: 30px 0 !important;
    }

    .footer-grid .col-md-4 {
        text-align: center !important;
        margin-bottom: 25px !important;
    }

    .footer-grid .col-md-4:last-child {
        margin-bottom: 0 !important;
    }

    .footer-logo {
        justify-content: center !important;
    }

    .footer-links ul {
        padding-left: 0 !important;
    }

    .footer-links ul li {
        margin-bottom: 8px !important;
    }

    .bottom-bar {
        font-size: 12px !important;
        padding: 15px 10px !important;
    }
}

/* --- PAGINATION MOBILE --- */
@media (max-width: 576px) {
    .pagination-container {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .custom-pagination {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .btn-page {
        flex: 1 !important;
        text-align: center !important;
        font-size: 13px !important;
    }

    .page-info {
        font-size: 13px !important;
    }
}

/* --- GROUP INFO CARD MOBILE --- */
@media (max-width: 768px) {
    .group-info-card {
        padding: 15px !important;
    }

    .group-info-card>div:first-child {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .group-name {
        font-size: 18px !important;
    }

    .group-stats {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .group-stats span {
        font-size: 13px !important;
    }

    .group-actions {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .group-actions .btn {
        flex: 1 1 auto !important;
        min-width: 100px !important;
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

    .group-keywords {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
}

/* --- TENDER DETAIL PAGE MOBILE --- */
@media (max-width: 768px) {
    .tender-detail-header {
        padding: 15px !important;
    }

    .tender-detail-title {
        font-size: 18px !important;
    }

    .info-row {
        flex-direction: column !important;
        gap: 5px !important;
    }

    .info-row .label-col {
        width: 100% !important;
        font-weight: 600 !important;
    }

    .action-bar {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .action-bar .btn {
        width: 100% !important;
    }

    /* Tab navigation smaller */
    .nav-tabs .nav-link {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }
}

/* --- KEYWORD INPUT MOBILE --- */
@media (max-width: 576px) {
    .keyword-input-wrapper {
        flex-direction: column !important;
    }

    .keyword-input {
        border-radius: 5px !important;
        border: 1px solid #ddd !important;
    }

    .keyword-add-btn {
        width: 100% !important;
        border-radius: 5px !important;
        justify-content: center !important;
        margin-top: 8px !important;
    }

    .keyword-tags-bar {
        padding: 10px !important;
    }

    .keyword-tag {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }
}

/* --- GENERAL MOBILE TYPOGRAPHY --- */
@media (max-width: 576px) {

    h1,
    .h1 {
        font-size: 1.75rem !important;
    }

    h2,
    .h2 {
        font-size: 1.5rem !important;
    }

    h3,
    .h3 {
        font-size: 1.25rem !important;
    }

    h4,
    .h4 {
        font-size: 1.1rem !important;
    }

    h5,
    .h5 {
        font-size: 1rem !important;
    }

    .section-title {
        font-size: 22px !important;
    }

    .about-title {
        font-size: 24px !important;
    }

    /* Content spacing */
    .tender-table-section {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
}

/* --- HIDE ELEMENTS ON MOBILE --- */
@media (max-width: 991px) {

    /* Desktop-only header row already hidden above */
    .header-row.d-none.d-lg-flex {
        display: none !important;
    }
}

/* ============================= */
/* ANALYSIS PAGES MOBILE STYLES  */
/* ============================= */

/* Analysis Section Base Styles */
.analysis-section {
    padding: 30px 0;
}

.result-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.result-header {
    color: #265073;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.chart-container {
    width: 100%;
    overflow: hidden;
}

.filter-group-title {
    color: #265073;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.analysis-btn-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-analyze,
.btn-clear-form {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-analyze {
    background: var(--t-grad-login-icon);
    color: var(--t-text-white);
}

.btn-analyze:hover {
    background: var(--t-grad-btn-analyze-hover);
}

.btn-clear-form {
    background: var(--t-btn-clear-bg);
    color: var(--t-text-white);
}

.btn-clear-form:hover {
    background: var(--t-btn-clear-hover);
}

.btn-create-group {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--t-text-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-group:hover {
    background: linear-gradient(135deg, #218838, #1aa179);
}

.btn-create-group.success {
    background: linear-gradient(135deg, #28a745, #28a745);
}

.info-box {
    background: var(--t-search-box-bg, #e3f2fd);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--t-btn-agenda-active-bg, #3b82f6);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-box i {
    color: var(--t-btn-agenda-active-bg, #3b82f6);
    margin-top: 2px;
}

.criteria-summary-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.criteria-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.criteria-tag-static {
    background: var(--t-search-box-bg, #e3f2fd);
    /*color: #265073;*/
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.saved-analysis-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.saved-analysis-list li {
    background: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.saved-analysis-list li:hover {
    background: var(--t-search-box-bg, #e3f2fd);
    transform: translateX(5px);
}

.saved-analysis-list .list-icon {
    color: var(--t-btn-agenda-active-bg, #3b82f6);
}

/* Analysis Pages - Tablet (768px - 991px) */
@media (max-width: 991px) {
    .analysis-section {
        padding: 20px 0;
    }

    .analysis-section .col-lg-3 {
        margin-bottom: 20px;
    }

    .result-card {
        padding: 15px;
    }

    .chart-container {
        height: 280px !important;
    }

    .analysis-btn-container {
        flex-direction: column;
    }

    .btn-analyze,
    .btn-clear-form {
        width: 100%;
        text-align: center;
    }
}

/* Analysis Pages - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .analysis-section {
        padding: 15px 0;
    }

    .analysis-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Form Grid - Stack columns */
    .analysis-section .row.mb-3 .col-md-4 {
        margin-bottom: 15px;
    }

    /* Result cards */
    .result-card {
        padding: 12px;
        margin-bottom: 15px;
    }

    .result-header {
        font-size: 14px;
    }

    /* Chart container - smaller height, responsive */
    .chart-container {
        height: 250px !important;
        overflow: hidden;
    }

    /* Make Plotly charts responsive on mobile */
    #priceChartTL,
    #priceChartUSD {
        width: 100% !important;
        min-width: unset !important;
    }

    /* Filter group title */
    .filter-group-title {
        font-size: 12px;
        margin-bottom: 10px;
    }

    /* Info box */
    .info-box {
        padding: 12px;
        font-size: 13px;
    }

    /* Buttons */
    .btn-analyze,
    .btn-clear-form {
        padding: 10px 15px;
        font-size: 13px;
    }

    .btn-create-group {
        padding: 12px;
        font-size: 13px;
    }

    /* Criteria summary */
    .criteria-summary-box {
        padding: 15px;
    }

    .criteria-summary-box h5 {
        font-size: 14px;
    }

    .criteria-tag-static {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* Saved analysis list */
    .saved-analysis-list li {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* Tables in analysis - Card Layout for Mobile */
    .analysis-section .table-responsive {
        margin: 0;
        padding: 0;
    }

    .analysis-section .list-table {
        border: none;
    }

    .analysis-section .list-table thead {
        display: none;
    }

    .analysis-section .list-table tbody tr {
        display: block;
        background: #f8f9fa;
        margin-bottom: 12px;
        padding: 12px;
        border-radius: 8px;
        border-left: 4px solid var(--t-btn-agenda-active-bg, #3b82f6);
    }

    .analysis-section .list-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border: none;
        font-size: 12px;
    }

    .analysis-section .list-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #265073;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .analysis-section .list-table tbody td.price-min,
    .analysis-section .list-table tbody td.price-max {
        color: #28a745;
        font-weight: 600;
    }

    /* Main title */
    .analysis-section h4 {
        font-size: 16px !important;
    }
}

/* Analysis Pages - Extra Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .analysis-section {
        padding: 10px 0;
    }

    .result-card {
        padding: 10px;
        border-radius: 6px;
    }

    .result-header {
        font-size: 13px;
        padding-bottom: 8px;
    }

    /* Chart container - even smaller, responsive */
    .chart-container {
        height: 180px !important;
        overflow: hidden;
    }

    #priceChartTL,
    #priceChartUSD {
        width: 100% !important;
    }

    /* Form inputs */
    .analysis-section .form-control-custom,
    .analysis-section .form-select-custom {
        font-size: 13px;
        padding: 8px 10px;
    }

    .search-label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    /* Buttons - full width stacked */
    .btn-analyze,
    .btn-clear-form {
        padding: 10px;
        font-size: 12px;
    }

    /* Criteria tags wrap */
    .criteria-tags-wrapper {
        gap: 5px;
    }

    .criteria-tag-static {
        font-size: 10px;
        padding: 4px 8px;
    }

    /* Tables - even smaller text */
    .analysis-section .table th,
    .analysis-section .table td {
        font-size: 10px;
        padding: 6px 4px;
    }

    /* Hide less important table columns on very small screens */
    .analysis-section .table th:nth-child(6),
    .analysis-section .table td:nth-child(6) {
        display: none;
    }

    /* Saved analysis list */
    .saved-analysis-list li {
        padding: 10px 12px;
        font-size: 12px;
    }

    .saved-analysis-list li span {
        max-width: calc(100% - 30px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* --- MULTI-SELECT DROPDOWN STYLES --- */
.multi-select-container {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.multi-select-button {
    width: 100%;
    text-align: left;
    background-color: var(--t-text-white);
    border: 1px solid #ced4da;
    border-radius: 8px;
    /* form-select-custom ile uyumlu */
    padding: 10px 15px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.multi-select-button:hover {
    border-color: #b3b3b3;
}

.multi-select-button:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.multi-select-button::after {
    content: '';
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    border-right: 0.2em solid #6c757d;
    border-bottom: 0.2em solid #6c757d;
    transform: rotate(45deg);
    margin-left: 10px;
    margin-top: -4px;
}

.multi-select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background-color: var(--t-text-white);
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1050;
    margin-top: 5px;
    padding: 0;
}

.multi-select-dropdown.show {
    display: block;
}

.multi-select-search {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    background: var(--t-bg-card);
    z-index: 10;
}

.multi-select-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.multi-select-search input:focus {
    border-color: #80bdff;
}

.multi-select-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.multi-select-option {
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    color: var(--t-text-body);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s;
}

.multi-select-option:last-child {
    border-bottom: none;
}

.multi-select-option:hover {
    background-color: #f1f3f5;
}

.multi-select-option input[type='checkbox'] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--t-accent, #0d6efd);
}

.multi-select-optgroup-label {
    padding: 8px 15px;
    font-weight: 700;
    font-size: 12px;
    color: #6c757d;
    background-color: #f8f9fa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

/* Scrollbar customization */
.multi-select-dropdown::-webkit-scrollbar {
    width: 6px;
}

.multi-select-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.multi-select-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.multi-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* --- SUCCESS MODAL STİLLERİ --- */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.success-modal-content {
    background: linear-gradient(135deg, var(--t-soft-pastel, #f0f4ff) 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 40px 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    border-top: 4px solid var(--t-primary-base, #1e4066);
}

.success-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--t-primary-base, #1e4066);
    margin-bottom: 20px;
}

.success-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--t-grad-butonrenk);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 64, 102, 0.3);
}

.success-modal-icon i {
    font-size: 40px;
    color: var(--t-text-white);
}

.success-modal-message {
    font-size: 16px;
    color: var(--t-color-policy-text);
    margin-bottom: 30px;
}

.success-modal-message span {
    font-weight: 700;
    color: var(--t-primary-base, #1e4066);
}

.success-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-modal-secondary {
    padding: 12px 24px;
    border: 2px solid var(--t-primary-base, #1e4066);
    background: transparent;
    color: var(--t-primary-base, #1e4066);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modal-secondary:hover {
    background: var(--t-primary-base, #1e4066);
    color: var(--t-text-white);
}

.btn-modal-primary {
    padding: 12px 24px;
    background: var(--t-grad-butonrenk);
    color: var(--t-text-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modal-primary:hover {
    filter: brightness(1.1);
    color: var(--t-text-white);
}

/* --- MOBİL UYUM --- */
@media (max-width: 768px) {
    .modal-live-support .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .modal-live-support .modal-content {
        border-radius: 10px;
    }

    .modal-live-support .modal-header {
        padding: 15px 15px 5px;
    }

    .modal-live-support .modal-title {
        font-size: 20px;
    }

    .modal-live-support .modal-body {
        padding: 10px 15px 15px;
    }

    .modal-live-support .support-desc {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .modal-live-support .form-control {
        padding: 8px 12px;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .modal-live-support .mb-3 {
        margin-bottom: 8px !important;
    }

    .modal-live-support .row {
        --bs-gutter-x: 10px;
    }

    .modal-live-support .col-md-6,
    .modal-live-support .col-12 {
        padding: 0 5px;
    }

    .modal-live-support textarea.form-control {
        min-height: 80px;
    }

    .modal-live-support .captcha-area {
        flex-wrap: wrap;
        gap: 8px;
    }

    .modal-live-support label {
        font-size: 11px;
    }

    .modal-live-support .btn {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* --- KOYU MOD --- */
body.dark-mode .modal-content {
    background-color: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .modal-header,
body.dark-mode .modal-footer {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

body.dark-mode .modal-title {
    color: #ffffff !important;
}

body.dark-mode .success-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%);
    border-top-color: var(--t-text-white);
}

body.dark-mode .success-modal-title {
    color: var(--t-text-white);
}



body.dark-mode .success-modal-message {
    color: #e0e0e0;
}

body.dark-mode .success-modal-message span {
    color: var(--t-text-white);
}

body.dark-mode .btn-modal-secondary {
    border-color: var(--t-text-white);
    color: var(--t-text-white);
}

body.dark-mode .btn-modal-secondary:hover {
    background: #ffffff;
    color: #111111;
}

/* --- TESTIMONIAL SLIDER --- */
.testimonials-section {
    padding: 60px 0;
    overflow: hidden;
}

.testimonials-section .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.testimonials-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--t-text-white);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonial-slider-track {
    display: flex;
    width: calc(320px * 10);
    /* 5 original + 5 duplicate */
    animation: scroll-testimonials 30s linear infinite;
}

.testimonial-slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-320px * 5));
        /* scroll half width */
    }
}

.testimonial-card-wrapper {
    width: 320px;
    flex-shrink: 0;
    padding: 0 15px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid #f0f2f5;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--t-shadow-testimonial-hover);
}

.testimonial-stars {
    color: #ffd700;
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--t-color-policy-text);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: var(--t-primary-base, #1a2b3c);
    font-size: 13px;
    text-align: right;
}