﻿body {
    overflow-y: scroll; /* Dikey kaydırmayı etkinleştir */
    -ms-overflow-style: none; /* IE ve Edge için kaydırma çubuğunu gizle */
}

    /* Webkit tarayıcıları (Chrome, Safari) için kaydırma çubuğunu gizle */
    body::-webkit-scrollbar {
        display: none;
    }

.main-content {
    margin-left: 0;
}

.navbar-brand-box {
    padding: 0;
}

#navbar-top {
    height: 180px;
    justify-content: normal;
}

#searchInput {
    font-size: 1.2rem;
}

.app-search {
    padding: calc(105px* .5);
}

.user-name-text {
    font-size: 1rem;
}

.form-control {
    font-size: .9rem
}

#productTable th, #productTable td {
    font-size: .9rem;
    padding: 3px;
    vertical-align: middle;
}

#modal-body {
    font-size: .9rem;
}

.footer {
    left: 0;
    width: 100%;
}

#wishlistItems th, #wishlistItems td {
    font-size: .9rem;
    vertical-align: middle;
    text-align: center;
}

#total {
    font-size: .9rem;
}

.btn-label {
    padding: 0.25rem 3rem;
    font-size: 0.9rem;
}


.label-icon {
    font-size: .9rem;
    width: 25px;
}

option {
    background-color: #05192f;
}

/* Ses dalgaları için animasyon */
.search-voice {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .search-voice i {
        font-size: 48px;
        color: #28a745;
        margin-right: 15px;
    }

.voice-wave {
    width: 5px;
    height: 20px;
    background-color: #28a745;
    margin: 0 3px;
    border-radius: 5px;
    animation: none;
    display: inline-block;
}

    .voice-wave.active {
        animation: voiceWave 1s infinite ease-in-out;
    }

    .voice-wave:nth-child(2) {
        animation-delay: 0.2s;
        height: 10px;
    }

    .voice-wave:nth-child(3) {
        animation-delay: 0.4s;
        height: 15px;
    }

@keyframes voiceWave {
    0%, 100% {
        height: 5px;
    }

    50% {
        height: 30px;
    }
}

/* Offcanvas düzeltmeleri */
.offcanvas-top {
    height: auto;
    min-height: 30vh;
}

/* Arama kutusu düzenlemeleri */
.position-relative {
    display: flex;
    align-items: center;
}

#searchInput {
    padding-right: 50px; /* Mikrofon ikonu için yer açma */
    height: 50px; /* Büyük form-control için yükseklik */
    border-radius: 0.375rem;
}

.btn-link.link-success {
    color: #28a745;
    text-decoration: none;
    padding: 0.5rem 1rem;
    z-index: 5;
}

    .btn-link.link-success:hover {
        color: #218838;
    }

/* Arama butonu düzenlemeleri */
.btn-success.btn-lg {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
}

    .btn-success.btn-lg i {
        margin-right: 0.5rem;
    }

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    #searchInput {
        height: 45px;
    }

    .btn-success.btn-lg {
        height: 45px;
        padding: 0.4rem 1.2rem;
    }

    .btn-link.link-success {
        padding: 0.4rem 0.8rem;
    }

    footer {
        font-size: 0.8rem;
    }

    /* Footer başlıkları için responsive font-size */
    footer h5 {
        font-size: 1rem !important;
    }

    /* Footer liste öğeleri için responsive font-size */
    footer .footer-list {
        font-size: 0.8rem !important;
    }

    footer .footer-list li {
        font-size: 0.8rem !important;
    }
}

@media (min-width: 768px) {
    #page-topbar {
        left: 0 !important; /* override etmek için !important kullanabilirsin */
    }

    .table.dataTable > thead > tr > th:not(.sorting_disabled), table.dataTable > thead > tr > td:not(.sorting_disabled) {
        padding-right: 0;
    }
}

@media (max-width:768px) {
    .logo-lg img {
        height: 100px !important;
    }

    #navbar-top {
        height: 70px;
        justify-content: normal;
    }

    .navbar-brand-box {
        display: block;
    }

    :is([data-layout=vertical],[data-layout=semibox]) .navbar-brand-box {
        display: block;
    }

    #page-header-user-dropdown {
        font-size: 0;
        width: 70%;
    }

        #page-header-user-dropdown i {
            font-size: 12px; /* ikonu eski haline getiriyoruz */
        }

    
    .card-img-top {
        width: 100%;
    }

    .table.dataTable > thead > tr > th:not(.sorting_disabled), table.dataTable > thead > tr > td:not(.sorting_disabled) {
        padding-right: 0;
    }
}


@media (max-width:926px) {
    span.logo-lg img {
        height: 100px;
        margin-top: 24%;
    }

    .logo-lg img {
        height: 100px !important;
    }

    .app-search {
        padding: 0;
    }

    #productTable th, #productTable td {
        font-size: .5rem;
        padding: 3px;
    }


    .form-control {
        font-size: .5rem;
    }

    #searchInput {
        font-size: .8rem;
    }

    #nav-text a {
        font-size: 0 !important;
        padding: .5rem;
    }


    #wishlistItems th, #wishlistItems td {
        font-size: .6rem;
        vertical-align: middle;
        text-align: center;
        padding: 3px;
    }

    .btn-custom.calculate-button {
        /* Buton boyutunu küçült */
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
        height: 30px !important;
        width: 30px !important;
        min-width: 30px !important;
    }

    .btn-custom {
        /* Buton boyutunu küçült */
        padding: 0.25rem 0.4rem;
        font-size: 0.5rem;
        height: 20px;
        width: 20px;
        min-width: 20px;
    }

    .btn-label {
        /* Buton boyutunu küçült */
        padding: 0.25rem 0.4rem;
        font-size: 0.5rem !important;
        width: 110px;
        min-width: 120px;
    }

    .label-icon {
        font-size: .9rem;
        width: 25px !important;
    }

    #printPdf {
        width: 100%;
        font-size: .5rem;
    }

    #total {
        font-size: .6rem;
    }

    #offer-info {
        font-size: .6rem;
    }

    .table.dataTable > thead > tr > th:not(.sorting_disabled), table.dataTable > thead > tr > td:not(.sorting_disabled) {
        padding-right: 0;
    }

    /* Footer başlıkları için çok küçük ekranlar */
    footer h5 {
        font-size: 0.9rem !important;
    }

    /* Footer liste öğeleri için çok küçük ekranlar */
    footer .footer-list {
        font-size: 0.7rem !important;
    }

    footer .footer-list li {
        font-size: 0.7rem !important;
    }

    footer .footer-list a {
        font-size: 0.7rem !important;
    }
}

@media (min-width:927px) and (max-width:1180px) {
    #searchInput{
        font-size: 1.3rem;
        height: inherit;
    }

    .header-profile-user {
        height: 62px;
    }

    .logo-lg img {
        height: 100px !important;
    }

    .app-search {
        padding: 0;
    }

    .btn-success.btn-lg {
        height: inherit;
    }

    .ri-lg {
        line-height: inherit;
    }

    .user-name-text {
        font-size: 1rem;
    }

    .dropdown-menu {
        font-size: 16px
    }

    .dropdown-header {
        display: none;
    }

    #navbar-top {
        height: 150px;
        justify-content: normal;
    }

    .table.dataTable > thead > tr > th:not(.sorting_disabled), table.dataTable > thead > tr > td:not(.sorting_disabled) {
        padding-right: 0;
    }

    /* Footer orta ekranlar için */
    footer h5 {
        font-size: 1.1rem !important;
    }

    footer .footer-list {
        font-size: 0.9rem !important;
    }

    footer .footer-list li {
        font-size: 0.9rem !important;
    }

    footer .footer-list a {
        font-size: 0.9rem !important;
    }

  

}


@media (max-width: 1400px) and (min-width: 927px) {

    #nav-text a {
        padding: .5rem;
    }

    .user-name-text {
        font-size: .8rem;
    }

    .btn-success.btn-lg {
        height: inherit;
    }


    #productTable th, #productTable td {
        font-size: .7rem;
        padding: 3px;
    }

    .form-control {
        font-size: .7rem
    }

    #wishlistItems th, #wishlistItems td {
        font-size: .7rem;
        padding: 3px;
        text-align: center;
    }

    #searchInput {
        font-size: .9rem;
        height: inherit;
    }

    footer > row{
        font-size:.9rem;
    }

    .table.dataTable > thead > tr > th:not(.sorting_disabled), table.dataTable > thead > tr > td:not(.sorting_disabled) {
        padding-right: 0;
    }

    #modal-body {
        font-size: .8rem;
    }

    .btn-custom {
        /* Buton boyutunu küçült */
        padding: 0.25rem 0.4rem;
        height: 40px;
        width: 100px;
        min-width: 30px;
    }

    .btn-label {
        /* Buton boyutunu küçült */
        padding: 0.25rem 0.9rem;
        font-size: 0.7rem !important;
        width: 140px;
        min-width: 140px;
    }

    .label-icon {
        font-size: .7rem;
        width: 25px !important;
    }

    #total {
        font-size: .7rem;
    }

    #printPdf {
        width: 100%;
    }

    /* Footer orta-büyük ekranlar için */
    footer h5 {
        font-size: 1rem !important;
    }

    footer .footer-list {
        font-size: 0.8rem !important;
    }

    footer .footer-list li {
        font-size: 0.8rem !important;
    }

    footer .footer-list a {
        font-size: 0.8rem !important;
    }
}

/* User profile image styling to prevent overflow and maintain aspect ratio */
.header-profile-user {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: contain !important; /* contain kullanarak logoyu tam göster */
    border: 2px solid #28a745 !important;
    background-color: transparent !important;
    padding: 2px !important; /* Logo etrafında biraz boşluk */
}

/* Responsive adjustments for different screen sizes */
@media (min-width: 927px) and (max-width: 1180px) {
    .header-profile-user {
        width: 80px !important;
        height: 80px !important;
        padding: 3px !important;
    }

    .user-name-text, .fs-14 {
        font-size: 0.8rem !important;
    }
    .dropdown-item {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 926px) {
    .header-profile-user {
        width: 60px !important;
        height: 60px !important;
        padding: 2px !important;
    }

    .user-name-text, .fs-14{
        font-size:0.7rem !important;
    }
    .dropdown-item {
        font-size: 0.7rem !important;
    }
    
}

/* Ensure the dropdown container doesn't get affected by image overflow */
.dropdown.header-item.topbar-user {
    display: flex !important;
    align-items: center !important;
}

    .dropdown.header-item.topbar-user .d-flex {
        align-items: center !important;
        gap: 10px !important;
    }

/* Make sure company name text doesn't wrap */
.user-name-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 150px !important;
}


