body {
    background-color: #f5f5f5;
}

.public-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    margin-bottom: 0;
}

.public-navbar .navbar-brand {
    color: #1ab394 !important;
    font-weight: 700;
    font-size: 20px;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.public-navbar .nav > li > a {
    color: #555;
    padding: 18px 16px;
    font-size: 14px;
}

.public-navbar .nav > li > a:hover,
.public-navbar .nav > li.active > a {
    color: #1ab394;
    background: none;
    border-bottom: 2px solid #1ab394;
}

.public-navbar .nav > li.active > a {
    color: #1ab394;
    border-bottom: 2px solid #1ab394;
}

.public-navbar .navbar-toggle {
    border-color: #ddd;
    margin-top: 10px;
}

.public-navbar .navbar-toggle .icon-bar {
    background-color: #555;
}

.public-navbar .navbar-toggle:hover,
.public-navbar .navbar-toggle:focus {
    background-color: #f5f5f5;
}

.public-content {
    padding: 30px 20px;
    min-height: calc(100vh - 110px);
}

.public-content.app-embedded {
    padding: 16px;
}

.public-footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 16px 0;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.public-footer-link {
    color: #999;
}

.notice-header {
    text-align: center;
    padding: 36px 0 28px;
}

.notice-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.notice-header p {
    color: #999;
    font-size: 13px;
}

.notice-accent {
    color: #1ab394;
}

.notice-card,
.notice-view-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    overflow: hidden;
}

.notice-view-card {
    margin-bottom: 20px;
}

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

.notice-table thead tr {
    background: #fafafa;
    border-bottom: 2px solid #eee;
}

.notice-table thead th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.notice-table tbody tr {
    border-bottom: 1px solid #f4f4f4;
    transition: background 0.15s;
}

.notice-table tbody tr:hover {
    background: #f9fffe;
}

.notice-table tbody tr:last-child {
    border-bottom: none;
}

.notice-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #444;
    vertical-align: middle;
}

.badge-os {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

.badge-ios {
    background: #e8f4fd;
    color: #0a84ff;
}

.badge-aos {
    background: #e8f8f0;
    color: #34a853;
}

.badge-common {
    background: #f2f3f5;
    color: #555;
}

.notice-table td.title a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.notice-table td.title a:hover {
    color: #1ab394;
}

.notice-table td.author {
    color: #aaa;
    font-size: 13px;
    text-align: center;
    width: 120px;
}

.notice-table td.date {
    color: #bbb;
    font-size: 12px;
    text-align: center;
    width: 150px;
}

.notice-table th.author,
.notice-table th.date {
    text-align: center;
}

.notice-pagination {
    padding: 16px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.notice-pagination .btn-page {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #555;
    font-size: 13px;
    margin: 0 2px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}

.notice-pagination .btn-page:hover {
    background: #f0faf8;
    border-color: #1ab394;
    color: #1ab394;
    text-decoration: none;
}

.notice-pagination .btn-page.active {
    background: #1ab394;
    border-color: #1ab394;
    color: #fff;
    font-weight: 700;
}

.notice-pagination .btn-page.arrow {
    color: #aaa;
}

.empty-notice {
    text-align: center;
    padding: 60px 0;
    color: #bbb;
}

.empty-notice i {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.view-header {
    text-align: center;
    padding: 28px 0 20px;
}

.view-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.notice-view-head {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.notice-view-head .notice-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.5;
}

.notice-view-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #aaa;
    flex-wrap: wrap;
}

.notice-view-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.notice-view-body {
    padding: 28px 24px;
    font-size: 14px;
    color: #444;
    line-height: 1.9;
    min-height: 120px;
    word-break: break-word;
}

.notice-view-footer {
    padding: 14px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-back:hover {
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
}

@media (max-width: 767px) {
    .public-navbar .nav > li > a {
        padding: 12px 16px;
        border-bottom: none;
    }

    .public-navbar .navbar-collapse {
        border-top: 1px solid #f0f0f0;
    }

    .notice-table td.date,
    .notice-table th.date {
        display: none;
    }

    .notice-table td.num {
        width: 40px;
    }

    .notice-table td.author {
        width: 80px;
    }
}

@media (max-width: 576px) {
    .notice-view-head {
        padding: 16px;
    }

    .notice-view-body {
        padding: 20px 16px;
    }

    .notice-view-footer {
        padding: 12px 16px;
    }

    .notice-view-head .notice-title {
        font-size: 16px;
    }
}
