* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.top-navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-navbar .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    height: 70px;
}

.top-navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.top-navbar .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.top-navbar .nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.top-navbar .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.top-navbar .nav-menu li a:hover::after {
    width: 100%;
}

.top-navbar .nav-menu li a:hover {
    color: #667eea;
}

.top-navbar .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.top-navbar .hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.top-navbar .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.top-navbar .hamburger.active span:nth-child(2) {
    opacity: 0;
}

.top-navbar .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .top-navbar .nav-container {
        padding: 1rem 2rem;
    }
    
    .top-navbar .hamburger {
        display: flex;
    }
    
    .top-navbar .nav-menu {
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    
    .top-navbar .nav-menu.active {
        max-height: 320px;
    }
    
    .top-navbar .nav-menu li {
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .top-navbar .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .top-navbar .nav-menu li a {
        display: block;
        padding: 1.2rem 2rem;
    }
    
    .top-navbar .nav-menu li a::after {
        display: none;
    }
    
    .top-navbar .nav-menu li a:hover {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    }
}

.sidebar-nav {margin-top:25px;}

.hero {
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 36px;
    margin: 0;
}

.hero-content p {
    font-size: 18px;
    margin-top: 10px;
}

.hero-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #00bcd4;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #0097a7;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .hero {
         min-height: 400px;
         }

}

.products {
    padding:20px 20px;
    background: #f9f9f9;
    text-align: center;
    padding-bottom: 60px;
}

.products h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}


.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}   

.product-card {
    flex: 0 1 calc(20% - 20px);
    /* 5 tane yan yana için */
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 16px;
    color: #222;
    margin: 10px 0 5px;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    word-wrap: break-word;
}

.product-card p {
    font-size: 14px;
    color: #00bcd4;
    font-weight: bold;
    text-align: center;
    font-family: 'Rubik', sans-serif;
}

@media (max-width: 992px) {
    .product-card {
        flex: 0 1 calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 1 calc(50% - 20px);
    }

        .product-card img {
            width: 100%;
            max-width: auto;
            height: 200px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 15px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
}
@media (max-width: 480px) {
    .product-grid {
        gap: 10px;
    }

        .product-card img {
            height: 100px; 
        }

    .product-card {
        flex: 0 1 calc(50% - 10px);
    }
}


.info-section {
    background-color: #eaeaea;
    /* açık gri ton */
    padding: 20px 20px;
    text-align: center;
}

.info-section h2 {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2f2f2f;
}

.info-section p {
    max-width: 1300px;
    margin: 0 auto 20px auto;
    font-size: 14px; 
    color: #444;
    line-height: 1.6;
    font-family: 'Rubik', sans-serif;
}

.info-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}

.icon-card {
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    transition: transform 0.3s;
}

.icon-card img {
    width: 130px;
    height: 130px;
    margin-bottom: 10px;
}

.icon-card h3 {
    font-size: 15px;
    font-weight: bold;
    color: #111;
    margin-bottom: 8px;
    font-family: 'Rubik', sans-serif;
}

.icon-card p {
    font-size: 14px;
    color: #555;
}

.info-section p {
    font-size: 16px;
}

@media (max-width: 768px) {
    .info-icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 40px;
        /* satır ve sütun arası boşluk */
        justify-items: center;
    }

    .icon-card img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .info-icons {
        grid-template-columns: 1fr;
        /* tek sütun */
        gap: 20px;
    }

    .icon-card img {
        width: 80px;
        height: 80px;
    }
}

.site-footer {
    background-color: #1f1f1f;
    color: #ccc;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto 20px auto;
    gap: 20px;
}

.footer-left h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-left p {
    color: #aaa;
    max-width: 300px;
}

.footer-center {
    display: flex;
    padding-top: 30px;
    gap: 20px;
}

.footer-center a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-center a:hover {
    color: #00bcd4;
}

.footer-right a img {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    transition: transform 0.3s;
}

.footer-right a img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 13px;
    color: #888;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-center {
        flex-direction: column;
        gap: 10px;
        padding-top: 20px;
    }

    .footer-right {
        margin-top: 20px;
    }

    .footer-right a img {
        margin-left: 0;
        margin-right: 10px;
    }
}


/* Ana Sayfa Sonu */

/* Stok Sayfası Başlangıcı */

.stok-baslik-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stokh2 {
    font-size: 24px;
    margin: 0;
}

.stok-arama {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #aaa;
    border-radius: 6px;
    min-width: 40%;
    max-width: 350px;
    
}

@media (max-width: 768px) {
    .stok-arama {
        width: 100%;
        max-width: none;
    }
}

.stok-guncelleme {
    font-size: 14px;
    color: #666;
    text-align: right;
    font-family: arial, sans-serif;
    font-weight: bold;
}


.stok-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.stok-header {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 2px solid #999;
    background-color: #ddd;
    font-weight: bold;
}

.stok-header .stok-bilgiler {
    display: flex;
    gap: 20px;
    flex: 2;
    justify-content: flex-end;
}

.baslik {
    font-weight: bold;
    color: #000;
}

.stok-kart {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stok-kart:nth-child(odd) {
    background-color: #e8e8e8;
}

.stok-kart:nth-child(even) {
    background-color: #cacaca;
}

.stok-isim {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    flex: 1;
}

.stok-bilgiler {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex: 2;
}

.stok-kutu {
    font-size: 14px;
    font-weight: bold;
    color: #444;
    user-select: none;
    white-space: nowrap;
    min-width: 15%;
    text-align: right;
}



@media (max-width: 768px) {
    .stok-header {
        display: none;
    }

    .stok-kart {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 10px;
    }

    .stok-isim {
        width: 100%;
        font-size: 18px;
        margin-bottom: 0;
        text-align: center;
    }

    .stok-bilgiler {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .stok-kutu {
        background-color: #f1f1f1;
        border-radius: 6px;
        padding: 8px 12px;
        width: 32%;
        text-align: center;
        font-size: 14px;
    }

    .stok-baslik-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .stok-guncelleme {
        text-align: left;
        font-size: 13px;
    }

}

/* Stok Sayfası Sonu */

/* Login ve Register Sayfası Başı */

.register-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #2e79bf, #1f1f1f);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-form {
    background-color: #ffffff10;
    backdrop-filter: blur(10px);
    padding: 30px;
    padding-top: 0px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    color: #fff;
    text-align: center;
}

.signup-form h2 {
    margin-bottom: 25px;
    font-size: 28px;
    color: #ffffff;
}

.signup-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background-color: #ffffff20;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.signup-form input::placeholder {
    color: #ddd;
}

.signup-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #2e79bf;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.signup-form button:hover {
    background-color: #1c5d96;
}

.error {
    color: #ff8a8a;
    background-color: rgba(255, 0, 0, 0.1);
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: bold;
}

/* Müşteri Pastaneler */

.list-body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f0f0;
    
}
.indebth2{
    padding: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color:#8a1e1e;
    
}
.customer-arama {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #aaa;
    border-radius: 6px;
    min-width:90%;
}
.customer-baslik-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
}
.customer-baslik-container .indebth2 {
    margin: 0 0 20px 0;
    padding: 0;
}
.customer-baslik-container .customer-arama {
    display: block;
    margin: 0 auto;
}
.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}
.card-header {
    font-size: 22px;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
    color: #333;
}
.card-header::after {
    content: "";
    display: block;
    height: 3px;
    background-color: #8a1e1e;
    width: 100%;
    margin-top: 5px;
    border-radius: 2px;
}
.card-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
}
.section {
    flex: 1;
    min-width: 200px;
}
.section:not(:last-child) {
    margin-right: 20px;
}
.section-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}
.section-item {
    font-size: 14px;
    color: black;
    margin-bottom: 6px;
}
.price {
    font-size: 20px;
    font-weight: 700;
    color: #a92c2c;
    text-align: left;
    margin-top: 8px;
}
.bakery-name {
    display: inline-block;
    margin-right: 10px;
}
.bakery-location {
    display: inline-block;
    font-size: 14px;
    color: #777;
    margin: 0;
}
.payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}
.payment-date {
    color: black;
    white-space: nowrap;
    flex: 0 0 auto;
}
.payment-type {
    color: black;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}
.payment-amount {
    color: rgb(12, 129, 12);
    white-space: nowrap;
    flex: 0 0 auto;
    text-align: right;
}
.dash {
    display: none;
}
@media (max-width: 600px) {
    .card-content {
        flex-direction: column;
        gap: 20px;
    }
    .section:not(:last-child) {
        margin-right: 0;
    }
}

/* Tedarikçi Pastaneler */

.list-body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f0f0;
    
}

.supplierh2{
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    color:#0d5eb0;
    
}
.supplier_card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.supplier_card-header {
    font-size: 22px;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
    color: #333;
}

.supplier_card-header::after {
    content: "";
    display: block;
    height: 3px;
    background-color: #0d5eb0;
    width: 100%;
    margin-top: 5px;
    border-radius: 2px;
}

.supplier_card-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
}


.supplier_section {
    flex: 1;
    min-width: 200px;
}

.supplier_section:not(:last-child) {
    margin-right: 20px;
}

.supplier_section-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.supplier_section-item {
    font-size: 14px;
    color: black;
    margin-bottom: 6px;
}

.supplier_price {
    font-size: 20px;
    font-weight: 700;
    color: #0d5eb0;
    text-align: left;
    margin-top: 8px;
}

.supplier_bakery-name {
    display: inline-block;
    margin-right: 10px;
}

.supplier_bakery-location {
    display: inline-block;
    font-size: 14px;
    color: #777;
    margin: 0;
}
.supplier_payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}
.supplier_payment-date {
    color: black;
    white-space: nowrap;
    flex: 0 0 auto;
}
.supplier_payment-type {
    color: black;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}
.supplier_payment-amount {
    color: rgb(12, 129, 12);
    white-space: nowrap;
    flex: 0 0 auto;
    text-align: right;
}
.supplier_dash {
    display: none;
}
.supplier_section-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: black;
    margin-bottom: 6px;
}
.supplier_item-name {
    color: black;
    white-space: nowrap;
    flex: 0 0 auto;
}
.supplier_item-quantity {
    color: black;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}
.supplier_item-date {
    color: black;
    white-space: nowrap;
    flex: 0 0 auto;
    text-align: right;
}

@media (max-width: 600px) {
    .supplier_card-content {
        flex-direction: column;
        gap: 20px;
    }

    .supplier_section:not(:last-child) {
        margin-right: 0;
    }
}

/* Giden Ürünler Sayfası */

.giden-body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
}

.giden-form-container {
    width: 800px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 40px 20px;
    background-color: #ffffff;
    min-height: 70vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.giden-section {
    margin-bottom: 20px;
}

.giden-section label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.giden-customer-date-row {
    display: flex;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}

.giden-customer-section {
    flex: 0 0 60%;
}



.giden-date-section {
    flex: 0 0 calc(40% - 20px);
}

.date-input {
    font-family: monospace;
    letter-spacing: 1px;
}

.giden-section select,
.giden-section input:not(.custom-select-input) {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.giden-section select:focus,
.giden-section input:not(.custom-select-input):focus {
    outline: none;
    border-color: #2e79bf;
    box-shadow: 0 0 0 0.2rem rgba(46, 121, 191, 0.25);
}

.giden-product-group {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fcfcfc;
}

.giden-product-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.giden-product-row>div {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.giden-product-row>div label {
    font-weight: 600;
    margin-bottom: 6px;
}

.giden-product-row>div input,
.giden-product-row>div select {
    padding: 8px;
    font-size: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    height: 38px;
}

.giden-summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background-color: #eef2f7;
}

.giden-summary-item {
    text-align: center;
    font-weight: 500;
}

.giden-button-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.giden-form-button {
    padding: 12px 20px;
    background-color: #2e79bf;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.giden-form-button:hover {
    background-color: #2973b8;
}

.giden-delete-button {
    margin-top: 15px;
    background-color: #dc3545;
    color: white;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.giden-delete-button:hover {
    background-color: #c82333;
}

.custom-select-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    box-sizing: border-box;
    height: 38px;
    margin-top: 4px;
}

.custom-select-container:focus-within {
    border-color: #2e79bf;
    box-shadow: 0 0 0 0.2rem rgba(46, 121, 191, 0.25);
}

.custom-select-input {
    flex-grow: 1;
    padding: 8px 10px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    height: 100%;
    box-sizing: border-box;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555;
    margin-right: 10px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.custom-select-container.open .dropdown-arrow {
    transform: rotate(180deg);
}

.custom-select-suggestions {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    border: 1px solid #2e79bf;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.custom-select-suggestions.active {
    display: block;
}

.custom-select-suggestions li {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    color: #444;
    transition: background-color 0.2s ease;
}

.custom-select-suggestions li:hover,
.custom-select-suggestions li.active-item {
    background-color: #eef2f7;
    color: #000;
}

.giden-customer-section select,
.giden-date-section input {
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    margin-top: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    height: 38px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    
}

.giden-customer-section select:focus,
.giden-date-section input:focus {
    outline: none;
    border-color: #2e79bf;
    box-shadow: 0 0 0 0.2rem rgba(46, 121, 191, 0.25);
}

.giden-date-section input.date-input {
    font-family: monospace;
    letter-spacing: 1px;
}

.giden-date-section input.date-input::placeholder {
    color: #a0a0a0;
    font-style: italic;
}

.date-input::placeholder {
    color: #a0a0a0;
    font-style: italic;
}

@media (max-width: 768px) {
    .giden-form-container {
        width: 100%;
        padding: 20px 10px;
        box-shadow: none;
        border-radius: 0;
    }

    .giden-customer-date-row {
        flex-direction: column;
        gap: 15px;
    }

    .giden-customer-section,
    .giden-date-section {
        flex: none;
        width: 100%;
    }

    

    .giden-product-row {
        flex-direction: column;
        gap: 15px;
    }

    .giden-product-row>div {
        min-width: unset;
    }

    .giden-summary-row {
        grid-template-columns: 1fr;
    }

    .giden-button-row {
        flex-direction: column;
        gap: 10px;
    }

    .giden-form-button {
        width: 100%;
    }
}

/* Profil İç Sayfası */

.main-content-container {
    display: flex;
    flex-grow: 1;
    padding: 1.5rem;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 1.5rem auto;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.sidebar {
    flex: 0 0 280px;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.sidebar h2.shop-name-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #940500
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    text-align: center;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    color: #940500; 
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.sidebar-nav-item:hover {
    background-color: #f3e5e5; 
    color: #940500; 
}

.sidebar-nav-item.active {
    background-color: #940500;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 11, 5, 0.3);
}

.sidebar-nav-item svg {
    margin-right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
}

.content-area {
    flex: 1;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 400px;
}

.section-heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.data-card {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.data-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.data-card p {
    color: #3e4959;
    line-height: 1.5;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    text-align: left;
}

.data-table th {
    background-color: #e2e8f0;
    font-weight: 600;
    color: #334155;
}

.data-table tr:nth-child(even) {
    background-color: #f1f5f9;
}

.data-table tr:hover {
    background-color: #e2e8f0;
}

.summary-box {
    background-color: #A80500; /* açık bordo ton */
    border: 1px solid #A80500;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: #000000;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.summary-item {
    text-align: center;
    color:#ffffff;
}

.summary-item span {
    display: block;
    font-size: 1.25rem;
    color: #ffffff;
}


@media (max-width: 1024px) {
    .main-content-container {
        flex-direction: column;
        padding: 1rem;
        margin: 1rem auto;
    }

    .sidebar {
        flex: none;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .content-area {
        flex: none;
        width: 100%;
    }
}

/* Excel tarzı mobil tablo görünümü - Customer Profile */
@media (max-width: 768px) {
    /* Genel tablo stilleri */
    .data-table {
        font-size: 0.7rem;
        width: 100%;
        table-layout: fixed;
    }

    .data-table th,
    .data-table td {
        padding: 0.4rem 0.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }

    .data-table th {
        font-size: 0.7rem;
        background-color: #e2e8f0;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    /* Ödemeler & Borçlar tablosu için sütun genişlikleri (5 sütun) */
    #content-payments-debts .data-table th:nth-child(1),
    #content-payments-debts .data-table td:nth-child(1) {
        width: 20%;
    }
    
    #content-payments-debts .data-table th:nth-child(2),
    #content-payments-debts .data-table td:nth-child(2) {
        width: 22%;
    }
    
    #content-payments-debts .data-table th:nth-child(3),
    #content-payments-debts .data-table td:nth-child(3) {
        width: 16%;
    }
    
    #content-payments-debts .data-table th:nth-child(4),
    #content-payments-debts .data-table td:nth-child(4) {
        width: 18%;
    }
    
    #content-payments-debts .data-table th:nth-child(5),
    #content-payments-debts .data-table td:nth-child(5) {
        width: 24%;
    }

    /* Giden Mallar tablosu için sütun genişlikleri (5 sütun) */
    #content-sent-items .data-table th:nth-child(1),
    #content-sent-items .data-table td:nth-child(1) {
        width: 25%;
    }
    
    #content-sent-items .data-table th:nth-child(2),
    #content-sent-items .data-table td:nth-child(2) {
        width: 18%;
    }
    
    #content-sent-items .data-table th:nth-child(3),
    #content-sent-items .data-table td:nth-child(3) {
        width: 20%;
    }
    
    #content-sent-items .data-table th:nth-child(4),
    #content-sent-items .data-table td:nth-child(4) {
        width: 20%;
    }
    
    #content-sent-items .data-table th:nth-child(5),
    #content-sent-items .data-table td:nth-child(5) {
        width: 17%;
    }

    /* Emanetteki Mallar - Toplam Durum tablosu için sütun genişlikleri (2 sütun) */
    #content-will-be-sent-items .data-table:first-of-type th:nth-child(1),
    #content-will-be-sent-items .data-table:first-of-type td:nth-child(1) {
        width: 50%;
    }
    
    #content-will-be-sent-items .data-table:first-of-type th:nth-child(2),
    #content-will-be-sent-items .data-table:first-of-type td:nth-child(2) {
        width: 50%;
    }

    /* Emanetteki Mallar - Hareketler tablosu için sütun genişlikleri (4 sütun) */
    #content-will-be-sent-items .data-table:last-of-type th:nth-child(1),
    #content-will-be-sent-items .data-table:last-of-type td:nth-child(1) {
        width: 28%;
    }
    
    #content-will-be-sent-items .data-table:last-of-type th:nth-child(2),
    #content-will-be-sent-items .data-table:last-of-type td:nth-child(2) {
        width: 24%;
    }
    
    #content-will-be-sent-items .data-table:last-of-type th:nth-child(3),
    #content-will-be-sent-items .data-table:last-of-type td:nth-child(3) {
        width: 22%;
    }
    
    #content-will-be-sent-items .data-table:last-of-type th:nth-child(4),
    #content-will-be-sent-items .data-table:last-of-type td:nth-child(4) {
        width: 26%;
    }

    /* Çek/Senetler tablosu için sütun genişlikleri (5 sütun) */
    #content-check-dates .data-table th:nth-child(1),
    #content-check-dates .data-table td:nth-child(1) {
        width: 18%;
    }
    
    #content-check-dates .data-table th:nth-child(2),
    #content-check-dates .data-table td:nth-child(2) {
        width: 22%;
    }
    
    #content-check-dates .data-table th:nth-child(3),
    #content-check-dates .data-table td:nth-child(3) {
        width: 20%;
    }
    
    #content-check-dates .data-table th:nth-child(4),
    #content-check-dates .data-table td:nth-child(4) {
        width: 18%;
    }
    
    #content-check-dates .data-table th:nth-child(5),
    #content-check-dates .data-table td:nth-child(5) {
        width: 22%;
    }

    /* Toplam satırı için özel stil */
    .data-table tr.bg-gray-100.font-semibold td {
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.5rem 0.25rem;
    }

    /* Summary box responsive düzenleme */
    .summary-box {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        font-size: 0.85rem;
    }

    .summary-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem;
        background-color: rgba(255, 255, 255, 0.15);
        border-radius: 0.5rem;
    }

    .summary-item span {
        font-size: 1rem;
        margin-left: 0.5rem;
    }

    /* Overflow wrapper düzenlemesi */
    .overflow-x-auto {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -0.5rem;
        padding: 0 0.5rem;
    }

    /* Data card padding ayarı */
    .data-card {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .data-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    /* Section heading */
    .section-heading {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    /* Sidebar heading */
    .sidebar h2.shop-name-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    /* Sidebar navigation */
    .sidebar-nav-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-left {
        font-size: 1.25rem;
    }

    .main-content-container {
        padding: 0.75rem;
        margin: 0.75rem auto;
    }

    .sidebar {
        padding: 1rem;
    }

    .sidebar h2.shop-name-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-area {
        padding: 1rem;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .data-card {
        padding: 1rem;
    }

    .data-card h3 {
        font-size: 1.1rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Çok küçük ekranlar için (480px ve altı) */
@media (max-width: 480px) {
    .data-table {
        font-size: 0.65rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.35rem 0.2rem;
    }

    .data-table th {
        font-size: 0.65rem;
    }

    .summary-item {
        font-size: 0.8rem;
    }

    .summary-item span {
        font-size: 0.9rem;
    }

    .section-heading {
        font-size: 1.1rem;
    }

    .data-card h3 {
        font-size: 0.9rem;
    }

    .sidebar h2.shop-name-heading {
        font-size: 1.3rem;
    }

    .sidebar-nav-item {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    /* Toplam satırı */
    .data-table tr.bg-gray-100.font-semibold td {
        font-size: 0.7rem;
    }
}

/* Landscape mod için optimizasyon */
@media (max-width: 768px) and (orientation: landscape) {
    .data-table {
        font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.3rem 0.25rem;
    }
}

/* Tedarikçi Profili İç Sayfası */

.supplier_main-content-container {
    display: flex;
    flex-grow: 1;
    padding: 1.5rem;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 1.5rem auto;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.sidebar {
    flex: 0 0 280px;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.sidebar h2.supplier_shop-name-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e40af; /* Kırmızıdan maviye */
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    text-align: center;
}

.supplier_sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    color: #1e40af; /* Kırmızıdan maviye */
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    list-style: none; /* Liste işaretlerini kaldır */
}

.supplier_sidebar-nav-item:hover {
    background-color: #dbeafe; /* Mavi hover rengi */
    color: #1d4ed8;
}

.supplier_sidebar-nav-item.active {
    background-color: #2563eb; /* Mavi aktif renk */
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.supplier_sidebar-nav-item svg {
    margin-right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* Sidebar nav için ul stilleri */
.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.supplier_content-area {
    flex: 1;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 400px;
}

.supplier_section-heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    color: #1e40af; /* Başlık rengini mavi yap */
}

.supplier_data-card {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.supplier_data-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e40af; /* Başlık rengini mavi yap */
}

.supplier_data-card p {
    color: #3e4959;
    line-height: 1.5;
}

.supplier_data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.supplier_data-table th,
.supplier_data-table td {
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    text-align: left;
}

.supplier_data-table th {
    background-color: #dbeafe; /* Mavi tablo başlığı */
    font-weight: 600;
    color: #1e40af; /* Mavi yazı rengi */
}

.supplier_data-table tr:nth-child(even) {
    background-color: #f1f5f9;
}

.supplier_data-table tr:hover {
    background-color: #dbeafe; /* Mavi hover rengi */
}

.supplier_summary-box {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8); /* Mavi gradient */
    border: 1px solid #2563eb;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: #ffffff; /* Beyaz yazı rengi gradient üzerinde daha iyi görünür */
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.supplier_summary-item {
    text-align: center;
}

.supplier_summary-item span {
    display: block;
    font-size: 1.25rem;
    color: #ffffff; /* Beyaz yazı rengi */
}

.supplier_data-card.text-center {
    text-align: center;
}

.supplier_data-card.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 1024px) {
    .supplier_main-content-container {
        flex-direction: column;
        padding: 1rem;
        margin: 1rem auto;
    }

    .sidebar {
        flex: none;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .supplier_content-area {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Genel tablo stilleri */
    .supplier_data-table {
        font-size: 0.7rem;
        width: 100%;
        table-layout: fixed;
    }

    .supplier_data-table th,
    .supplier_data-table td {
        padding: 0.4rem 0.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }

    .supplier_data-table th {
        font-size: 0.7rem;
        background-color: #dbeafe;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    /* Ödemeler & Borçlar tablosu için sütun genişlikleri */
    #content-payments-debts .supplier_data-table th:nth-child(1),
    #content-payments-debts .supplier_data-table td:nth-child(1) {
        width: 25%;
    }
    
    #content-payments-debts .supplier_data-table th:nth-child(2),
    #content-payments-debts .supplier_data-table td:nth-child(2) {
        width: 20%;
    }
    
    #content-payments-debts .supplier_data-table th:nth-child(3),
    #content-payments-debts .supplier_data-table td:nth-child(3) {
        width: 25%;
    }
    
    #content-payments-debts .supplier_data-table th:nth-child(4),
    #content-payments-debts .supplier_data-table td:nth-child(4) {
        width: 30%;
    }

    /* Gelen Ürünler tablosu için sütun genişlikleri */
    #content-sent-items .supplier_data-table th:nth-child(1),
    #content-sent-items .supplier_data-table td:nth-child(1) {
        width: 25%;
    }
    
    #content-sent-items .supplier_data-table th:nth-child(2),
    #content-sent-items .supplier_data-table td:nth-child(2) {
        width: 18%;
    }
    
    #content-sent-items .supplier_data-table th:nth-child(3),
    #content-sent-items .supplier_data-table td:nth-child(3) {
        width: 20%;
    }
    
    #content-sent-items .supplier_data-table th:nth-child(4),
    #content-sent-items .supplier_data-table td:nth-child(4) {
        width: 20%;
    }
    
    #content-sent-items .supplier_data-table th:nth-child(5),
    #content-sent-items .supplier_data-table td:nth-child(5) {
        width: 17%;
    }

    /* Çek/Senetler tablosu için sütun genişlikleri */
    #content-check-dates .supplier_data-table th:nth-child(1),
    #content-check-dates .supplier_data-table td:nth-child(1) {
        width: 25%;
    }
    
    #content-check-dates .supplier_data-table th:nth-child(2),
    #content-check-dates .supplier_data-table td:nth-child(2) {
        width: 20%;
    }
    
    #content-check-dates .supplier_data-table th:nth-child(3),
    #content-check-dates .supplier_data-table td:nth-child(3) {
        width: 28%;
    }
    
    #content-check-dates .supplier_data-table th:nth-child(4),
    #content-check-dates .supplier_data-table td:nth-child(4) {
        width: 27%;
    }

     /* Toplam satırı için özel stil */
    .supplier_data-table tr.bg-gray-100.font-semibold td {
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.5rem 0.25rem;
        display: table-cell !important;
        text-align: left;
        justify-content: flex-start !important;
    }
    
    .supplier_data-table tr.bg-gray-100.font-semibold td span:first-child {
        float: left;
    }
    
    .supplier_data-table tr.bg-gray-100.font-semibold td span:last-child {
        float: right;
    }

    /* Summary box responsive düzenleme */
    .supplier_summary-box {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        font-size: 0.85rem;
    }

    .supplier_summary-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem;
        background-color: rgba(255, 255, 255, 0.15);
        border-radius: 0.5rem;
    }

    .supplier_summary-item span {
        font-size: 1rem;
        margin-left: 0.5rem;
    }

    /* Overflow wrapper düzenlemesi */
    .overflow-x-auto {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -0.5rem;
        padding: 0 0.5rem;
    }

    /* Data card padding ayarı */
    .supplier_data-card {
        padding: 0.75rem;
    }

    .supplier_data-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    /* Section heading */
    .supplier_section-heading {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .supplier_navbar {
        padding: 0.75rem 1rem;
    }

    .supplier_navbar-left {
        font-size: 1.25rem;
    }

    .supplier_main-content-container {
        padding: 0.75rem;
        margin: 0.75rem auto;
    }

    .sidebar {
        padding: 1rem;
    }

    .sidebar h2.supplier_shop-name-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .supplier_content-area {
        padding: 1rem;
    }

    .supplier_section-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .supplier_data-card {
        padding: 1rem;
    }

    .supplier_data-card h3 {
        font-size: 1.1rem;
    }

    .supplier_data-table th,
    .supplier_data-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .supplier_data-table {
        font-size: 0.65rem;
    }

    .supplier_data-table th,
    .supplier_data-table td {
        padding: 0.35rem 0.2rem;
    }

    .supplier_data-table th {
        font-size: 0.65rem;
    }

    .supplier_summary-item {
        font-size: 0.8rem;
    }

    .supplier_summary-item span {
        font-size: 0.9rem;
    }

    .supplier_section-heading {
        font-size: 1.1rem;
    }

    .supplier_data-card h3 {
        font-size: 0.9rem;
    }

    /* Toplam satırı */
    .supplier_data-table tr.bg-gray-100.font-semibold td {
        font-size: 0.7rem;
    }
}

/* Landscape mod için optimizasyon */
@media (max-width: 768px) and (orientation: landscape) {
    .supplier_data-table {
        font-size: 0.75rem;
    }

    .supplier_data-table th,
    .supplier_data-table td {
        padding: 0.3rem 0.25rem;
    }
}

/* Profil Sayfası */

.profile-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    padding-bottom: 20px;
    padding-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.profile-nav {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.profile-icons {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.profile-nav-item {
    border: 1px solid #6c6c6c;
    padding: 25px;
    border-radius: 3px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 1.15em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    min-width: 160px;
    min-height: 160px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

.profile-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .profile-container {
        margin: 20px auto;
        padding: 20px;
    }

    .profile-nav {
        gap: 15px;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    .profile-nav-item {
        font-size: 1em;
        padding: 20px;
        min-width: 130px;
        min-height: 130px;
    }

    .profile-icons {
        width: 50px;
        margin-bottom: 10px;
    }
}

.profile-nav-item:nth-child(1) {
    background: linear-gradient(145deg, #ff6666, #ff3333);

}

.profile-nav-item:nth-child(2) {
    background: linear-gradient(145deg, #ffda56, #ffc629);
}

.profile-nav-item:nth-child(3) {
    background: linear-gradient(145deg, #77ff77, #4acd4a);
    
}

.profile-nav-item:nth-child(4) {

    background: linear-gradient(145deg, #66CCFF, #3399FF);
}

.profile-nav-item:nth-child(5) {
    background: linear-gradient(145deg, #CC99FF, #9966FF);
}

.profile-nav-item:nth-child(6) {
    background: linear-gradient(145deg, #44f8dd, #1ae0b5);
}

.profile-nav-item:nth-child(7) {
    background: linear-gradient(145deg, #e5fa00, #c9db00);
}

.profile-nav-item:nth-child(8) {
    background: linear-gradient(145deg, #8597fe, #4e68fe);
}

.profile-nav-item[href=""]:nth-last-child(-n+4) {
    background: #D3D3D3;
}


.profile-nav-item:nth-child(1):hover {
    border-color: green;
}
.profile-nav-item:nth-child(2):hover {
    border-color: green;
}
.profile-nav-item:nth-child(3):hover {
    border-color: green;
}
.profile-nav-item:nth-child(4):hover {
    border-color: green;
}
.profile-nav-item:nth-child(5):hover {
    border-color: green;
}
.profile-nav-item:nth-child(6):hover {
    border-color: red;
}
.profile-nav-item:nth-child(7):hover {
    border-color: red;
}
.profile-nav-item:nth-child(8):hover {
    border-color: red;
}

/* Tahsilat Sayfası */

.tahsilat-form-container {
    width: 800px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 40px 20px;
    background-color: #ffffff;
    min-height: 70vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.tahsilat-customer-date-row,
.tahsilat-payment-method-row {
    display: flex;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}

.tahsilat-customer-section {
    flex: 0 0 60%;
}

.tahsilat-date-section {
    flex: 0 0 calc(40% - 20px);
}

.tahsilat-payment-method-section {
    flex: 0 0 60%;
}

.tahsilat-paid-amount-section {
    flex: 0 0 calc(40% - 20px);
}

.tahsilat-customer-section label,
.tahsilat-date-section label,
.tahsilat-payment-method-section label,
.tahsilat-paid-amount-section label,
.tahsilat-notes-section label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.tahsilat-customer-section select,
.tahsilat-date-section input,
.tahsilat-payment-method-section select,
.tahsilat-paid-amount-section input,
.tahsilat-notes-section textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    margin-top: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    height: 38px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tahsilat-notes-section textarea {
    height: auto;
    resize: vertical;
    min-height: 80px;
}


.tahsilat-customer-section select:focus,
.tahsilat-date-section input:focus,
.tahsilat-payment-method-section select:focus,
.tahsilat-paid-amount-section input:focus,
.tahsilat-notes-section textarea:focus {
    outline: none;
    border-color: #2e79bf;
    box-shadow: 0 0 0 0.2rem rgba(46, 121, 191, 0.25);
}

.tahsilat-date-section input.date-input {
    font-family: monospace;
    letter-spacing: 1px;
}

.tahsilat-date-section input.date-input::placeholder {
    color: #a0a0a0;
    font-style: italic;
}

.tahsilat-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.tahsilat-debt-info {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    display: flex;
    gap: 20px;
}

.tahsilat-debt-info span {
    margin-right: 5px;
}

.tahsilat-debt-info .tahsilat-label {
    color: #555;
    font-weight: 600;
}


.tahsilat-form-button {
    padding: 12px 25px;
    background-color: #2e79bf;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 6px;
}

.tahsilat-form-button:hover {
    background-color: #2973b8;
}

@media (max-width: 768px) {
    .tahsilat-form-container {
        width: 100%;
        padding: 20px 10px;
        box-shadow: none;
        border-radius: 0;
    }

    .tahsilat-customer-date-row,
    .tahsilat-payment-method-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .tahsilat-customer-section,
    .tahsilat-date-section,
    .tahsilat-payment-method-section,
    .tahsilat-paid-amount-section {
        flex: none;
        width: 100%;
    }

    .tahsilat-action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .tahsilat-debt-info {
        flex-direction: column;
        gap: 10px;
    }

    .tahsilat-form-button {
        width: 100%;
    }
}

.cek-senet-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
}

.cek-senet-header {
    text-align: center;
    margin-bottom: 30px;
}

.cek-senet-title {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cek-senet-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cek-senet-filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.cek-senet-filter-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.cek-senet-filter-select {
    padding: 8px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.cek-senet-filter-select:hover {
    border-color: #007bff;
}

.cek-senet-filter-select:focus {
    outline: none;
    border-color: #007bff;
}

.cek-senet-main-content {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.cek-senet-left-panel, .cek-senet-right-panel {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cek-senet-panel-header {
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: white;
}

.cek-senet-left-panel .cek-senet-panel-header {
    background-color: #dc3545;
}

.cek-senet-right-panel .cek-senet-panel-header {
    background-color: #007bff;
}

.cek-senet-panel-content {
    padding: 0;
}

.cek-senet-monthly-block {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 15px;
}

.cek-senet-month-header {
    padding: 12px 20px;
    font-weight: bold;
    color: white;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cek-senet-month-count {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.cek-senet-left-panel .cek-senet-month-header {
    background-color: #dc3545;
}

.cek-senet-right-panel .cek-senet-month-header {
    background-color: #007bff;
}

.cek-senet-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.cek-senet-table-header {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.cek-senet-table-header td {
    padding: 10px 8px;
    border-bottom: 2px solid #e9ecef;
    text-align: center;
}

.cek-senet-table-row {
    transition: background-color 0.2s;
}

.cek-senet-table-row:nth-child(even) {
    background-color: #f8f9fa;
}

.cek-senet-table-row:nth-child(odd) {
    background-color: white;
}

.cek-senet-table-row:hover {
    background-color: #e3f2fd;
}

.cek-senet-table-row td {
    padding: 8px;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    text-align: center;
}

.cek-senet-date-cell {
    text-align: center;
    font-weight: 400;
    color: #000000;
}

.cek-senet-company-cell {
    text-align: center;
    font-weight: 400;
    color: #000000;
}

.cek-senet-type-cell {
    text-align: center;
    font-weight: 400;
}

.cek-senet-type-cek {
    color: #28a745;
}

.cek-senet-type-senet {
    color: #fd7e14;
}

.cek-senet-amount-cell {
    text-align: center;
    font-weight: 400;
}

.cek-senet-description-cell {
    text-align: center;
    color: #000000;
}

.cek-senet-no-data {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

/* 📱 Mobil görünümde tabloyu sıkıştır ve yazıları küçült */
@media (max-width: 768px) {
    .cek-senet-table {
        font-size: 11px;
    }

    .cek-senet-table-header td {
        padding: 6px 4px;
        font-size: 11px;
    }

    .cek-senet-table-row td {
        padding: 4px 3px;
        font-size: 11px;
    }

    .cek-senet-panel-header {
        font-size: 14px;
        padding: 10px;
    }

    .cek-senet-month-header {
        font-size: 13px;
        padding: 8px 10px;
    }

    .cek-senet-title {
        font-size: 20px;
    }

    .cek-senet-container {
        padding: 10px;
    }

    /* Satır çizgisi mobilde de düzgün dursun */
    .cek-senet-table-row.cek-senet-completed::after {
        top: 55%;
        height: 1px;
    }
}


@media (max-width: 768px) and (orientation: portrait) {
    .cek-senet-main-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .cek-senet-main-content {
        flex-direction: row;
    }

    .cek-senet-container {
        padding: 10px;
    }

    .cek-senet-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .cek-senet-panel-header {
        font-size: 16px;
        padding: 12px;
    }

    .cek-senet-monthly-block {
        margin: 10px;
    }

    .cek-senet-month-header {
        padding: 10px 15px;
        font-size: 14px;
    }
}
.editable-select {
            padding: 6px 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 13px;
            background-color: #fff;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .editable-select:hover {
            border-color: #dc3545;
        }
        
        .editable-select:focus {
            outline: none;
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
        }
        
        .update-indicator {
            display: inline-block;
            margin-left: 5px;
            font-size: 11px;
            color: #28a745;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .update-indicator.show {
            opacity: 1;
        }
        
    .cek-senet-table-row.cek-senet-completed {
   background-color:#d6d6d6 !important; /* solgun gri arka plan */
    opacity: 0.8; /* biraz solgun görünmesi için */
}

    /*.cek-senet-table-row.cek-senet-completed::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px; 
    background-color: #000000; 
    transform: translateY(-50%);
    pointer-events: none;
    } 
    */
