
/* =========================================
   1AUTO — Automaksu kalkulaatori nupp
   ========================================= */

#column_left_left {
    position: relative !important;
}

/* Match existing statistics button exactly */
#column_left_left .oneauto-tax-calculator-button.top-right-button {
    position: absolute !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    top: 10px !important;
    right: 10px !important;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    text-decoration: none !important;
    cursor: pointer !important;

    background: rgba(255,255,255,.94) !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 5px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.12) !important;

    color: #07111f !important;
    font-size: 19px !important;
    line-height: 1 !important;

    z-index: 50 !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease !important;
}

/* Calculator icon */
#column_left_left .oneauto-tax-calculator-button i {
    font-size: 19px !important;
    line-height: 1 !important;
    color: inherit !important;
}

/* Same hover behavior as statistics button */
#column_left_left .oneauto-tax-calculator-button:hover,
#column_left_left .oneauto-tax-calculator-button:focus-visible {
    color: var(--accent) !important;
    background: #fff !important;
    border-color: var(--accent) !important;
    box-shadow: 0 5px 16px rgba(0,0,0,.18) !important;
}

/* Mobile */
@media (max-width: 768px) {
    #column_left_left .oneauto-tax-calculator-button.top-right-button {
        top: 10px !important;
        right: 10px !important;

        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;

        background: rgba(255,255,255,.96) !important;
        z-index: 100 !important;
    }

    #column_left_left .oneauto-tax-calculator-button i {
        font-size: 18px !important;
    }
}


/* Calculator positioning — match edit button */
#column_left_left .oneauto-tax-calculator-button.top-right-button {
    top: 10px !important;
    right: 20px !important;
}

/* Calculator SVG */
#column_left_left .oneauto-tax-calculator-button svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
}


/* Calculator button — mobile positioning */
@media (max-width: 768px) {
    #column_left_left .oneauto-tax-calculator-button.top-right-button {
        top: 10px !important;
        right: 20px !important;
    }
}