body {
    overflow-x: hidden;
}

.fs-row {
    background-color: var(--nav-color-light);
    display: flex;
    color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.fs-row:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.fs-row .fs-title {
    background-color: var(--nav-color);
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Tooltip kutusu */
/* Tooltip kutusu */
/* Tooltip kutusu */
.vergi-card::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    white-space: normal;
    width: 260px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 12px;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.vergi-card {
    text-align: center;
    position: relative;
    display: inline-block;
    background-color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    cursor: default;
    transition: all 0.3s ease;
}

.vergi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    z-index: 100 !important;
}

/* Hover olunca görünür hale getir */
.vergi-card:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(10px);
}

/* Küçük üçgen oku */
.vergi-card::before {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
    opacity: 0;
    transition: opacity 0.2s;
}

.vergi-card:hover::before {
    opacity: 1;
}

.fs-row .fs-name {
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.bg-nay {
    background-color: var(--nay) !important;
}

.file-links {
    padding-block: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.btb-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modern-file-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--nav-color);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-block: 0.5rem;
}

.modern-file-btn i {
    color: var(--nay);
    font-size: 1.1rem;
}

.modern-file-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: var(--nay);
    color: #fff !important;
    border-color: transparent;
}

.modern-file-btn:hover i {
    color: #fff;
}


.cardf {
    background-color: var(--nav-color);
    color: #fff;
    border-radius: var(--radius-md);
    width: 100%;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-title {
    font-weight: bold;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #000;
}

.gtip-sonuc {
    margin-bottom: 2rem;
}

.g-1 {
    gap: 1rem;
}

.row {
    display: flex;
    flex-direction: row;
}

.gtip-sonuc .title {
    width: 100%;
    border-bottom: 1px solid white;
    font-weight: bold;
    font-size: 1.8rem;
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;

}

.btb {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.btb-card .image {
    background-color: red;
    height: 200px;
    border-radius: 6px;

}

.btb-card .btb-detail {
    margin-top: 12px;
}

.btb-card .incele {
    width: 100%;
    margin-top: 1.5rem;
    height: 44px;
    border: none;
    outline: none;
    border-radius: var(--radius-sm);
    background-color: var(--nay);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btb-card .incele:hover {
    background-color: var(--nay-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.gtip-sonuc .sonuc-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sonuc-container .sonuc-row {
    display: flex;
    gap: 2rem;
}

.sonuc-row .sonuc-title {
    font-weight: bold;
    min-width: 100px;
}

.final-row {
    background-color: var(--bg-color);
    color: #000;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    border-left: 4px solid var(--nay);
    font-weight: 700;
}

.tx-bold {
    font-weight: bold;
}

.ithalat-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0rem !important;
    transition: 0.4s all;
}

.ithalat-row .content {
    transition: 0.4s all;

}

.abone-warning {
    background-color: var(--nay);
    width: 100%;
    border-radius: 12px;
    margin-block: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    padding: 2rem 1rem;
    font-weight: bold;
    color: var(--text-color);
}

.abone-warning a {
    color: #000 !important;
}

.vergiler-g {
    display: flex;
    gap: 1rem;
}

.vergi-group .group-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
}

.vergi-group .vergiler {
    display: flex;
    flex-wrap: wrap;
    /* satır dolarsa alta geçsin */
    gap: 1rem;
    /* elemanlar arası boşluk */
    margin-top: 1rem;
}

.vergi-group .vergiler .vergi-card {
    flex: 1 1 120px;
    box-sizing: border-box;
    background-color: var(--bg-color);
    color: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    aspect-ratio: 4 / 3;

    flex-direction: column;
    box-shadow: var(--shadow-sm);

    max-width: 150px;
    box-sizing: border-box;
    min-width: 100px;
}

.vergi-group .vergiler .vergi-card .vergi-title {
    font-weight: 500;
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 2px solid var(--nav-color);
}

.ithalat-row .title {
    font-weight: bold !important;
}

.ithalat-active {
    gap: 1rem !important;
}

.ithalat-active .content {
    height: auto !important;
}

.ithalat-row .content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ithalat-active .content {
    max-height: 2000px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dipnot-container .dipnot {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dipnot-container .dipnot-title {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dipnot-container {
    background-color: var(--warning);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    color: #000;
}

@media (max-width: 1000px) {
    .fs-row .fs-title {
        font-size: 0.7rem;
    }

    .links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .fs-row .fs-name {
        font-size: 0.7rem;
    }

    .btb {
        grid-template-columns: 1fr;
    }

    .vergiler-g {
        flex-direction: column;
    }
}

/* BTB Modal */
.btb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 2rem;
}

.btb-modal.active {
    visibility: visible;
    opacity: 1;
}

.btb-modal-content {
    background: #fff;
    width: 1000px;
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    position: relative;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btb-modal.active .btb-modal-content {
    transform: scale(1) translateY(0);
}

.btb-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--nav-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.btb-modal-close:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

.btb-modal-left {
    flex: 1;
    background: #f8fafc;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.btb-modal-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.btb-modal-right {
    flex: 1;
    padding: 3rem 2.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.btb-modal-right h3 {
    font-size: 1.5rem;
    color: var(--nav-color);
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    margin-right: 2rem;
}

.btb-info-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btb-info-group h4 {
    font-size: 1.1rem;
    color: var(--nay);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.btb-info-group p {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--nay);
}

@media (max-width: 900px) {
    .btb-modal {
        padding: 1rem;
    }

    .btb-modal-content {
        flex-direction: column;
        overflow-y: auto;
    }

    .btb-modal-left {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1rem;
    }

    .btb-modal-left img {
        max-height: 40vh;
    }

    .btb-modal-right {
        padding: 2rem 1.5rem;
        overflow-y: visible;
    }
}