/* ===== Notice Detail Page Styles ===== */

.detail-header {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    margin-bottom: 2rem;
    gap: 1rem;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-purple);
}

.back-icon {
    font-size: 1.5rem;
}
.notice-badge {
    padding: 0 6px;
    /* border-radius: 5px; */
    color: #fff;
}

.detail-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.detail-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

.meta-item {
    font-size: 0.9rem;
    color: #666;
}

.detail-body {
    line-height: 1.8;
    color: #444;
    font-size: 1rem;
}

.detail-body p {
    margin-bottom: 1rem;
    text-indent: 2em;
}

.detail-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 1rem;
}

.detail-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.detail-body li {
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--primary-pink);
    font-weight: 600;
}

.detail-attachments {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.detail-attachments h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.attachment-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.attachment-icon {
    font-size: 1.25rem;
}

.attachment-name {
    flex: 1;
    font-size: 0.95rem;
}

.attachment-size {
    font-size: 0.85rem;
    color: #999;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.action-btn {
    padding: 0.75rem 2rem;
    border: 2px solid var(--primary-purple);
    border-radius: 25px;
    background: white;
    color: var(--primary-purple);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.action-btn:hover {
    background: var(--primary-purple);
    color: white;
}

.detail-nav {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.nav-item {
    margin-bottom: 0.75rem;
}

.nav-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-item a:hover {
    color: var(--primary-purple);
}

.nav-item span {
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .detail-content {
        padding: 1.5rem;
    }
    
    .detail-title {
        font-size: 1.4rem;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .detail-actions {
        flex-direction: column;
    }
}