/* Notice Page Styles */
.notice-section {
    margin-top: 72px;
    min-height: calc(100vh - 72px - 300px);
    padding: 60px 24px 80px;
    background: var(--gray-100);
}

.notice-container {
    max-width: 1400px;
    margin: 0 auto;
}

.notice-header {
    margin-bottom: 40px;
}

.notice-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.notice-header p {
    font-size: 16px;
    color: var(--gray-500);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Notice List */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--white);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.notice-item:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.notice-date {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    min-width: 100px;
}

.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

.notice-category.notice {
    background: rgba(20, 40, 160, 0.1);
    color: var(--primary);
}

.notice-category.event {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.notice-category.maintenance {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.notice-category.update {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.notice-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.notice-views {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--gray-500);
}

.notice-views svg {
    width: 16px;
    height: 16px;
}

.notice-arrow {
    color: var(--gray-400);
    transition: all 0.2s;
}

.notice-item:hover .notice-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.notice-arrow svg {
    width: 20px;
    height: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 18px;
    height: 18px;
}

/* Empty State */
.notice-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 16px;
}

.notice-empty svg {
    width: 64px;
    height: 64px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.notice-empty p {
    font-size: 16px;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .notice-header h1 {
        font-size: 26px;
    }

    .notice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
    }

    .notice-date {
        font-size: 13px;
    }

    .notice-title {
        font-size: 15px;
        white-space: normal;
    }

    .notice-meta {
        width: 100%;
        justify-content: space-between;
    }

    .pagination-btn {
        width: 36px;
        height: 36px;
    }
}
