/* Notice Page Styles */

.notice-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    word-break: keep-all;
}

.notices-section {
    margin: 2rem 0;
}

.notices-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notice-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.notice-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.notice-item.important {
    border-left: 4px solid var(--danger-color);
    background: rgba(231, 76, 60, 0.02);
}

.notice-header-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.important-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--danger-color);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.notice-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    word-break: keep-all;
    line-height: 1.4;
}

.notice-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.notice-date,
.notice-views {
    display: flex;
    align-items: center;
}

.notice-content {
    color: var(--text-primary);
    line-height: 1.8;
    word-break: keep-all;
    white-space: pre-wrap;
}

.no-notices {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.no-notices p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .notice-item {
        padding: 1.5rem;
    }
    
    .notice-title {
        font-size: 1.1rem;
    }
    
    .notice-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .notice-header {
        padding: 1.5rem 0;
    }
    
    .notice-item {
        padding: 1.25rem;
    }
    
    .notice-header-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
