/* pages/reference-list.css */

/* from pages/gost/index.blade.php */
.gosts-index-page {
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.page-description {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.category-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.category-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.gosts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.gost-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.gost-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.gost-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gost-number {
    background: #2563eb;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.gost-category {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gost-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.gost-card-title a {
    color: #1f2937;
    text-decoration: none;
}

.gost-card-title a:hover {
    color: #2563eb;
}

.gost-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.gost-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gost-card-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.gost-card-link:hover {
    text-decoration: underline;
}

.gost-sizes-count {
    font-size: 12px;
    color: #9ca3af;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .gosts-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 28px;
    }
}
