/*
 * File: /public_html/css/new-tools.css
 * Version: 3.0
 * Last Updated: 2026-02-07
 *
 * New Tools Page Specific Styles
 * v3.0: Removed stats, filters, sort, load-more styles; added view-footer-btn
 */

/* Main heading styling - More specific selector */
.main .container h1,
.main .content h1 {
    font-size: 1.8em !important;
    margin: 20px 0 10px !important;
    color: #2d3748 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* Page introduction text */
.page-intro {
    text-align: center;
    margin: 10px 0 30px;
    color: #666;
    font-size: 1.1rem;
}

/* Statistics section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stat-card .number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    display: block;
    margin-bottom: 5px;
}

.stat-card .label {
    color: #666;
    font-size: 14px;
}

/* Tools grid specific styling */
.content-area .taxonomy-grid {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.taxonomy-card {
    width: 100%;
    box-sizing: border-box;
}

/* Date added styling */
.date-added {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0 0 0;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.empty-state h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.empty-state p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* View Footer Button (scroll to footer) */
.view-footer-btn {
    position: fixed;
    bottom: 20px;
    left: calc(50% - 58px);
    z-index: 1000;

    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007cba;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;

    display: flex;
    align-items: center;
    justify-content: center;

    -webkit-appearance: none;
    appearance: none;
    padding: 0;
}

.view-footer-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.view-footer-btn:hover {
    background-color: #005a87;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 124, 186, 0.4);
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-area .taxonomy-grid {
        grid-template-columns: 1fr;
    }

    .view-footer-btn {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .stats-section {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card .number {
        font-size: 1.5rem;
    }

    .main .content h1 {
        font-size: 1.5em;
    }

    .page-intro {
        font-size: 1rem;
    }
}
