@charset "UTF-8";

/* Notice View Section */
#notice-view-section {
    background: #f8f9fa;
    padding: 60px 0;
    min-height: 600px;
}

/* Notice View Wrapper */
.notice-view-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Notice Header */
.notice-view-header {
    padding: 30px 40px;
    border-bottom: 2px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.notice-view-title-wrapper {
    margin-bottom: 20px;
}

.notice-view-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}

.notice-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.notice-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.notice-meta-item i {
    color: #02733E;
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.meta-label {
    font-weight: 500;
    color: #666;
}

.meta-value {
    font-weight: 600;
    color: #333;
}

/* Notice Content */
.notice-view-content {
    padding: 40px;
    min-height: 300px;
}

.notice-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-break: break-word;
    white-space: pre-wrap;
    text-align: center;
}

.notice-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
	opacity: 1 !important;
}

.notice-content-body p {
    margin-bottom: 16px;
}

.notice-content-body h1,
.notice-content-body h2,
.notice-content-body h3,
.notice-content-body h4,
.notice-content-body h5,
.notice-content-body h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #333;
}

.notice-content-body ul,
.notice-content-body ol {
    margin-bottom: 16px;
    padding-left: 30px;
}

.notice-content-body li {
    margin-bottom: 8px;
}

.notice-content-body a {
    color: #02733E;
    text-decoration: underline;
}

.notice-content-body a:hover {
    color: #078C03;
}

.notice-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.notice-content-body table th,
.notice-content-body table td {
    padding: 12px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.notice-content-body table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Notice Footer */
.notice-view-footer {
    padding: 25px 40px;
    border-top: 2px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.notice-navigation {
    display: flex;
    gap: 10px;
}

.notice-navigation .btn {
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.notice-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.notice-navigation .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.notice-actions {
    display: flex;
    gap: 10px;
}

.notice-actions .btn {
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.notice-actions .btn-primary {
    background: linear-gradient(135deg, #02733E 0%, #078C03 100%);
    border: none;
    color: white;
}

.notice-actions .btn-primary:hover {
    background: linear-gradient(135deg, #078C03 0%, #02733E 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 115, 62, 0.3);
}

.notice-actions .btn-primary:active {
    transform: translateY(0);
}

/* Empty State */
.notice-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.notice-empty-state i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.notice-empty-state h3 {
    color: #666;
    margin-bottom: 10px;
}

.notice-empty-state p {
    color: #999;
    margin-bottom: 30px;
}

/* Loading State */
.notice-loading {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.notice-loading i {
    font-size: 48px;
    color: #02733E;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .notice-view-header {
        padding: 25px 30px;
    }

    .notice-view-title {
        font-size: 24px;
    }

    .notice-view-content {
        padding: 30px;
    }

    .notice-view-footer {
        padding: 20px 30px;
        flex-direction: column;
        align-items: stretch;
    }

    .notice-navigation {
        width: 100%;
        justify-content: space-between;
    }

    .notice-navigation .btn {
        flex: 1;
    }

    .notice-actions {
        width: 100%;
        justify-content: center;
    }

    .notice-actions .btn {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    #notice-view-section {
        padding: 40px 0;
    }

    .notice-view-header {
        padding: 20px;
    }

    .notice-view-title {
        font-size: 20px;
    }

    .notice-view-meta {
        flex-direction: column;
        gap: 15px;
    }

    .notice-view-content {
        padding: 20px;
    }

    .notice-content-body {
        font-size: 14px;
        line-height: 1.6;
    }

    .notice-view-footer {
        padding: 15px 20px;
    }

    .notice-navigation {
        flex-direction: column;
    }

    .notice-navigation .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .notice-view-title {
        font-size: 18px;
    }

    .notice-meta-item {
        font-size: 13px;
    }

    .notice-content-body {
        font-size: 13px;
    }

    .notice-navigation .btn,
    .notice-actions .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-view-wrapper {
    animation: fadeIn 0.3s ease-out;
}

