
/* Стили для monthSelector */
.calendarWrapper {
    margin:0;
}
.monthSelector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 16px;
}

#monthName {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-transform: capitalize;
}

.button {
    padding: 8px 12px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
    border: 1px #fff solid;
}

.button:active {
    opacity: 0.9;
    transform: scale(1.02);
}

#prevBtn, #nextBtn {
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #fff;
}

/* Стили для infoWrapper и canvas */
.infoWrapper {
    display: flex;
    justify-content: center;
    flex: 1;
    background: #000;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

canvas {
       width: 100%;
       max-width: 250px;
       height: auto;
       aspect-ratio: 1/1;
   }

/* Стили для buttons_div */
.buttons_div {
    display: flex;
    gap: 12px;
    padding: 16px 0;
}

#new_transaction_btn, #history_btn {
    flex: 1;
    padding: 14px;
    text-align: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    background: #000;
    color: #fff;
    border:1px #fff solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

#new_transaction_btn:active, #history_btn:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Адаптивность */
@media (max-width: 600px) {
    .container {
        padding: 12px;
    }

    .monthSelector {
        padding: 8px 0;
    }

    #monthName {
        font-size: 18px;
    }

    .button {
        padding: 6px 10px;
        font-size: 14px;
    }

    #prevBtn, #nextBtn {
        width: 36px;
        height: 36px;
    }

    #new_transaction_btn, #history_btn {
        padding: 12px;
        font-size: 14px;
    }
}

.disabled {
    border-color: #333;
    color: #333;
    pointer-events: none;
}

.chartTypeSelector {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chartTypeSelector label {
    font-size: 14px;
    color: #333;
}

.form-select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #007bff;
}