:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Header */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
}

.hero-image {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Materi Cards */
.materi-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.materi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.materi-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.materi-card .card-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.materi-card .card-text {
    color: #666;
    margin-bottom: 1.5rem;
}

/* About Section */
.about-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card {
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    background: var(--light-color);
    border-radius: 8px;
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card ul {
    padding-left: 1.5rem;
}

.info-card li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image {
        font-size: 8rem;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .materi-card {
        margin-bottom: 1.5rem;
    }
}

/* Button Styles */
.btn-primary {
    background: var(--secondary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Materi Page Styles */
.materi-container {
    padding-top: 100px;
    min-height: 100vh;
}

.materi-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.materi-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 3rem;
}

.materi-section {
    margin-bottom: 3rem;
}

.materi-section h3 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.code-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    margin: 1rem 0;
    overflow-x: auto;
}

.command {
    color: #68d391;
}

.comment {
    color: #a0aec0;
}

.navigation-buttons {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Additional styles for pertemuan2 */
.card-header {
    font-weight: 600;
}

.border-success {
    border: 2px solid #198754 !important;
}

.border-danger {
    border: 2px solid #dc3545 !important;
}

/* Table improvements */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Code block improvements */
.code-block {
    line-height: 1.5;
    font-size: 0.9rem;
}

.command {
    color: #68d391;
    font-weight: 500;
}

.comment {
    color: #a0aec0;
    font-style: italic;
}

/* Alert improvements */
.alert ul {
    margin-bottom: 0;
}

/* Materi section spacing */
.materi-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 2rem;
}

.materi-section:last-child {
    border-bottom: none;
}

/* Additional styles for pertemuan3 */
.card.text-center {
    transition: transform 0.2s ease;
}

.card.text-center:hover {
    transform: translateY(-5px);
}

.table-sm th,
.table-sm td {
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* Permission visualization */
.permission-visual {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1rem;
}

.permission-user { color: #e74c3c; }
.permission-group { color: #3498db; }
.permission-others { color: #f39c12; }

/* Special permissions highlight */
.special-permission {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* Security alerts */
.alert-warning {
    border-left: 4px solid #f39c12;
}

/* Code block improvements */
.code-block {
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Table responsive improvements */
.table-responsive {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Quick reference styles */
.quick-ref-item {
    border-left: 3px solid #3498db;
    padding-left: 15px;
    margin-bottom: 10px;
}

/* Additional styles for pertemuan4 */
.card .badge {
    font-size: 0.7rem;
}

/* Backup strategy cards */
.card.text-center .card-header {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Alert improvements */
.alert .row {
    align-items: center;
}

.alert .fa-3x {
    opacity: 0.8;
}

/* Table responsive improvements */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Code block with warnings */
.code-block.alert-warning {
    border-left: 4px solid #f39c12;
}

.code-block.alert-danger {
    border-left: 4px solid #e74c3c;
}

/* Retention policy table */
.table-dark th {
    background-color: #2c3e50;
}

/* Best practices cards */
.card.border-success {
    border: 2px solid #28a745 !important;
}

.card.border-danger {
    border: 2px solid #dc3545 !important;
}

/* Troubleshooting table */
.table-bordered td {
    vertical-align: middle;
}

/* Backup type indicators */
.backup-type {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
}

.backup-full { background: #3498db; color: white; }
.backup-incremental { background: #27ae60; color: white; }
.backup-differential { background: #f39c12; color: white; }

/* Strategy visualization */
.strategy-item {
    border-left: 3px solid #3498db;
    padding-left: 15px;
    margin-bottom: 15px;
}

.strategy-item h6 {
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Additional styles for pertemuan5 */
/* Process state badges */
.badge.bg-success,
.badge.bg-info,
.badge.bg-warning,
.badge.bg-danger {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Process cards */
.card.text-center .fa-2x {
    margin-bottom: 10px;
}

/* Signal table */
.table-dark th {
    background-color: #2c3e50;
}

/* Code block improvements */
.code-block {
    max-height: 400px;
    overflow-y: auto;
}

/* Process monitoring dashboard */
.monitoring-dashboard {
    background: #1a1a1a;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #333;
}

/* Load average indicators */
.load-low { color: #27ae60; }
.load-medium { color: #f39c12; }
-load-high { color: #e74c3c; }

/* Process tree visualization */
.process-tree {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

/* Resource usage bars */
.usage-bar {
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    margin: 5px 0;
}

.usage-fill {
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2980b9);
    transition: width 0.3s ease;
}

.usage-fill.high {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.usage-fill.medium {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

/* Troubleshooting sections */
.troubleshooting-step {
    border-left: 3px solid #3498db;
    padding-left: 15px;
    margin-bottom: 15px;
}

.troubleshooting-step.warning {
    border-left-color: #f39c12;
}

.troubleshooting-step.danger {
    border-left-color: #e74c3c;
}

/* Best practices cards */
.card.border-success .card-header,
.card.border-danger .card-header {
    font-weight: 600;
}

/* Responsive tables */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.8rem;
    }
}

/* Process state animations */
@keyframes process-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.process-running {
    animation: process-pulse 2s infinite;
}

/* Additional styles for pertemuan6 */
/* DNS/DHCP concept cards */
.card.text-center .fa-3x {
    margin-bottom: 15px;
}

/* Protocol workflow */
.dhcp-workflow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.dhcp-step {
    text-align: center;
    flex: 1;
    padding: 15px;
}

.dhcp-step .fa-2x {
    margin-bottom: 10px;
}

.dhcp-arrow {
    font-size: 1.5rem;
    color: #6c757d;
}

/* Zone file syntax highlighting */
.zone-syntax {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.zone-comment {
    color: #6c757d;
    font-style: italic;
}

.zone-directive {
    color: #e74c3c;
    font-weight: bold;
}

.zone-record {
    color: #2c3e50;
}

/* Configuration blocks */
.config-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.config-comment {
    color: #a0aec0;
}

.config-keyword {
    color: #68d391;
}

.config-value {
    color: #fbb6ce;
}

/* Network topology visualization */
.network-topology {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.network-node {
    background: white;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.network-node.server {
    border-color: #e74c3c;
    background: #ffeaa7;
}

.network-node.client {
    border-color: #27ae60;
    background: #d5f4e6;
}

/* Troubleshooting table */
.table-bordered td {
    vertical-align: middle;
}

/* Case study styling */
.case-study {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.case-study h4 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

/* Security alerts */
.alert-warning {
    border-left: 4px solid #f39c12;
}

/* Best practices cards */
.card.border-success .card-header {
    font-weight: 600;
}

/* Responsive design for network topology */
@media (max-width: 768px) {
    .dhcp-workflow {
        flex-direction: column;
    }
    
    .dhcp-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .network-node {
        margin: 5px 0;
    }
}

/* Record type badges */
.record-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    margin: 0 2px;
}

.badge-a { background: #3498db; }
.badge-aaaa { background: #9b59b6; }
.badge-cname { background: #2ecc71; }
.badge-mx { background: #e74c3c; }
.badge-ns { background: #f39c12; }
.badge-ptr { background: #1abc9c; }

/* Additional styles for pertemuan7 */
/* Protocol comparison table */
.table-striped th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Security level indicators */
.security-high { color: #27ae60; font-weight: bold; }
.security-medium { color: #f39c12; font-weight: bold; }
.security-low { color: #e74c3c; font-weight: bold; }

/* Key visualization */
.key-visual {
    font-family: 'Courier New', monospace;
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 0.8rem;
    word-break: break-all;
}

/* Configuration blocks with syntax highlighting */
.config-block {
    position: relative;
}

.config-block::before {
    content: 'CONFIG';
    position: absolute;
    top: 5px;
    right: 10px;
    background: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Service status indicators */
.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-active { background: #27ae60; }
.status-inactive { background: #e74c3c; }
.status-unknown { background: #f39c12; }

/* Troubleshooting table */
.table-bordered td {
    vertical-align: middle;
}

/* Case study styling */
.case-study {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.case-study h4 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

/* Security checklist */
.alert-warning ul {
    margin-bottom: 0;
}

.alert-warning li {
    margin: 5px 0;
}

/* Protocol workflow */
.protocol-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.protocol-step {
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 15px;
    margin: 5px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.protocol-arrow {
    font-size: 1.5rem;
    color: #6c757d;
    flex: 0 0 auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .protocol-flow {
        flex-direction: column;
    }
    
    .protocol-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .protocol-step {
        min-width: auto;
        width: 100%;
    }
}

/* Best practices cards */
.card.border-success .card-header {
    font-weight: 600;
}

/* Code block improvements */
.code-block {
    max-height: 500px;
    overflow-y: auto;
}

/* Security badges */
.security-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    margin: 0 2px;
}

.badge-ssh { background: #3498db; }
.badge-ftp { background: #e74c3c; }
.badge-ftps { background: #27ae60; }
.badge-sftp { background: #9b59b6; }

/* Additional styles for pertemuan8 */
/* Exam specific styles */
.alert-danger {
    border-left: 4px solid #e74c3c;
}

.card-header.bg-info,
.card-header.bg-success,
.card-header.bg-warning,
.card-header.bg-danger,
.card-header.bg-secondary,
.card-header.bg-dark {
    font-weight: 600;
}

/* Score indicators */
.score-indicator {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-left: 5px;
}

.score-high { background: #27ae60; color: white; }
.score-medium { background: #f39c12; color: white; }
.score-low { background: #e74c3c; color: white; }

/* Timeline visualization */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    float: left;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
}

.timeline-item::after {
    content: '';
    display: table;
    clear: both;
}

/* Criteria table */
.table-bordered th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Quick reference cards */
.card .card-header {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Documentation examples */
.documentation-example {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 10px 0;
    border-radius: 0 5px 5px 0;
}

/* Responsive design for exam */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        float: none;
    }
}

/* Exam status indicators */
.exam-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

.status-not-started { background: #95a5a6; color: white; }
.status-in-progress { background: #3498db; color: white; }
.status-completed { background: #27ae60; color: white; }

/* Priority indicators */
.priority-high { color: #e74c3c; font-weight: bold; }
.priority-medium { color: #f39c12; font-weight: bold; }
.priority-low { color: #27ae60; font-weight: bold; }

/* Submission guidelines */
.submission-guidelines {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.submission-guidelines h4 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

/* Countdown timer */
.countdown-timer {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background: #2c3e50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

/* Additional styles for pertemuan9 */
.border-info {
    border: 2px solid #0dcaf0 !important;
}

.card-header {
    font-weight: 600;
}

/* Code block improvements for multi-line commands */
.code-block {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Table improvements */
.table th {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

/* Security level indicators */
.security-level-high {
    color: #198754;
    font-weight: 600;
}

.security-level-medium {
    color: #fd7e14;
    font-weight: 600;
}

.security-level-low {
    color: #dc3545;
    font-weight: 600;
}

/* Case study styling */
.case-study {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 1rem 0;
}

/* Command examples */
.command-example {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 5px;
    margin: 0.5rem 0;
    border-left: 4px solid #4299e1;
}

/* Best practices cards */
.best-practice-card {
    transition: transform 0.2s ease;
}

.best-practice-card:hover {
    transform: translateY(-5px);
}

/* Network diagram placeholder */
.network-diagram {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: #6c757d;
    margin: 1rem 0;
}

/* Responsive tables */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

/* Additional styles for pertemuan10 */
.badge {
    font-size: 0.75em;
}

.table-dark th {
    background-color: #343a40;
    border-color: #454d55;
}

/* Security level badges */
.security-critical {
    background-color: #dc3545;
    color: white;
}

.security-high {
    background-color: #fd7e14;
    color: white;
}

.security-medium {
    background-color: #ffc107;
    color: black;
}

.security-low {
    background-color: #198754;
    color: white;
}

/* Audit timeline */
.audit-timeline {
    position: relative;
    padding-left: 2rem;
}

.audit-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007bff;
}

.audit-phase {
    position: relative;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.audit-phase::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #007bff;
}

/* Tool comparison table */
.tool-comparison th {
    background-color: #e9ecef;
    font-weight: 600;
}

/* Code block enhancements */
.code-block {
    max-height: 400px;
    overflow-y: auto;
}

/* Report template styling */
.report-section {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.report-section h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Severity indicators */
.severity-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.severity-critical { background-color: #dc3545; }
.severity-high { background-color: #fd7e14; }
.severity-medium { background-color: #ffc107; }
.severity-low { background-color: #198754; }

/* Responsive tables */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .audit-timeline {
        padding-left: 1rem;
    }
    
    .audit-phase::before {
        left: -1.5rem;
    }
}

/* Print styles for reports */
@media print {
    .navigation-buttons,
    .navbar {
        display: none !important;
    }
    
    .materi-content {
        margin-top: 0 !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        break-inside: avoid;
    }
}

/* Additional styles for pertemuan11 */
.performance-metrics {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.metric-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

/* Threshold indicators */
.threshold-safe { color: #28a745; }
.threshold-warning { color: #ffc107; }
.threshold-critical { color: #dc3545; }

/* Performance comparison table */
.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.comparison-table td {
    vertical-align: middle;
}

/* Tool shortcuts */
.shortcut-key {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Benchmark results */
.benchmark-result {
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.benchmark-metric {
    font-weight: 600;
    color: #495057;
}

/* Alert styles */
.alert-critical {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

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

/* Monitoring dashboard layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.dashboard-widget {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Process visualization */
.process-tree {
    font-family: 'Courier New', monospace;
    background: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

/* Responsive performance charts placeholder */
.performance-chart {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #6c757d;
    margin: 1rem 0;
}

/* Script output styling */
.script-output {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    border-left: 4px solid #4299e1;
}

/* Metric progress bars */
.metric-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.metric-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.metric-fill.safe { background: #28a745; }
.metric-fill.warning { background: #ffc107; }
.metric-fill.critical { background: #dc3545; }

/* Additional styles for pertemuan12 */
.scheduling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.schedule-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
    text-align: center;
}

.schedule-icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.schedule-frequency {
    font-size: 1.2rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 0.5rem;
}

.schedule-description {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Cron syntax highlighting */
.cron-field {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    margin: 0.1rem;
    background: #e9ecef;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.cron-minute { background: #d4edda; }
.cron-hour { background: #cce7ff; }
.cron-day { background: #fff3cd; }
.cron-month { background: #f8d7da; }
.cron-weekday { background: #e2e3e5; }

/* Tool comparison tables */
.tool-comparison td {
    vertical-align: middle;
}

.feature-yes {
    color: #28a745;
    font-weight: bold;
}

.feature-no {
    color: #dc3545;
    font-weight: bold;
}

/* Schedule visualization */
.schedule-timeline {
    position: relative;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #007bff;
}

.timeline-time {
    font-weight: bold;
    min-width: 80px;
    color: #495057;
}

.timeline-task {
    flex: 1;
    color: #6c757d;
}

/* Lock status indicators */
.lock-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.lock-active {
    background-color: #dc3545;
}

.lock-inactive {
    background-color: #28a745;
}

/* Error handling styles */
.error-handling {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
}

.error-message {
    color: #721c24;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Security badges */
.security-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0.1rem;
}

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

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

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

/* Responsive cron examples */
@media (max-width: 768px) {
    .cron-field {
        display: block;
        margin: 0.2rem 0;
    }
    
    .scheduling-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-time {
        min-width: auto;
        margin-bottom: 0.5rem;
    }
}

/* Animation for schedule execution */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.executing {
    animation: pulse 2s infinite;
    border-left-color: #28a745 !important;
}

/* Log output styling */
.log-output {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    overflow-x: auto;
    max-height: 200px;
    overflow-y: auto;
}

.log-timestamp {
    color: #68d391;
}

.log-error {
    color: #fc8181;
}

.log-success {
    color: #68d391;
}

/* Additional styles for pertemuan13 */
.optimization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.optimization-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
    text-align: center;
    transition: transform 0.2s ease;
}

.optimization-card:hover {
    transform: translateY(-5px);
}

.optimization-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.optimization-metric {
    font-size: 1.5rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 0.5rem;
}

.optimization-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Performance comparison */
.comparison-before {
    background: #f8d7da;
    color: #721c24;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.comparison-after {
    background: #d4edda;
    color: #155724;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.improvement {
    color: #28a745;
    font-weight: bold;
}

.regression {
    color: #dc3545;
    font-weight: bold;
}

/* Parameter tables */
.param-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.param-value {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

/* Optimization levels */
.optimization-level {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0.2rem;
}

.level-critical {
    background: #dc3545;
    color: white;
}

.level-high {
    background: #fd7e14;
    color: white;
}

.level-medium {
    background: #ffc107;
    color: black;
}

.level-low {
    background: #28a745;
    color: white;
}

/* Benchmark results */
.benchmark-result {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

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

.benchmark-title {
    font-weight: bold;
    color: #495057;
}

.benchmark-score {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
}

/* Progress indicators */
.optimization-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-cpu { background: #007bff; }
.progress-memory { background: #28a745; }
.progress-disk { background: #fd7e14; }
.progress-network { background: #6f42c1; }

/* Tuning recommendations */
.recommendation {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.recommendation-critical {
    background: #f8d7da;
    border-color: #f5c6cb;
}

.recommendation-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
}

/* Responsive optimizations */
@media (max-width: 768px) {
    .optimization-grid {
        grid-template-columns: 1fr;
    }
    
    .benchmark-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .param-table {
        font-size: 0.8rem;
    }
}

/* Animation for optimization process */
@keyframes optimizing {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.optimizing {
    animation: optimizing 2s infinite;
    border-left-color: #28a745 !important;
}

/* Performance metrics dashboard */
.metrics-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.metric-widget {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007bff;
}

.metric-change {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.change-positive { color: #28a745; }
.change-negative { color: #dc3545; }

/* Additional styles for pertemuan14 */
.troubleshooting-flow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.flow-step {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.step-number {
    background: white;
    color: #667eea;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* Issue severity indicators */
.severity-critical {
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.severity-high {
    background: #fd7e14;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.severity-medium {
    background: #ffc107;
    color: black;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.severity-low {
    background: #28a745;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Troubleshooting matrix */
.troubleshooting-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.matrix-cell {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.matrix-header {
    font-weight: bold;
    color: #495057;
    margin-bottom: 0.5rem;
}

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

/* Diagnostic tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.tool-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
    text-align: center;
}

.tool-icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.tool-name {
    font-weight: bold;
    color: #495057;
    margin-bottom: 0.5rem;
}

.tool-purpose {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Incident timeline */
.incident-timeline {
    position: relative;
    padding-left: 2rem;
}

.incident-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007bff;
}

.timeline-event {
    position: relative;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #007bff;
}

.event-time {
    font-weight: bold;
    color: #495057;
    margin-bottom: 0.5rem;
}

.event-action {
    color: #6c757d;
}

/* Response status */
.response-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0.2rem;
}

.status-open {
    background: #dc3545;
    color: white;
}

.status-in-progress {
    background: #fd7e14;
    color: white;
}

.status-resolved {
    background: #28a745;
    color: white;
}

.status-closed {
    background: #6c757d;
    color: white;
}

/* Troubleshooting checklist */
.checklist-item {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.checklist-checkbox {
    margin-right: 1rem;
    color: #28a745;
}

.checklist-text {
    flex: 1;
}

/* Solution boxes */
.solution-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
}

.solution-header {
    font-weight: bold;
    color: #155724;
    margin-bottom: 0.5rem;
}

.solution-steps {
    color: #155724;
}

/* Responsive troubleshooting */
@media (max-width: 768px) {
    .troubleshooting-matrix {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .incident-timeline {
        padding-left: 1rem;
    }
    
    .timeline-event::before {
        left: -1.5rem;
    }
}

/* Animation for active troubleshooting */
@keyframes troubleshooting {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.troubleshooting-active {
    animation: troubleshooting 2s infinite;
    border-left-color: #28a745 !important;
}

/* Evidence collection */
.evidence-item {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.evidence-type {
    font-weight: bold;
    color: #856404;
    margin-bottom: 0.5rem;
}

.evidence-content {
    color: #856404;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Additional styles for pertemuan15 */
.checklist-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

/* Scenario cards */
.scenario-card {
    border-left: 4px solid #dc3545;
}

.scenario-card .card-header {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
}

/* Exam sections */
.exam-section {
    margin-bottom: 2rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.exam-section .card-header {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Checklist styling */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.checklist li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: #198754;
    color: white;
    border-radius: 50%;
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

.checklist .negative::before {
    content: "✗";
    background: #dc3545;
}

/* Practice questions */
.practice-question {
    background: #f8f9fa;
    border-left: 4px solid #0dcaf0;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 5px 5px 0;
}

/* Resource boxes */
.resource-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.resource-box h5 {
    color: white;
    margin-bottom: 1rem;
}

/* Countdown timer style */
.countdown-timer {
    background: #dc3545;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

/* Progress bars */
.progress-section {
    margin: 1rem 0;
}

.progress-label {
    display: flex;
    justify-content: between;
    margin-bottom: 0.5rem;
}

/* Motivational quotes */
.motivational-quote {
    font-style: italic;
    color: #6c757d;
    text-align: center;
    padding: 1rem;
    border-left: 4px solid #198754;
    background: #f8f9fa;
    margin: 1rem 0;
}

/* Command reference grid */
.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

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

.command-category h6 {
    color: #495057;
    border-bottom: 2px solid #0dcaf0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Additional styles for pertemuan16 */
.exam-section {
    margin-bottom: 2rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.exam-section .card-header {
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
}

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

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

.task-item h5 {
    color: #495057;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Time slots for time management */
.time-slot {
    transition: transform 0.2s ease;
}

.time-slot:hover {
    transform: scale(1.05);
}

.time-slot h4 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Countdown timer */
.countdown-timer {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Motivational section */
.motivational-section {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    padding: 2rem;
    border-radius: 15px;
    border-left: 6px solid #28a745;
}

.motivational-section h4 {
    color: #155724;
    margin-bottom: 1rem;
}

/* Checklist styling */
.form-check {
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.form-check:hover {
    background-color: #f8f9fa;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Final message */
.final-message {
    padding: 2rem;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 15px;
    border: 3px solid #2196f3;
}

/* Kode etik cards */
.card-border-success {
    border: 3px solid #198754 !important;
}

.card-border-danger {
    border: 3px solid #dc3545 !important;
}

/* Bonus challenges */
.bonus-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid #ffc107;
    background: #fff8e1;
    border-radius: 0 8px 8px 0;
}

/* Emergency plan tables */
.table-sm td {
    padding: 0.5rem;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .time-slot {
        margin-bottom: 1rem;
    }
    
    .countdown-timer {
        font-size: 1.5rem;
        padding: 1rem;
    }
    
    .exam-section .card-header {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Print styles for report */
@media print {
    .navbar, .navigation-buttons, .alert, .btn {
        display: none !important;
    }
    
    .materi-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        break-inside: avoid;
    }
}

/* Animation for checklist */
@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.form-check-input:checked {
    animation: checkmark 0.3s ease-in-out;
}

/* Progress indicator */
.progress-indicator {
    position: fixed;
    top: 70px;
    right: 20px;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.progress-indicator .progress {
    height: 8px;
    margin-bottom: 0.5rem;
}


