body {
    font-family: 'Malgun Gothic', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    color: #333;
}

/* ===== Admin Layout ===== */
.admin-header {
    display: flex;
    align-items: center;
    background-color: #2c3e50;
    color: #fff;
    padding: 0 1.5rem;
    height: 56px;
}

.header-left .logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 2rem;
}

.header-nav {
    flex: 1;
}

.header-nav .nav-link {
    color: #bdc3c7;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.header-nav .nav-link:hover {
    color: #fff;
    background-color: #34495e;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-name {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.header-right .btn-outline {
    color: #bdc3c7;
    border-color: #bdc3c7;
}

.header-right .btn-outline:hover {
    color: #fff;
    border-color: #fff;
    background-color: #34495e;
}

.admin-container {
    max-width: 100%;
    margin: 0;
    padding: 1.5rem 2rem;
}

/* ===== Page Header ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-header h2 {
    margin: 0;
    color: #333;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-outline {
    background-color: transparent;
    color: #333;
    border: 1px solid #ccc;
}

.btn-outline:hover {
    background-color: #eee;
}

.btn-danger {
    background-color: #e74c3c;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-sm {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Table ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #555;
    font-size: 0.85rem;
}

.table td {
    font-size: 0.9rem;
    color: #333;
}

.text-center {
    text-align: center;
}

/* ===== Badge ===== */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge-active {
    background-color: #d4edda;
    color: #155724;
}

.badge-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* ===== IP List ===== */
.ip-list {
    font-size: 0.85rem;
    color: #666;
    word-break: break-all;
}

/* ===== Card ===== */
.card {
    background-color: #fff;
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ===== Form ===== */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
    color: #555;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="datetime-local"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group input[readonly] {
    background-color: #e9ecef;
    color: #666;
}

.form-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #999;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal !important;
    cursor: pointer;
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

/* ===== Password Section ===== */
.password-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.password-section h3 {
    margin: 0 0 1rem;
    color: #333;
    font-size: 1rem;
}

/* ===== Alert ===== */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Login Page ===== */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #2c3e50;
}

.login-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 380px;
}

.login-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.5rem;
}

/* ===== Quiz Specific ===== */
.sub-title {
    margin: 0.3rem 0 0;
    color: #888;
    font-size: 0.9rem;
}

.text-ellipsis {
    display: inline-block;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.badge-type {
    background-color: #e8f4fd;
    color: #2980b9;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-half {
    flex: 1;
}

.form-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
    background-color: #fff;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.option-input {
    flex: 1;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: normal !important;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
}

/* ===== Event Quiz (Public) ===== */
.event-body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
}

.event-container {
    width: 100%;
    max-width: 520px;
}

.event-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.event-title {
    text-align: center;
    color: #333;
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
}

.event-quiz-name {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.event-desc {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin: 0 0 1.5rem;
}

.event-welcome {
    text-align: center;
    color: #667eea;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 1.5rem;
}

.input-with-btn {
    display: flex;
    gap: 0.5rem;
}

.input-with-btn .event-input {
    flex: 1;
}

.input-with-btn .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.resend-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.timer-text {
    font-size: 0.9rem;
    font-weight: bold;
    color: #667eea;
}

.alert-debug {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.event-ox-group {
    flex-direction: row !important;
    gap: 1rem;
}

.event-question {
    background-color: #f8f9ff;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.event-question .badge-type {
    margin-bottom: 0.5rem;
}

.question-text {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin: 0.5rem 0 0;
}

.event-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.event-option-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.event-option-label:hover {
    border-color: #667eea;
    background-color: #f0f2ff;
}

.event-option-label input[type="radio"] {
    accent-color: #667eea;
}

.event-option-label input[type="radio"]:checked ~ .option-text {
    color: #667eea;
    font-weight: bold;
}

.event-ox {
    flex: 1;
    justify-content: center;
    text-align: center;
}

.event-options:has(.event-ox) {
    flex-direction: row;
    gap: 1rem;
}

.ox-o {
    font-size: 1.5rem;
    color: #3498db;
}

.ox-x {
    font-size: 1.5rem;
    color: #e74c3c;
}

.event-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.event-input:focus {
    outline: none;
    border-color: #667eea;
}

.event-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

.event-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
    font-size: 1.1rem;
}

.btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
}

/* ===== Result Page ===== */
.result-card {
    text-align: center;
}

.result-icon {
    padding: 1.5rem 0;
}

.result-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.result-correct .result-emoji {
    color: #27ae60;
}

.result-correct h2 {
    color: #27ae60;
}

.result-wrong .result-emoji {
    color: #e74c3c;
}

.result-wrong h2 {
    color: #e74c3c;
}

.result-prize {
    margin: 1rem 0;
}

.prize-win {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border-radius: 12px;
    padding: 1.5rem;
    color: #333;
}

.prize-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 0 0.5rem;
}

.prize-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 0.5rem;
}

.prize-notice {
    font-size: 0.85rem;
    color: #666;
    margin: 0.5rem 0 0;
}

.prize-miss {
    padding: 1rem;
    color: #666;
}

.result-encourage {
    padding: 1rem;
    color: #666;
}

.result-info {
    text-align: left;
    margin-top: 1.5rem;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
}

.result-table th {
    width: 80px;
    padding: 0.6rem;
    color: #888;
    font-size: 0.85rem;
    font-weight: normal;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
}

.result-table td {
    padding: 0.6rem;
    color: #333;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

/* ===== Badge Win ===== */
.badge-win {
    background-color: #fff3cd;
    color: #856404;
}

/* ===== Result Explanation ===== */
.result-explanation {
    background-color: #f0f4ff;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-top: 1.5rem;
    border-left: 4px solid #667eea;
    text-align: left;
}

.result-explanation h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: #444;
}

.result-explanation p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.expl-divider {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #c5cae9;
}

/* ===== Terms Page ===== */
.terms-section {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.terms-header {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
}

.terms-label {
    font-size: 0.95rem;
    color: #333;
    font-weight: bold;
}

.terms-label em {
    font-style: normal;
    color: #e74c3c;
    font-size: 0.85rem;
}

.terms-label em.optional {
    color: #999;
}

.terms-label-all {
    font-size: 1rem;
}

.terms-content {
    padding: 0.75rem 1rem;
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.82rem;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
}

.terms-content p {
    margin: 0.3rem 0;
}

.terms-content strong {
    color: #444;
}

.terms-all {
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    border-top: 1px solid #eee;
}

/* ===== Calendar ===== */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cal-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333;
}

.cal-nav-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.3rem 0.7rem;
    font-size: 1rem;
    cursor: pointer;
    color: #555;
}

.cal-nav-btn:hover {
    background-color: #f0f0f0;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    color: #888;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar-table th {
    padding: 0.4rem 0;
    font-size: 0.78rem;
    font-weight: bold;
    color: #999;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.calendar-table td {
    text-align: center;
    vertical-align: top;
    padding: 0.4rem 0;
    height: 44px;
    position: relative;
}

.cal-empty {
    background: transparent;
}

.cal-day {
    cursor: default;
}

.cal-num {
    display: block;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.2;
}

.cal-sun .cal-num {
    color: #e74c3c;
}

.cal-sat .cal-num {
    color: #3498db;
}

.cal-today {
    background-color: #f0f2ff;
    border-radius: 8px;
}

.cal-today .cal-num {
    font-weight: bold;
    color: #667eea;
}

.cal-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 2px;
}

.dot-correct {
    background-color: #27ae60;
}

.dot-wrong {
    background-color: #e74c3c;
}

.dot-win {
    background-color: #f39c12;
}

/* ===== Tab Navigation (Admin) ===== */
.tab-nav {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
}

.tab-item {
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 0.9rem;
}

.tab-item:hover {
    color: #333;
    border-bottom-color: #adb5bd;
}

.tab-item.active {
    color: #2c3e50;
    font-weight: bold;
    border-bottom-color: #2c3e50;
}

.row-notice {
    background-color: #fdf6e3;
}

.badge-notice {
    background-color: #e67e22;
    color: #fff;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
}

/* ===== Public Board ===== */
.board-body {
    background-color: #f5f7fa;
    min-height: 100vh;
}

.board-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.board-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.board-tab {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.board-tab:hover {
    color: #333;
    background-color: #f8f9fa;
}

.board-tab.active {
    color: #2c3e50;
    font-weight: bold;
    border-bottom-color: #3498db;
    background-color: #fff;
}

.board-card {
    background: #fff;
    border-radius: 0 0 8px 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.board-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eee;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th {
    background-color: #f8f9fa;
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
}

.board-table td {
    padding: 0.7rem 0.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.board-link {
    color: #333;
    text-decoration: none;
}

.board-link:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Post Detail */
.post-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.post-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #999;
}

.post-content {
    min-height: 200px;
    padding: 1rem 0;
    line-height: 1.8;
    font-size: 0.95rem;
    color: #333;
    word-break: break-word;
}

.post-actions {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

/* ===== Attachments ===== */
.atch-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.atch-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 0.85rem;
}

.atch-name {
    flex: 1;
    color: #333;
}

.atch-size {
    color: #999;
    font-size: 0.8rem;
}

.form-file {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.form-hint {
    margin: 0.3rem 0 0 0;
    font-size: 0.8rem;
    color: #999;
}

/* Public attachment download */
.post-attachments {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.post-attachments h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.atch-download-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.atch-download-list li {
    padding: 0.3rem 0;
}

.atch-download-link {
    text-decoration: none;
    color: #2c3e50;
    font-size: 0.9rem;
}

.atch-download-link:hover {
    color: #3498db;
    text-decoration: underline;
}

.atch-icon {
    margin-right: 0.3rem;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    background-color: #fff;
    transition: all 0.15s;
}

.page-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.page-link.active {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
    font-weight: bold;
}

/* ===== Board Write ===== */
.board-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eee;
    margin-bottom: 1rem;
}

.board-title-row .board-title {
    margin: 0;
    padding: 0;
    border: none;
}

.board-input {
    display: block;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

textarea.board-input {
    resize: vertical;
    line-height: 1.6;
}

.write-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.write-author {
    margin-bottom: 1rem;
    padding: 0.6rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #555;
}

/* ===== Admin Post Title Link ===== */
.post-title-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.post-title-link:hover {
    color: #3498db;
    text-decoration: underline;
}

/* ===== Admin Post Detail ===== */
.detail-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.detail-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: #2c3e50;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.85rem;
    color: #888;
}

.detail-content {
    min-height: 150px;
    padding: 1rem 0;
    line-height: 1.8;
    font-size: 0.95rem;
    color: #333;
    word-break: break-word;
}

.detail-attachments {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.detail-attachments h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.detail-section {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    background-color: #fafbfc;
    border: 1px solid #edeff2;
    border-radius: 6px;
}

.detail-section-title {
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #e5e7eb;
}

.detail-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.detail-info-table th,
.detail-info-table td {
    padding: 0.55rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eef0f2;
    vertical-align: middle;
}

.detail-info-table th {
    width: 140px;
    background-color: #f4f6f8;
    color: #555;
    font-weight: 500;
    white-space: nowrap;
}

.detail-info-table td {
    color: #333;
    word-break: break-all;
}

.detail-info-table tr:last-child th,
.detail-info-table tr:last-child td {
    border-bottom: none;
}

/* ===== Dashboard ===== */
.dash-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 1.2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.dash-card-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.dash-card-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.dash-card-link {
    font-size: 0.8rem;
    color: #3498db;
    text-decoration: none;
}

.dash-card-link:hover {
    text-decoration: underline;
}

.dash-section {
    background-color: #fff;
    border-radius: 6px;
    padding: 1.2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-section-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}
