/* tools-style.css */

/* Tools Bar Styles */
.extra-tools-bar {
    background-color: #0b3d91;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.extra-tools-title {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.extra-tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.tool-card {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.tool-card:hover {
    background-color: rgba(255, 255, 255, 0.22);
}

.tool-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
}

.tool-name {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .extra-tools-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .extra-tools-grid::-webkit-scrollbar { height: 6px; }
    .extra-tools-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    .extra-tools-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }
    .tool-card {
        flex: 0 0 95px;
        scroll-snap-align: start;
    }
}