﻿/* Tedarikçi En Çok Gezilen Sayfa - Sade Tasarım */
@media screen and (max-width: 768px) {
    .tedarikci-gezilen-sayfa-container {
        margin: 15px 0 !important;
        padding: 15px !important;
    }
    
    .tedarikci-gezilen-sayfa-container h4 {
        font-size: 16px !important;
    }
    
    .tedarikci-gezilen-sayfa-container > div:nth-child(2) {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media screen and (max-width: 480px) {
    .tedarikci-gezilen-sayfa-container {
        padding: 12px !important;
    }
    
    .tedarikci-gezilen-sayfa-container > div:first-child > div:first-child {
        padding: 8px !important;
        margin-right: 8px !important;
    }
    
    .tedarikci-gezilen-sayfa-container > div:first-child > div:first-child .rz-icon {
        font-size: 16px !important;
    }
}

/* General styles for the label */
.toggle-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.yeni-kayit-button-admin {
    margin: 0.5rem 0 0.5rem 0 !important;
}

.tnm-baslik {
    display: flex;
    justify-content: center;
    color: white;
    position: relative;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.tnm-baslik-durum {
    margin-top: 0.5rem !important;
}

.header-baslik {
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-header {
    background: linear-gradient(135deg, #ff9f31, #ff8916);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-flex {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.header-title {
    font-size: inherit;
    font-weight: inherit;
}

.header-info {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 0.5rem;
    white-space: normal;
    word-break: break-word;
}

/* Styles for the checkbox input (hidden) */
.sr-only {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Styles for the toggle container */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9fafb;
    border: 1px solid #1f2937;
    border-radius: 9999px;
    width: 3rem;
    height: 1.5rem;
    position: relative;
    transition: background-color 0.7s, box-shadow 0.7s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-container {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 11px;
    transform: translateY(-50%);
    font-size: 22px;
    color: darkgray;
    pointer-events: none;
}

/* Responsive input for mobile */
.search-container input[type="text"],
.search-container .rz-textbox {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 40px; /* space for icon */
    /* Prevent overflow of placeholder */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

    /* Make sure placeholder truncates with ellipsis */
    .search-container input::placeholder,
    .search-container .rz-textbox::placeholder {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }


.sayfa-baslik {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin: 16px 0 8px 0;
    color: #333;
    z-index: 1;
    /* Prevent overlap with buttons */
    padding-top: 8px;
}

/* Card container: flex wrap for desktop, center for mobile */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
}

/* Card item: consistent width */
.card-item {
    flex: 0 1 320px;
    max-width: 100%;
}


.radzen-card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding-bottom: 48px;
}

    .radzen-card .radzen-stack {
        min-height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .radzen-card img {
        max-width: 250px;
        max-height: 100px;
        object-fit: contain;
        margin: auto;
    }

    .radzen-card .card-actions {
        position: absolute;
        bottom: 10px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: end;
        gap: 10px;
        padding-right: 10px;
    }

/* Styles for the pencil icon */
.icon-pencil {
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

/* Styles for the link icon */
.icon-link {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

/* Hide mobile warning on desktop, show on mobile */
.demo-warning-mobile {
    display: none;
}

.demo-warning-desktop {
    display: block;
}

/* Hover effect for the link icon */
.toggle-container:hover .icon-link {
    transform: translateY(-50%) scale(0.95);
}

/* Checked state styles */
.sr-only:checked + .toggle-container {
    background: linear-gradient(to right, #4391F1, #2982f0);
}

    /* Animation for the after element (circle movement when checked) */
    .sr-only:checked + .toggle-container::after {
        transform: translateX(25px);
    }

/* After element styles (circle that moves when checked) */
.toggle-container::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #1f2937;
    border-radius: 50%;
    transition: transform 0.2s;
}

.htmleditorlabel {
    background: #3498db;
    border-radius: 10px;
    margin: 0.5rem 0 0.5rem 0;
    padding: 0 15px;
}

.htmleditorh4 {
    margin: auto;
    padding: 5px;
    color: #fff;
}

.htmlEditorLabel-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 20px;
}

.paketSecimSayfaButton {
    margin-top: 10px;
    border: none;
    border-radius: 25px;
    padding: 11px;
    width: 75%;
    background-color: #EF7F1A;
    color: #fff;
    transition: all 0.3s ease;
}

    .paketSecimSayfaButton:hover {
        background-color: #d47117;
        color: #fff !important;
    }

.satin-al-main-button:hover {
    background-color: #fff !important;
    border: 1px solid #FB831F;
    color: #FB831F !important;
    transition: all 0.3s ease;
}

.admin-teklif-yazdir-ozellestir-aktif {
    width: 25%;
}

.admin-siteAyarlari-textbox {
    width: 50%;
}

.aaveriGirisKapsayici .aagirisYapButton {
    background-color: #EF7F1A;
    width: 50%;
    color: white;
    border: none !important;
    padding: 10px;
    border-radius: 7px;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .aaveriGirisKapsayici .aagirisYapButton:hover {
        background-color: #c76812;
    }

.tedarikci-tnm-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
}

.dot-animated {
    display: inline-block;
    position: absolute;
    display: flex;
    left: 103%;
    bottom: 26%;
}

    .dot-animated span {
        display: inline-block;
        font-size: 2rem;
        margin-right: 2px;
        opacity: 0;
        animation: blink 3s infinite;
        font-size: 20px;
    }

        .dot-animated span:nth-child(1) {
            animation-delay: 0s;
        }

        .dot-animated span:nth-child(2) {
            animation-delay: 0.5s;
        }

        .dot-animated span:nth-child(3) {
            animation-delay: 1s;
        }

/*Üst Paketlerde çalışan özelliklerin açıklamalarında kullanılan alert in css'i*/
.alert-box {
    background-color: #cce5ff; /* Light blue background */
    color: #004085; /* Dark blue text */
    border: 1px solid #b8daff; /* Border for the box */
    padding: 15px; /* Padding inside the box */
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 20px; /* Space below the box */
    display: flex; /* Aligns icon and text in a row */
    align-items: center; /* Vertically aligns icon and text */
}

.maliyet-input-renk .rz-numeric-input {
    background-color: #fa2020 !important;
    color: white !important;
}

.kazanc-input-renk .rz-numeric-input {
    background-color: #02bf25 !important;
    color: white !important;
}

.maliyet-kazanc-tl-isareti {
    color: white;
}

.teklif-bold-input .rz-numeric-input {
    font-weight: bold;
}

.urun-secim-aktarma-buton {
    cursor: pointer;
}

.urun-secim-datagrid thead {
    display: none;
}

.seo-islem-textbox input {
    height: 75px;
}

.seo-islem-textbox.baslik input {
    height: 40px;
}

.tekliftalep-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.admin-tekliftaleplist-selectbar {
    margin-bottom: 5px;
    text-align: start;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.danger-body {
    display: block;
}

.danger-box {
    background-color: #ffebee;
    border: 1px solid #f44336;
    color: #d32f2f;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 0.5rem;
}

    .danger-box i {
        font-size: 1.2rem;
        color: #d32f2f;
        animation: pulse-attention 2s infinite;
    }

@keyframes pulse-attention {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@media screen and (max-width:1600px) {
    .admin-giris-uyari-kapsayici .admin-giris-yazi {
        font-size: 16px !important;
        font-weight: 700 !important;
        position: absolute !important;
        top: 40% !important;
        left: 26% !important;
    }
}

@media screen and (max-width:1180px) {
    .tekliftalep-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .admin-tekliftaleplist-selectbar {
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: auto;
        margin-bottom: 10px;
        margin-top: 10px;
        text-align: start;
    }
}

@media screen and (max-width:1024px) {
    .rz-p-4 {
        padding: 0 !important;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .header-baslik {
        margin-top: 15px;
    }

    .rz-layout .rz-body {
        padding: 0 !important;
    }

    .rz-dialog {
        min-width: 750px !important;
    }

        .rz-dialog.rz-dialog-alert {
            max-width: 400px !important;
        }

    .maliyetOpenButton {
        margin-bottom: 0 !important;
    }

    .adminMobilPadding {
        padding: 30px !important;
    }

    .admin-giris-uyari-kapsayici .admin-giris-yazi {
        font-size: 30px !important;
    }

    .admin-teklif-ozellestir-varsayilani-getir {
        display: block !important;
    }

    .admin-teklif-ozellestir-varsayilani-getir-disabled {
        display: none !important;
    }

    .admin-teklif-yazdir-ozellestir-aktif {
        width: 50%;
    }

    .admin-siteAyarlari-textbox {
        width: 75%;
    }

    .rz-card.rz-variant-filled {
        padding: 10px !important;
        margin: 0;
    }
}
/* Mobil dialog konum ve başlık boşluk düzeni (540px altı) */
@media screen and (max-width: 540px) {

    .rz-dialog {
        width: calc(100vw - 40px) !important;
        margin: 80px auto 20px !important;
        max-height: calc(100vh - 120px) !important;
    }

        .rz-dialog .rz-dialog-titlebar {
            padding-top: 12px !important;
            padding-bottom: 8px !important;
        }

        .rz-dialog .dialog-status,
        .rz-dialog .baslik-durum,
        .rz-dialog .ekleniyor-yazi {
            display: block;
            margin-top: 6px;
        }
}

@media screen and (max-width: 768px) {
    .resimSecSil .border {
        max-width: 350px !important;
        margin-bottom: 10px;
    }

    .admin-siteheader-iconrenk-yazi {
        text-align: start !important;
        margin: 0 !important;
    }

    .admin-siteheader-iconrenk-buton {
        margin: 0 !important;
        width: 100% !important;
    }

    .adminMobilPadding {
        margin-top: 70px;
        padding: 0 !important;
    }

    .htmlEditorLabel-container {
        padding: 10px;
        margin-bottom: 10px;
    }

    .admin-teklif-yazdir-ozellestir-aktif {
        width: 50%;
    }

    .teklifListesiMobildeAcilacakBaslik {
        display: block !important;
        text-align: center;
    }

    .dashboard-grafik {
        display: none !important;
    }

    .rz-layout .rz-body {
        overflow-x: hidden !important;
    }

    .teklifListesiMobildeKapanacakBaslik {
        display: none;
    }

    .headerMobildeKapanacakBaslik {
        display: none;
    }

    .rz-dialog {
        min-width: 500px !important;
    }

        .rz-dialog.rz-dialog-alert {
            max-width: 300px !important;
        }

    .tUrunTnmBaski {
        margin-top: 60px;
    }

    .rz-card.rz-variant-filled {
        padding: 10px !important;
        margin: 10px 10px 0 10px;
    }

    .header-height-margin {
        margin-top: 70px;
    }

    .maliyetOpenRespons {
        position: relative !important;
    }

    .MaliyetOpenMaliyetText {
        text-align: end;
        padding-left: 2rem;
    }

    .admin-giris-uyari-kapsayici .admin-giris-yazi {
        font-size: 25px !important;
    }

    .sayfa-baslik {
        font-size: 1.2rem;
        margin-top: 8px;
        margin-bottom: 4px;
        padding-top: 4px;
    }

    .card-container {
        justify-content: center;
    }

    .card-item {
        flex: 0 1 95vw;
        margin: 8px 0;
    }

    .radzen-card {
        min-height: 170px;
    }

    .tnm-baslik {
        margin-bottom: 8px;
        padding: 18px;
    }

    .tnm-baslik-durum {
        margin-top: 1.5rem !important;
    }

    .page-header {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .header-flex {
        font-size: 1rem;
    }

    .header-info {
        font-size: 11px;
    }

    .demo-warning-mobile {
        display: block;
    }

    .demo-warning-desktop {
        display: none !important;
    }
}

@media screen and (max-width: 610px) {
    .admin-giris-uyari-kapsayici .admin-giris-yazi {
        font-size: 20px !important;
    }
}

@media screen and (max-width: 480px) {
    .resimSecSil .border {
        max-width: 295px !important;
        margin-bottom: 10px;
    }

    .admin-teklif-yazdir-ozellestir-aktif {
        width: 100%;
    }

    .admin-tekliftaleplist-selectbar {
        margin-top: 5px;
        display: block !important;
    }

    .admin-referanstanm-resim {
        max-width: 200px !important;
        max-height: 200px !important;
    }

    .admin-tekliftaleplist-selectbar-item {
        width: 150px !important;
    }

    .admin-tedarikurunsecim-button {
        margin-top: 5px;
    }

    .admin-tekliftanm-ekleniyor-yazi {
        display: none;
    }

    .admin-siteAyarlari-textbox {
        width: 100%;
    }

    .rz-p-4 {
        padding: 0 !important;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .rz-layout .rz-body {
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .rz-card.rz-variant-filled {
        padding: 10px !important;
        margin: 10px 10px 0 10px;
    }

    .card-container .card-item.referans-card img {
        max-width: 250px !important;
    }

    .card-container .card-item img {
        max-width: 310px !important;
    }

    .teklifListUstKapsayici {
        display: block !important;
    }

        .teklifListUstKapsayici .teklifListButon {
            display: none
        }

        .teklifListUstKapsayici button {
            width: 25px !important;
            height: 25px !important;
            display: flex;
            justify-content: center;
        }

        .teklifListUstKapsayici .teklifListSelect .rz-button-md {
            width: 75px !important;
        }

    .navbar.navbar-header {
        margin-right: 15% !important;
    }

    .rz-dialog {
        min-width: 300px !important;
    }

        .rz-dialog.rz-dialog-alert {
            max-width: 300px !important;
        }

    .admin-giris-uyari-kapsayici .admin-giris-yazi {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 380px) {
    .admin-giris-uyari-kapsayici .admin-giris-yazi {
        font-size: 14px !important;
    }
}

@media screen and (max-height: 480px) {
    .rz-data-grid {
        height: 100% !important;
    }

    .rz-layout .rz-footer {
        display: none !important;
    }

    .tedarikci-tnm-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

        .tedarikci-tnm-scroll::-webkit-scrollbar {
            display: none;
        }
}

.mobile-actions-col {
    display: none !important;
}

@media screen and (max-width: 992px) {
    .desktop-actions-col {
        display: none !important;
    }

    .mobile-actions-col {
        display: table-cell !important;
    }
    /* Fix width for mobile actions button cell */
    .rz-data-grid td.mobile-actions-col {
        padding: 2px 4px;
    }

        .rz-data-grid td.mobile-actions-col .rz-button {
            min-width: 32px;
        }

    .banner-location-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

        .banner-location-row > div {
            width: 100% !important;
            margin-right: 0 !important;
            margin-left: 0 !important;
        }

        .banner-location-row .rz-dropdown,
        .banner-location-row .rz-dropdown .rz-dropdown-label {
            width: 100% !important;
            min-width: 220px;
        }
}
