﻿.intro {
    text-align: center;
    margin-bottom: 32px;
}

    .intro h1 {
        margin: 0 0 10px;
        font-size: 32px;
        letter-spacing: 1px;
    }

    .intro p {
        margin: 0;
        color: #8c8c8c;
    }

.history-panel {
    background: #fff;
    border-radius: 16px;
    padding: 40px 50px;
    box-shadow: 0 24px 60px rgba(39, 57, 87, 0.08);
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px 60px;
}

.history-item {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    transition: all 0.25s ease;
}

    .history-item span {
        color: #1f2d3d;
    }

    .history-item:hover {
        background: #fffcf7;
        color: #ff6b43;
        box-shadow: inset 0 0 0 2px rgba(255, 107, 67, 0.15);
    }

.pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.page-btn {
    border: 1px solid #dcdfe6;
    background: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

    .page-btn.active,
    .page-btn:hover {
        border-color: #ff6937;
        color: #ff6937;
    }

footer {
    text-align: center;
    color: #9ea6b4;
    padding: 40px 0 60px;
    font-size: 13px;
}

@media (max-width: 768px) {
    header {
        padding: 14px 5vw;
    }

    main {
        padding: 40px 5vw 80px;
    }

    .history-panel {
        padding: 28px 20px;
    }
}
