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

.breadcrumb {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: #495057;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #212529;
    font-weight: 600;
}

.main-title {
    color: #212529;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.5rem;
}

.cpu-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.section-title {
    color: #343a40;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid #6c757d;
    padding-left: 15px;
}

.content-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.component-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.component-number {
    background-color: #6c757d;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #495057;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-to-top.show {
    opacity: 1;
}

.scroll-to-top:hover {
    background-color: #343a40;
    transform: translateY(-2px);
}

.highlight-box {
    background-color: #e9ecef;
    border-left: 4px solid #495057;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

.step-box {
    background-color: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.step-box:hover {
    border-color: #6c757d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.performance-metric {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.metric-label {
    font-size: 0.9rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .content-card {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

/* darkmode style */

.dark-mode {
    background-color: #1a1a1a !important;
    color: #e9ecef !important;
}

.dark-mode .content-card {
    background-color: #2c2c2c !important;
    border-color: #495057 !important;
}

.dark-mode .breadcrumb {
    background-color: #343a40 !important;
}

.dark-mode .component-box {
    background-color: #343a40 !important;
    border-color: #495057 !important;
}

.dark-mode .performance-metric {
    background-color: #343a40 !important;
}

.dark-mode .highlight-box {
    background-color: #343a40 !important;
}

.dark-mode .step-box {
    background-color: #2c2c2c !important;
    border-color: #495057 !important;
}

/* Responsive improvements */
@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .component-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .scroll-to-top {
        display: none !important;
    }
    
    .breadcrumb {
        display: none !important;
    }
    
    body {
        background-color: white !important;
        color: black !important;
    }
    
    .content-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}