:root {
    --portal-bg: #f4f7fe;
    --card-bg: #ffffff;
    --text-main: #1b2559;
    --text-muted: #8f9bba;
    --primary-color: #4318FF;
}

body {
    font-family: 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--portal-bg);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 3rem 1rem;
}

/* Page Header */
.page-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Announcement Card */
.announcement-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(112, 144, 176, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* แถบสีด้านซ้ายของการ์ด */
.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--card-accent-color, var(--primary-color));
    border-radius: 20px 0 0 20px;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(112, 144, 176, 0.12);
}

/* Icon Box */
.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(67, 24, 255, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.icon-box-danger {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

/* Typography */
.topic-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 10px;
}

.topic-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-action {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-action:hover {
    background-color: #3311db;
    color: white;
    box-shadow: 0 8px 20px rgba(67, 24, 255, 0.3);
    transform: translateY(-2px);
}

.btn-action-danger {
    background-color: #dc3545;
}

.btn-action-danger:hover {
    background-color: #bb2d3b;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.btn-back {
    background-color: #ffffff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-back:hover {
    background-color: #f8fafc;
    color: var(--text-main);
    border-color: #cbd5e1;
}