/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.logo i {
    margin-right: 0.5rem;
    color: #3498db;
}

.logo-img {
    height: 32px;
    width: auto;
    margin-right: 0.75rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span {
    font-weight: 500;
}

.user-role {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: right;
}

.logout-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #c0392b;
}

/* Main Container */
.main-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    padding: 2rem 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.menu-item {
    padding: 1rem 2rem;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.menu-item:hover {
    background: #f8f9fa;
    border-left-color: #3498db;
}

.menu-item.active {
    background: #e8f2ff;
    border-left-color: #3498db;
    color: #3498db;
    font-weight: 600;
}

.menu-item i {
    width: 20px;
    font-size: 1.1rem;
}

.nav-badge {
    background: #e74c3c;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.75rem;
    margin-left: auto;
    font-weight: 600;
}

.notification-badge {
    position: relative;
    cursor: pointer;
    margin-right: 1rem;
}

.notification-badge i {
    font-size: 1.2rem;
    color: #6c757d;
}

.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: #f8f9fa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-header {
    margin-bottom: 2rem;
}

.content-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.content-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Alert Grid */
.alert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.alert-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.alert-card.critical {
    border-left-color: #e74c3c;
}

.alert-card.warning {
    border-left-color: #f39c12;
}

.alert-card.success {
    border-left-color: #27ae60;
}

.alert-card.info {
    border-left-color: #3498db;
}

.alert-card.spse {
    border-left-color: #9b59b6;
}

.alert-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.alert-card.critical .alert-icon {
    background: #e74c3c;
}

.alert-card.warning .alert-icon {
    background: #f39c12;
}

.alert-card.success .alert-icon {
    background: #27ae60;
}

.alert-card.info .alert-icon {
    background: #3498db;
}

.alert-card.spse .alert-icon {
    background: #9b59b6;
}

.alert-content h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.alert-content p {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.alert-content small {
    color: #6c757d;
    font-size: 0.875rem;
}

/* SPSE Data Styles */
.spse-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.spse-stat {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spse-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.spse-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: #6c757d;
}

.spse-stat:nth-child(1) .spse-icon {
    background: #3498db;
}

.spse-stat:nth-child(2) .spse-icon {
    background: #f39c12;
}

.spse-stat:nth-child(3) .spse-icon {
    background: #27ae60;
}

.spse-stat:nth-child(4) .spse-icon {
    background: #9b59b6;
}

.spse-content h4 {
    font-size: 1.8rem;
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-weight: 700;
}

.spse-content p {
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #495057;
    font-size: 1rem;
}

.spse-content small {
    color: #6c757d;
    font-size: 0.875rem;
}

.spse-recent-data {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.spse-recent-data h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.spse-packages-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 100px;
}

.spse-package-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease;
}

.spse-package-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.spse-package-item:last-child {
    margin-bottom: 0;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.package-code {
    font-family: monospace;
    font-weight: bold;
    color: #495057;
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.package-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.package-status.aktif {
    background: #d4edda;
    color: #155724;
}

.package-status.tender {
    background: #fff3cd;
    color: #856404;
}

.package-status.selesai {
    background: #d1ecf1;
    color: #0c5460;
}

.package-info h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.package-info p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-card.success {
    border-left: 4px solid #27ae60;
}

.stat-card.warning {
    border-left: 4px solid #f39c12;
}

.stat-card.danger {
    border-left: 4px solid #e74c3c;
}

.stat-card.info {
    border-left: 4px solid #3498db;
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-card.success .stat-icon {
    background: #27ae60;
}

.stat-card.warning .stat-icon {
    background: #f39c12;
}

.stat-card.danger .stat-icon {
    background: #e74c3c;
}

.stat-card.info .stat-icon {
    background: #3498db;
}

.stat-content h4 {
    font-size: 1.8rem;
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-weight: 700;
}

.stat-content p {
    font-weight: 600;
    margin: 0;
    color: #495057;
    font-size: 1rem;
}

/* Section Card */
.section-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.section-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-warning, .btn-success, .btn-danger {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

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

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

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #229954;
}

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Project Verification List */
.project-verification-list {
    padding: 0;
}

.project-verification-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.project-verification-item:hover {
    background: #f8f9fa;
}

.project-verification-item:last-child {
    border-bottom: none;
}

.project-verification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-verification-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    flex: 1;
    margin-right: 1rem;
}

.project-verification-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tenaga-ahli-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.tenaga-ahli-mini-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
}

.mini-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mini-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.mini-card-info h5 {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.mini-card-info p {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin: 0;
}

.certificate-summary {
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.certificate-alerts {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.mini-alert {
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.mini-alert.success {
    background: #d4edda;
    color: #155724;
}

.mini-alert.warning {
    background: #fff3cd;
    color: #856404;
}

.mini-alert.danger {
    background: #f8d7da;
    color: #721c24;
}

/* Project Overview Grid */
.project-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 4px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.overview-card.primary {
    border-left-color: #3498db;
}

.overview-card.warning {
    border-left-color: #f39c12;
}

.overview-card.success {
    border-left-color: #27ae60;
}

.overview-card.danger {
    border-left-color: #e74c3c;
}

.overview-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.overview-card.primary .overview-icon {
    background: #3498db;
}

.overview-card.warning .overview-icon {
    background: #f39c12;
}

.overview-card.success .overview-icon {
    background: #27ae60;
}

.overview-card.danger .overview-icon {
    background: #e74c3c;
}

.overview-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.overview-content p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.overview-content small {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Activity List Enhanced */
.activity-list {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.activity-item:hover {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 6px;
    margin: 0 -0.5rem;
    padding: 1rem 0.5rem;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.activity-icon.success {
    background: #27ae60;
}

.activity-icon.warning {
    background: #f39c12;
}

.activity-icon.critical {
    background: #e74c3c;
}

.activity-icon.info {
    background: #3498db;
}

.activity-icon.high {
    background: #e74c3c;
}

.activity-icon.medium {
    background: #f39c12;
}

.activity-icon.low {
    background: #3498db;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-content p {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.activity-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.activity-content small {
    color: #6c757d;
    font-size: 0.85rem;
}

.activity-time {
    color: #6c757d;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-top: 0.25rem;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

/* Project Detailed List */
.project-detailed-list {
    padding: 0;
}

.project-detailed-item {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.project-detailed-item:hover {
    background: #f8f9fa;
}

.project-detailed-item:last-child {
    border-bottom: none;
}

.project-detailed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-detailed-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.2rem;
    flex: 1;
    margin-right: 1rem;
    line-height: 1.3;
}

.project-detailed-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tenaga-ahli-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tenaga-ahli-detailed-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.detailed-person-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detailed-person-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.detailed-person-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.detailed-person-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

.detailed-certificate-list {
    margin-bottom: 1rem;
}

.detailed-certificate-item {
    background: #f8f9fa;
    border: 1px solid #e3e8ed;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.detailed-cert-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.detailed-cert-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    flex: 1;
    margin-right: 1rem;
    line-height: 1.3;
}

.detailed-cert-jenjang {
    background: #3498db;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.detailed-cert-meta {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.detailed-cert-alerts {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-detailed-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Template Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.template-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
}

.template-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #3498db;
}

.template-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.template-card p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Conflict List */
.conflict-list {
    padding: 1.5rem;
}

.conflict-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.conflict-item.high {
    border-left-color: #e74c3c;
    background: #fdf2f2;
}

.conflict-item.medium {
    border-left-color: #f39c12;
    background: #fefcf3;
}

.conflict-item.low {
    border-left-color: #3498db;
    background: #f0f9ff;
}

.conflict-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.conflict-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.conflict-priority {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.conflict-priority.high {
    background: #e74c3c;
    color: white;
}

.conflict-priority.medium {
    background: #f39c12;
    color: white;
}

.conflict-priority.low {
    background: #3498db;
    color: white;
}

.conflict-details {
    margin-bottom: 1rem;
    color: #495057;
    line-height: 1.5;
}

.conflict-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.conflict-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Report Generation */
.report-generation {
    padding: 1.5rem;
}

.report-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

/* Search Section */
.search-section {
    margin-bottom: 2rem;
}

.search-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-group {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-input-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    background: white;
}

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

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #3498db;
}

/* Table */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

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

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

/* Modern Table Styles */
.modern-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.table-wrapper {
    overflow-x: auto;
    position: relative;
}

.modern-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    font-size: 0.95rem;
}

.modern-data-table .table-header {
    background: #3498db;
    color: white;
    font-weight: 600;
    padding: 0;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modern-data-table .table-header .header-content {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-data-table .table-header .header-content i {
    font-size: 1rem;
    opacity: 0.9;
}

.modern-data-table .table-header.actions-header {
    background: #e74c3c;
}

.modern-data-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f3f4;
}

.modern-data-table tbody tr:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.modern-data-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.modern-data-table tbody tr:nth-child(even):hover {
    background: #f8f9fa;
}

.modern-data-table td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border: none;
    position: relative;
}

.modern-data-table td:first-child {
    border-left: 4px solid transparent;
    transition: border-color 0.3s ease;
}

.modern-data-table tbody tr:hover td:first-child {
    border-left-color: #3498db;
}

/* Table Cell Content Styles */
.table-cell-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.table-user-info {
    flex: 1;
    min-width: 0;
}

.table-user-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.table-user-detail {
    color: #6c757d;
    font-size: 0.85rem;
}

.table-skill-badge {
    background: #17a2b8;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-certificate-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.table-cert-count {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.table-cert-status {
    font-size: 0.8rem;
    color: #6c757d;
}

.table-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.table-status-badge.active {
    background: #28a745;
    color: white;
}

.table-status-badge.inactive {
    background: #dc3545;
    color: white;
}

.table-status-badge.pending {
    background: #ffc107;
    color: #212529;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.table-action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.table-action-btn.edit {
    background: #3498db;
    color: white;
}

.table-action-btn.edit:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.table-action-btn.delete {
    background: #e74c3c;
    color: white;
}

.table-action-btn.delete:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.table-action-btn.view {
    background: #28a745;
    color: white;
}

.table-action-btn.view:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Table Footer */
.table-footer {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-info {
    color: #6c757d;
    font-size: 0.9rem;
}

.table-count {
    font-weight: 500;
}

.table-pagination {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.pagination-btn:hover:not(:disabled) {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

/* Project Specific Styles */
.table-project-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    display: inline-block;
}

.table-status-badge.berjalan {
    background: #17a2b8;
    color: white;
}

.table-status-badge.selesai {
    background: #28a745;
    color: white;
}

.table-status-badge.pending {
    background: #ffc107;
    color: #212529;
}

/* Contract Value Specific Styling */
.contract-value {
    font-size: 1.5rem !important;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-all;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .contract-value {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .contract-value {
        font-size: 1rem !important;
    }
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.status-verified {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-conflict {
    background: #f8d7da;
    color: #721c24;
}

.status-expired {
    background: #f8d7da;
    color: #721c24;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    border-left: 4px solid #3498db;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #d4edda;
    color: #155724;
}

.project-details {
    margin-bottom: 1rem;
}

.project-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.project-detail strong {
    color: #495057;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.metric-header h3 {
    font-size: 1rem;
    color: #6c757d;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.metric-trend.up {
    color: #27ae60;
}

.metric-trend.down {
    color: #e74c3c;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.metric-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.metric-progress {
    height: 100%;
    background: #3498db;
    transition: width 0.3s;
}

.metric-bar.high-risk .metric-progress {
    background: #e74c3c;
}

/* Risk List */
.risk-list {
    padding: 1.5rem;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.risk-item.high {
    background: #fdf2f2;
    border-left-color: #e74c3c;
}

.risk-item.medium {
    background: #fefcf3;
    border-left-color: #f39c12;
}

.risk-item.low {
    background: #f0f9f4;
    border-left-color: #27ae60;
}

.risk-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.risk-item.high .risk-icon {
    background: #e74c3c;
}

.risk-item.medium .risk-icon {
    background: #f39c12;
}

.risk-item.low .risk-icon {
    background: #27ae60;
}

.risk-content {
    flex: 1;
}

.risk-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.risk-description {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Instruction List */
.instruction-list {
    padding: 1.5rem;
}

.instruction-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
}

.instruction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.instruction-title {
    font-weight: 600;
    color: #2c3e50;
}

.instruction-date {
    color: #6c757d;
    font-size: 0.875rem;
}

.instruction-details {
    margin-bottom: 1rem;
    color: #495057;
}

.instruction-actions {
    display: flex;
    gap: 0.5rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.large {
    max-width: 800px;
}

/* Project Detail Modal specific styling */
#projectDetailModal .modal-content {
    max-width: 1000px;
    width: 95%;
    max-height: 95vh;
}

/* Detail Tenaga Ahli Modal Styling */
#detail-tenaga-ahli-modal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
}

/* Detail Proyek Modal Styling */
#detail-proyek-modal .modal-content {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
}

/* Detail Penugasan Modal Styling */
#detail-penugasan-modal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
}

/* Assignment Clarification Modal Styling */
#assignment-clarification-modal .modal-content {
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
}

#clarification-details-modal .modal-content {
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
}

.project-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.project-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.project-detail-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-detail-info p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.project-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-meta-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.project-meta-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.project-meta-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.project-assignment-list {
    display: grid;
    gap: 1rem;
}

.project-assignment-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-assignment-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.project-assignment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-assignment-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.project-assignment-role {
    background: #17a2b8;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-assignment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    font-size: 0.9rem;
}

.project-assignment-detail-item {
    display: flex;
    flex-direction: column;
}

.project-assignment-detail-label {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.project-assignment-detail-value {
    color: #2c3e50;
    font-weight: 500;
}

.project-requirements {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.project-requirements h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.requirement-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.requirement-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.requirement-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.requirement-classifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.classification-badge {
    background: #3498db;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.detail-person-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.detail-person-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 2rem;
    flex-shrink: 0;
}

.detail-person-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.detail-person-info p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.detail-person-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-meta-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.detail-meta-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.detail-meta-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.certificate-list {
    display: grid;
    gap: 1rem;
}

.certificate-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.certificate-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.certificate-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.certificate-status.aktif {
    background: #d4edda;
    color: #155724;
}

.certificate-status.expired {
    background: #f8d7da;
    color: #721c24;
}

.certificate-status.expired_soon {
    background: #fff3cd;
    color: #856404;
}

.certificate-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    font-size: 0.9rem;
}

.certificate-detail-item {
    display: flex;
    flex-direction: column;
}

.certificate-detail-label {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.certificate-detail-value {
    color: #2c3e50;
    font-weight: 500;
}

.assignment-list {
    display: grid;
    gap: 1rem;
}

.assignment-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.assignment-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.assignment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.assignment-project {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.assignment-role {
    background: #17a2b8;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.assignment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    font-size: 0.9rem;
}

.assignment-detail-item {
    display: flex;
    flex-direction: column;
}

.assignment-detail-label {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.assignment-detail-value {
    color: #2c3e50;
    font-weight: 500;
}

.no-data {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

.no-data i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

.modal-close:hover {
    color: #2c3e50;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Project Detail Modal */
.project-detail-info {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    margin-bottom: 0.75rem;
    align-items: center;
}

.detail-row label {
    font-weight: 600;
    min-width: 140px;
    color: #495057;
}

.detail-row span {
    color: #2c3e50;
}

.assignments-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
}

.assignment-item {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.assignment-item:last-child {
    margin-bottom: 0;
}

.assignment-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.assignment-number {
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.assignment-name {
    flex: 1;
}

.assignment-name strong {
    display: block;
    color: #2c3e50;
    font-size: 1.1rem;
}

.nik-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.assignment-details {
    font-size: 0.9rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item label {
    font-weight: 600;
    color: #495057;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.detail-item span {
    color: #2c3e50;
}

.detail-item small {
    font-size: 0.75rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.assignment-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
}

.assignment-actions .btn-sm {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
}

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

/* Certificate Details */
.cert-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cert-detail-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.cert-detail-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.cert-detail-value {
    font-weight: 500;
    color: #2c3e50;
}

/* Conflict Resolution */
.conflict-timeline {
    margin-top: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-description {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.timeline-date {
    color: #6c757d;
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .user-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }

    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        order: 2;
        padding: 1rem 0;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 1rem;
    }

    .menu-item {
        white-space: nowrap;
        min-width: 120px;
        justify-content: center;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .menu-item:hover,
    .menu-item.active {
        border-left: none;
        border-bottom-color: #3498db;
    }

    .main-content {
        order: 1;
        padding: 1rem;
    }

    .alert-grid {
        grid-template-columns: 1fr;
    }

    .search-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-group {
        min-width: auto;
    }

    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-footer {
        flex-direction: column;
    }

    .tenaga-ahli-summary {
        grid-template-columns: 1fr;
    }

    .tenaga-ahli-detailed-grid {
        grid-template-columns: 1fr;
    }

    .project-detailed-meta {
        grid-template-columns: 1fr;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .template-grid {
        grid-template-columns: 1fr;
    }

    .report-options {
        grid-template-columns: 1fr;
    }

    .project-detailed-actions {
        flex-direction: column;
    }

    .conflict-actions {
        flex-direction: column;
    }

    .conflict-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Modern Table Responsive */
    .modern-table-container {
        border-radius: 8px;
    }

    .modern-data-table .table-header .header-content {
        padding: 1rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .modern-data-table .table-header .header-content i {
        font-size: 0.9rem;
    }

    .modern-data-table td {
        padding: 1rem 0.75rem;
    }

    .table-cell-content {
        gap: 0.5rem;
    }

    .table-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .table-user-name {
        font-size: 0.9rem;
    }

    .table-user-detail {
        font-size: 0.8rem;
    }

    .table-skill-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .table-status-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .table-action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .table-footer {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .table-pagination {
        justify-content: center;
    }

    .pagination-btn {
        width: 32px;
        height: 32px;
    }

    .pagination-info {
        font-size: 0.85rem;
    }
}

/* Additional Status Classes */
.status-review {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #cce7ff;
    color: #004085;
}

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

.text-muted {
    color: #6c757d !important;
}

.text-warning {
    color: #f39c12 !important;
}

.text-danger {
    color: #e74c3c !important;
}

.text-success {
    color: #27ae60 !important;
}

/* Badge Styles */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-level {
    background: #3498db;
    color: white;
}

/* Button Groups */
.btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

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

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

/* Assignment Cards Styling */
.assignments-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.assignments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.assignment-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.assignment-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: #3498db;
}

.assignment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3498db;
    transition: width 0.3s ease;
}

.assignment-card:hover::before {
    width: 6px;
}

.assignment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.assignment-card-person {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.assignment-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.assignment-card-person-info h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.assignment-card-person-info p {
    margin: 0.25rem 0 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.assignment-card-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.assignment-card-status.aktif {
    background: #d4edda;
    color: #155724;
}

.assignment-card-status.pending {
    background: #fff3cd;
    color: #856404;
}

.assignment-card-status.selesai {
    background: #f8d7da;
    color: #721c24;
}

.assignment-card-details {
    margin-bottom: 1.5rem;
}

.assignment-card-project {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.assignment-card-project h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.assignment-card-project p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.assignment-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.assignment-card-meta-item {
    display: flex;
    flex-direction: column;
}

.assignment-card-meta-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.assignment-card-meta-value {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
}

.assignment-card-role {
    background: #17a2b8;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.assignment-card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.assignment-card-action-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.assignment-card-action-btn.view {
    background: #17a2b8;
    color: white;
}

.assignment-card-action-btn.edit {
    background: #ffc107;
    color: #212529;
}

.assignment-card-action-btn.delete {
    background: #dc3545;
    color: white;
}

.assignment-card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.section-info {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design for Assignment Cards */
@media (max-width: 768px) {
    .assignments-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .assignment-card {
        padding: 1rem;
    }
    
    .assignment-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .assignment-card-meta {
        grid-template-columns: 1fr;
    }
    
    .assignment-card-actions {
        justify-content: center;
    }
}

/* Certificate Cards Styling */
.certificates-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Search and Filter Section */
.search-filter-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.search-container {
    margin-bottom: 1rem;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-icon {
    color: #6c757d;
    margin-right: 0.75rem;
    font-size: 1rem;
}

#certificate-search {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #2c3e50;
    background: transparent;
}

#certificate-search::placeholder {
    color: #6c757d;
}

.clear-search-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.clear-search-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.filter-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-group label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: white;
    color: #2c3e50;
    font-size: 0.9rem;
    min-width: 150px;
    transition: all 0.3s ease;
}

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

.filter-group select:hover {
    border-color: #3498db;
}

/* Search Results Info */
.search-results-info {
    padding: 0.75rem 1.5rem;
    background: #e3f2fd;
    border-bottom: 1px solid #bbdefb;
    font-size: 0.9rem;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-results-info i {
    font-size: 1rem;
}

.search-results-info.hidden {
    display: none;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.certificate-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certificate-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: #28a745;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #28a745;
    transition: width 0.3s ease;
}

.certificate-card:hover::before {
    width: 6px;
}

.certificate-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.certificate-card-person {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.certificate-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.certificate-card-person-info h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.certificate-card-person-info p {
    margin: 0.25rem 0 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.certificate-card-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.certificate-card-status.aktif {
    background: #d4edda;
    color: #155724;
}

.certificate-card-status.expired {
    background: #f8d7da;
    color: #721c24;
}

.certificate-card-status.expired_soon {
    background: #fff3cd;
    color: #856404;
}

.certificate-card-details {
    margin-bottom: 1.5rem;
}

.certificate-card-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.certificate-card-info h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.certificate-card-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.certificate-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.certificate-card-meta-item {
    display: flex;
    flex-direction: column;
}

.certificate-card-meta-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.certificate-card-meta-value {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
}

.certificate-card-classification {
    background: #17a2b8;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.certificate-card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.certificate-card-action-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.certificate-card-action-btn.view {
    background: #17a2b8;
    color: white;
}

.certificate-card-action-btn.edit {
    background: #ffc107;
    color: #212529;
}

.certificate-card-action-btn.delete {
    background: #dc3545;
    color: white;
}

.certificate-card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Detail Sertifikat Modal Styling */
#detail-sertifikat-modal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
}

/* Responsive Design for Certificate Cards */
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .certificate-card {
        padding: 1rem;
    }
    
    .certificate-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .certificate-card-meta {
        grid-template-columns: 1fr;
    }
    
    .certificate-card-actions {
        justify-content: center;
    }
    
    /* Responsive Search and Filter */
    .search-filter-section {
        padding: 1rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
        min-width: auto;
    }
    
    .search-input-group {
        padding: 0.75rem;
    }
    
    #certificate-search {
        font-size: 1rem;
    }
}

/* Conflict Table Styling */
.conflict-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.conflict-type-badge.assignment_conflict {
    background: #e3f2fd;
    color: #1976d2;
}

.conflict-type-badge.certificate_expired {
    background: #ffebee;
    color: #d32f2f;
}

.conflict-type-badge.availability_conflict {
    background: #fff3e0;
    color: #f57c00;
}

.conflict-type-badge.skill_mismatch {
    background: #f3e5f5;
    color: #7b1fa2;
}

.conflict-priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.conflict-priority-badge.critical {
    background: #ffebee;
    color: #d32f2f;
}

.conflict-priority-badge.warning {
    background: #fff3e0;
    color: #f57c00;
}

.conflict-priority-badge.info {
    background: #e3f2fd;
    color: #1976d2;
}

.conflict-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.conflict-status-badge.open {
    background: #ffebee;
    color: #d32f2f;
}

.conflict-status-badge.in_progress {
    background: #fff3e0;
    color: #f57c00;
}

.conflict-status-badge.resolved {
    background: #e8f5e8;
    color: #2e7d32;
}

.conflict-status-badge.closed {
    background: #f5f5f5;
    color: #616161;
}

/* Detail Konflik Modal Styling */
#detail-konflik-modal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
}

.conflict-detail-section {
    margin-bottom: 2rem;
}

.conflict-detail-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.conflict-detail-section h4 i {
    color: #3498db;
}

.conflict-timeline {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.conflict-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.conflict-timeline-item:last-child {
    border-bottom: none;
}

.conflict-timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.conflict-timeline-content {
    flex: 1;
}

.conflict-timeline-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.conflict-timeline-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.conflict-timeline-date {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Responsive Design for Conflict Table */
@media (max-width: 768px) {
    .modern-data-table {
        font-size: 0.8rem;
    }
    
    .modern-data-table th,
    .modern-data-table td {
        padding: 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .header-content i {
        font-size: 0.8rem;
    }
    
    .header-content span {
        font-size: 0.7rem;
    }
}

/* Reports Section Styling */
.reports-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.reports-section .section-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.reports-section .section-header p {
    color: #6c757d;
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.report-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.report-card:hover {
    border-color: #3498db;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    transform: translateY(-4px);
}

.report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3498db;
    transition: width 0.3s ease;
}

.report-card:hover::before {
    width: 6px;
}

.report-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.report-card:hover .report-card-icon {
    background: #2980b9;
    transform: scale(1.1);
}

.report-card-content h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.report-card-content p {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.report-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.report-card-action {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.3s ease;
}

.report-card:hover .report-card-action {
    background: #3498db;
    color: white;
    transform: translateX(4px);
}

/* Report Configuration Styling */
.report-configuration {
    padding: 1.5rem;
}

.config-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #2c3e50;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.config-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Report Preview Styling */
.report-preview-content {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1.5rem;
}

.report-preview-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.report-preview-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.report-preview-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
}

.report-preview-section {
    margin-bottom: 2rem;
}

.report-preview-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.report-preview-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.report-preview-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.report-preview-table tr:last-child td {
    border-bottom: none;
}

/* Recent Reports Styling */
.recent-reports {
    padding: 1.5rem;
}

.recent-report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.recent-report-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.report-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.report-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.report-item-details h4 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.report-item-details p {
    margin: 0;
    color: #6c757d;
    font-size: 0.8rem;
}

.report-item-actions {
    display: flex;
    gap: 0.5rem;
}

.report-item-actions button {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.report-item-actions .btn-download {
    background: #28a745;
    color: white;
}

.report-item-actions .btn-delete {
    background: #dc3545;
    color: white;
}

.report-item-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Reports */
@media (max-width: 768px) {
    .reports-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .report-card {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .config-actions {
        flex-direction: column;
    }
    
    .recent-report-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .report-item-info {
        justify-content: center;
    }
    
    .report-item-actions {
        justify-content: center;
    }
}

/* Tenaga Ahli Dashboard Specific Styles */
.main-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: white;
    color: #2c3e50;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
    margin: 0.25rem 0;
}

.menu-item:hover {
    background: #f8f9fa;
    border-left-color: #3498db;
}

.menu-item.active {
    background: #e8f2ff;
    border-left-color: #3498db;
    color: #3498db;
    font-weight: 600;
}

.menu-item i {
    width: 24px;
    margin-right: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.menu-item span {
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
}

.nav-badge {
    background: #e74c3c;
    color: white;
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    margin-left: auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* Sidebar Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.page-header p {
    color: #6c757d;
    margin: 0;
    font-size: 1rem;
}

.page-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Overview Cards */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-content h3 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
}

.card-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Section Cards */
.section-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.section-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.status-icon.active {
    background: #28a745;
}

.status-icon {
    background: #6c757d;
}

.status-content h4 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.status-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Activity List */
.activity-list {
    padding: 1.5rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-icon.blue {
    background: #3498db;
}

.activity-icon.orange {
    background: #f39c12;
}

.activity-icon.green {
    background: #27ae60;
}

.activity-icon.purple {
    background: #9b59b6;
}

.activity-icon.gray {
    background: #95a5a6;
}

.activity-content {
    flex: 1;
}

.activity-message {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.4;
}

.activity-time {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.info-item span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Professional Summary */
.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary-item h4 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
}

.summary-item p {
    margin: 0;
    color: #6c757d;
    font-size: 0.8rem;
}

.experience-timeline h5 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    width: 100px;
    color: #6c757d;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.timeline-content h6 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.8rem;
}

/* Certificate Summary */
.cert-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.cert-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cert-stat h4 {
    margin: 0 0 0.5rem 0;
    color: #28a745;
    font-size: 2rem;
    font-weight: 700;
}

.cert-stat.warning h4 {
    color: #f39c12;
}

.cert-stat.danger h4 {
    color: #e74c3c;
}

.cert-stat p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Certificate Grid */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.certificate-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    border-color: #3498db;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.certificate-card.warning {
    border-color: #f39c12;
}

.certificate-card.expired {
    border-color: #e74c3c;
}

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

.cert-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

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

.status-badge.warning {
    background: #fff3cd;
    color: #856404;
}

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

.cert-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.cert-details {
    margin: 0 0 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.cert-level {
    margin: 0 0 1rem 0;
    color: #3498db;
    font-size: 0.8rem;
    font-weight: 600;
}

.cert-dates {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
}

.days-remaining {
    font-weight: 600;
    color: #e74c3c;
}

.cert-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Assignment Stats */
.assignment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
}

.stat-card p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Assignment List */
.assignment-list {
    padding: 1.5rem;
}

.assignment-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.assignment-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.assignment-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.assignment-details {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.detail-item i {
    width: 16px;
    color: #3498db;
}

.assignment-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #3498db;
    transition: width 0.3s ease;
}

/* Availability */
.availability-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem;
}

.availability-card.available {
    background: #d4edda;
    border: 2px solid #28a745;
}

.availability-card.busy {
    background: #fff3cd;
    border: 2px solid #f39c12;
}

.availability-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.availability-card.available .availability-icon {
    background: #28a745;
}

.availability-card.busy .availability-icon {
    background: #f39c12;
}

.availability-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.availability-info p {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 1rem;
}

.current-assignments h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.active-project {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.active-project:last-child {
    border-bottom: none;
}

.active-project span {
    color: #2c3e50;
    font-weight: 500;
}

.active-project small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Schedule Calendar */
.schedule-calendar {
    padding: 1.5rem;
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.schedule-date {
    width: 150px;
    color: #6c757d;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.schedule-project h5 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.schedule-project p {
    margin: 0;
    color: #6c757d;
    font-size: 0.8rem;
}

.no-schedule {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

/* Notification Tabs */
.notification-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.notif-tab {
    padding: 0.5rem 1rem;
    border: none;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.notif-tab:hover {
    background: #e9ecef;
}

.notif-tab.active {
    background: #3498db;
    color: white;
}

/* Notification List */
.notification-list {
    padding: 1.5rem;
}

.notification-item {
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.notification-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notification-item.unread {
    border-left: 4px solid #3498db;
    background: #f8f9fa;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.notif-header h5 {
    margin: 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.notif-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.priority-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

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

.priority-badge.normal {
    background: #d1ecf1;
    color: #0c5460;
}

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

.notif-time {
    color: #6c757d;
    font-size: 0.8rem;
}

.notif-message {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notif-actions {
    display: flex;
    gap: 0.5rem;
}

/* Document Categories */
.document-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.doc-category {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.doc-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.doc-category.active {
    border: 2px solid #3498db;
}

.doc-category i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.doc-category h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.doc-category p {
    margin: 0;
    color: #6c757d;
    font-size: 0.8rem;
}

/* Document List */
.document-list {
    padding: 1.5rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.document-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doc-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
}

.doc-info h5 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.doc-description {
    margin: 0 0 0.5rem 0;
    color: #6c757d;
    font-size: 0.8rem;
}

.doc-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #6c757d;
}

.doc-type {
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.doc-actions {
    display: flex;
    gap: 0.5rem;
}

/* Profile Section Specific Styles */
.profile-overview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-avatar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.avatar-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.avatar-info p {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 1rem;
}

.profile-status {
    display: flex;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.status-badge.available {
    background: #cce5ff;
    color: #004085;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.profile-info {
    display: grid;
    gap: 1rem;
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.profile-info-item .label {
    font-weight: 600;
    color: #495057;
    min-width: 120px;
}

.profile-info-item .value {
    color: #2c3e50;
    text-align: right;
    flex: 1;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-info-item i {
    width: 20px;
    color: #3498db;
    font-size: 1.1rem;
}

.contact-info-item .info {
    flex: 1;
}

.contact-info-item .info-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-info-item .info-value {
    color: #2c3e50;
    font-size: 1rem;
}

.account-settings {
    display: grid;
    gap: 1rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.setting-item .setting-info {
    flex: 1;
}

.setting-item .setting-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.setting-item .setting-description {
    color: #6c757d;
    font-size: 0.9rem;
}

.setting-item .setting-action {
    margin-left: 1rem;
}

.professional-summary {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.professional-summary h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.professional-summary p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.professional-summary .skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design for Tenaga Ahli Dashboard */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        box-shadow: none;
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .menu-item {
        padding: 0.75rem 1rem;
        margin: 0.125rem 0;
    }
    
    .menu-item i {
        width: 20px;
        margin-right: 0.75rem;
        font-size: 1rem;
    }
    
    .menu-item span {
        font-size: 0.9rem;
    }
    
    .profile-overview {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-details-grid {
        grid-template-columns: 1fr;
    }
    
    .avatar-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .avatar-info h3 {
        font-size: 1.25rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-grid {
        grid-template-columns: 1fr;
    }
    
    .document-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .assignment-stats {
        grid-template-columns: 1fr;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .availability-card {
        flex-direction: column;
        text-align: center;
    }
    
    .schedule-item {
        flex-direction: column;
    }
    
    .notification-tabs {
        flex-wrap: wrap;
    }
}

/* Certificate and Document Detail Modal Styles */
.certificate-detail-modal,
.document-detail-modal {
    padding: 0;
}

.cert-detail-header,
.doc-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.cert-detail-icon,
.doc-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.cert-detail-info h3,
.doc-detail-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.cert-detail-info p,
.doc-detail-info p {
    margin: 0 0 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #3498db;
    border-radius: 2px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-grid .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

.detail-grid .detail-item label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.detail-grid .detail-item span {
    color: #6c757d;
    font-size: 0.9rem;
}

.text-danger {
    color: #e74c3c !important;
    font-weight: 600;
}

.text-warning {
    color: #f39c12 !important;
    font-weight: 600;
}

.text-success {
    color: #28a745 !important;
    font-weight: 600;
}

/* Modal Large Size */
.modal-content.large {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Responsive Design for Detail Modals */
@media (max-width: 768px) {
    .cert-detail-header,
    .doc-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content.large {
        width: 98%;
        margin: 1rem;
    }
}