/* Common tool button styles */
.tool-btn {
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
    min-width: 160px;
    max-width: 220px;
    width: 80%; /* Ensures it fills available space up to max-width */
    height: 38px; /* Fixed height for consistency */
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    letter-spacing: 0.5px;
    outline: none;
}

/* Section-specific styles */
.tool-btn-finance {
    background-color: #198754; /* Bootstrap success */
    color: #fff;
}
.tool-btn-math {
    background-color: #0dcaf0; /* Bootstrap info */
    color: #fff;
}
.tool-btn-json {
    background-color: #6f42c1; /* Bootstrap purple */
    color: #fff;
}
.tool-btn-image {
    background-color: #0d6efd; /* Bootstrap primary */
    color: #fff;
}
.tool-btn-market {
    background-color: #ffc107; /* Bootstrap warning */
    color: #212529;
}
.tool-btn-clock {
    background-color: #0dcaf0; /* Bootstrap info */
    color: #fff;
}

.tool-btn:hover, .tool-btn:focus {
    opacity: 0.95;
    text-decoration: none;
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(44, 62, 80, 0.12);
}

.tool-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
} 