/* Modern Reset & Base */
:root {
    --primary-color: #0056b3;
    --secondary-color: #00a0e9;
    --accent-color: #ff9900;
    --text-color: #333;
    --light-bg: #f4f7f9;
    --white: #ffffff;
    --border-color: #e1e4e8;
    --shadow: 0 4px 14px rgba(0,0,0,0.08);
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* Modern Header */
.header-wrapper {
    background: linear-gradient(135deg, #003366 0%, #0056b3 100%);
    color: var(--white);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    font-size: 32px;
    background: rgba(255,255,255,0.1);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.brand-text h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.brand-text p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a3cfff;
}

.header-info {
    text-align: right;
    font-size: 14px;
    opacity: 0.9;
}

/* Navigation */
.nav-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; /* Align right */
    align-items: center;
}

.nav-menu {
    display: flex;
}

.nav-item {
    padding: 18px 25px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.nav-item:hover {
    color: var(--primary-color);
    background-color: rgba(0,86,179,0.03);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

/* Container */
.main-container {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
    min-height: 600px;
}
/* Process Steps */
.process-section {
    background: var(--white);
    padding: 0px 15px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    padding: 35px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
    padding-bottom: 25px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px; /* Adjust based on icon size */
    left: 60px;
    right: 60px;
    height: 3px;
    background: #e9ecef;
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100px;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 3px solid #e9ecef;
    color: #adb5bd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin: 0 auto 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.step-item:hover .step-icon {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 160, 233, 0.3);
}

.step-title {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.content-card {
    background: var(--white);
    padding: 10px 15px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

/* Modern Table */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
}

.modern-table th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 700;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    font-size: 14px;
}

.modern-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
    transition: background 0.2s;
    font-size: 14px;
    color: #495057;
}

.modern-table tr:hover td {
    background-color: #f8fbff;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-finished {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.link-primary {
    color: var(--primary-color);
    font-weight: 600;
}

.link-primary:hover {
    text-decoration: underline;
    color: #003d80;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f5;
    color: #868e96;
    font-size: 14px;
}

.page-controls {
    display: flex;
    gap: 10px;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    color: #495057;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f8fbff;
}

/* Footer */
.modern-footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 50px 0 30px;
    margin-top: 60px;
    text-align: center;
    border-top: 5px solid var(--secondary-color);
}

.footer-links {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
    position: relative;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width .3s;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    font-size: 13px;
    line-height: 1.8;
    color: #95a5a6;
}

/* Detail Page Styles */

/* Status Header */
.detail-status-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 4px solid var(--accent-color);
}

.status-item {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid #eee;
    flex: 1;
}

.status-item:last-child {
    border-right: none;
}

.status-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.status-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.status-value.highlight {
    color: #e74c3c;
}

/* Tabs */
.modern-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6;
    background: transparent;
}

.tab-item {
    padding: 14px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    background: rgba(255,255,255,0.5);
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
    transition: all 0.3s;
    font-size: 14px;
}

.tab-item:hover {
    color: var(--primary-color);
    background: rgba(255,255,255,0.8);
}

.tab-item.active {
    background: var(--white);
    color: var(--primary-color);
    border-color: #dee2e6;
    border-bottom-color: var(--white);
    margin-bottom: -1px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.02);
}

/* Detail Content Card */
.detail-content {
    background: var(--white);
    border-radius: 0 14px 14px 14px; /* Top left square if it aligns with tabs */
    box-shadow: var(--shadow);
    padding: 30px;
    border-top-left-radius: 14px; /* Restore if tabs are detached or style differs */
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 1px solid #e9ecef;
}

.info-table td {
    padding: 14px 15px;
    border: 1px solid #e9ecef;
    font-size: 14px;
}

.info-label {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    width: 15%;
    text-align: right;
}

.info-value {
    background-color: var(--white);
    color: #212529;
    width: 35%;
}

.info-value.full-width {
    width: auto;
}

.highlight-bg {
    background-color: #fff3cd !important; 
}

.status-bar {
    text-align: center;
    padding: 14px;
    background: linear-gradient(to right, #e3f2fd, #bbdefb);
    color: #0d47a1;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #90caf9;
}
.breadcrumb {
    padding: 15px 0;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.breadcrumb a {
    color: #666;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 600;
}

.faq-list {
    list-style: none;
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid #f1f3f5;
    padding: 15px 0;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background-color: #f8fbff;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 6px;
}

.faq-title {
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-title::before {
    content: '•';
    color: var(--accent-color);
    font-size: 20px;
    line-height: 1;
}

.faq-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-date {
    color: #999;
    font-size: 13px;
    white-space: nowrap;
}