﻿.financial-reports {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 8px 0 0 0;
    width: 100%;
}

.financial-reports__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 0 40px 0;
}

.financial-reports__select {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 10px 0;
    padding: 0 20px 0 20px;
    width: 100%;
    height: 56px;
    border: 1px solid #000;
    border-radius: 5px;
    outline-color: rgb(255, 255, 255);
    background-color: #E6EBF2;
    background-image: url("../svg/arrow-down-dark.svg");
    background-repeat: no-repeat;
    background-size: 15px auto;
    background-position: right 20px center;
    background-position-x: 95%;
    background-position-y: center;
    color: #000;
    font-family: "HelveticaRegular";
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 22.4px;
    line-height: 1.4rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
}

.financial-reports__tab {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 0 40px 0;
    height: 42px;
    border-radius: 5px;
    background-color: #b7bbbe;
}

.financial-reports__tab__item {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #daddde;
    color: #fff;
    font-family: "HelveticaRegular";
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 24px;
    line-height: 1.5rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.03em;
}

    .financial-reports__tab__item:last-child {
        border-right: 0;
    }

.financial-reports__report {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0 0 30px 0;
}

.financial-reports__report__content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
}

.financial-reports__title {
    position: relative;
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    color: #000;
    font-family: "Times";
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 24px;
    line-height: 1.5rem;
    font-weight: 400;
    font-style: normal;
}

    .financial-reports__title:after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        height: 24px;
        border-radius: 5px 0%;
        border-right: 1px solid #b7bbbe;
        border-bottom: 1px solid #b7bbbe;
    }

.financial-reports__item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 25%;
}

    .financial-reports__item img {
        width: 36px;
        height: auto;
        transition: transform 0.3s;
    }

    .financial-reports__item:hover img {
        transform: scale(1.1);
    }

    .financial-reports__item.-hide {
        display: none;
    }

    .financial-reports__item:nth-child(4) {
        border-right: 0;
    }

@media only screen and (min-width: 768px) {
    :root {
        --header-height: 80px;
    }

    .financial-reports__select {
        margin: 0;
        width: 230px;
        height: 50px;
        background-size: 12px auto;
        background-position-x: 91%;
        font-size: 13px;
        font-size: 0.8125rem;
        line-height: 20.8px;
        line-height: 1.3rem;
    }

        .financial-reports__select.-mobile {
            display: none;
        }

    .financial-reports__tab {
        display: flex;
    }

    .financial-reports__report {
        margin: 0 0 50px 0;
    }

        .financial-reports__report:last-child {
            margin: 0;
        }

    .financial-reports__report__content {
        height: 76px;
        border-radius: 5px;
        border: 1px solid #000;
    }

    .financial-reports__title {
        margin: 0 0 15px 0;
        padding: 0;
    }

        .financial-reports__title::after {
            display: none;
        }

    .financial-reports__item {
        border-right: 1px solid #000;
    }
}

@media only screen and (min-width: 1024px) {
    :root {
        --header-height: 172px;
    }

    .financial-reports {
        max-width: 705px;
    }

    .financial-reports__content {
        margin: 0 0 60px 0;
    }
}

/* Modern Financial Reports Card Style */
.financial-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.financial-category-card {
    background: white;
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    position: relative;
}

.financial-category-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #d0d5dc;
}

.category-icon {
    width: 40px;
    height: 40px;
    background: #E6EBF2;
    border: 1px solid #d0d5dc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.2rem;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.8;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.period-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .period-buttons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

.period-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.period-button:hover {
    background: #E6EBF2;
    border-color: #007bff;
    color: #007bff;
    text-decoration: none;
}

.period-button:active {
    transform: scale(0.98);
}

.period-label {
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.period-button img {
    transition: all 0.2s;
}

.period-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.period-button.disabled:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}


/* Year Selector Modern Style */
.year-selector-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #E6EBF2;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 0;
    width: 230px;
    height: 50px;
}

.year-selector-modern::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
}

.year-selector-modern select {
    background: transparent;
    border: none;
    color: #000;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0 45px 0 20px;
    cursor: pointer;
    outline: none;
    appearance: none;
    width: 100%;
    height: 100%;
    letter-spacing: 0.1em;
}

.year-selector-modern select option {
    background: #fff;
    color: #000;
}

.year-selector-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .financial-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .period-buttons-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .period-button {
        padding: 1rem 0.5rem;
    }
    
    .period-label {
        font-size: 0.8rem;
    }

    .year-selector-modern {
        width: 100%;
    }

    .year-selector-wrapper {
        justify-content: stretch;
    }
}