:root {
    --primary-color: #2496ed;
    /*--secondary-color: #0d6efd;*/
    --accent-color: #4cc9f0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

.dockerfile-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 0;
    border-radius: 10px;
    margin-bottom: 30px;
}

.dockerfile-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    margin-bottom: 25px;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.dockerfile-card:hover {
    transform: translateY(-5px);
}

.instruction-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.instruction-table th {
    background-color: var(--primary-color);
    color: white;
}

.code-example {
    background-color: #2d2d2d;
    color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    margin: 15px 0;
    overflow-x: auto;
}

.code-example .keyword {
    color: #569cd6;
}

.code-example .comment {
    color: #6a9955;
}

.code-example .string {
    color: #ce9178;
}

.code-example .argument {
    color: #9cdcfe;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.build-process {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.best-practice-item {
    padding: 15px;
    border-left: 3px solid var(--success-color);
    background-color: rgba(25, 135, 84, 0.05);
    margin-bottom: 15px;
    border-radius: 0 5px 5px 0;
}

.multistage-section {
    background-color: rgba(36, 150, 237, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.optimization-tip {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 3px solid var(--warning-color);
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 5px 5px 0;
}

.nav-pills .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    border: 1px solid #dee2e6;
    margin-right: 5px;
    margin-bottom: 5px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.dockerfile-editor {
    background-color: #1e1e1e;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    color: #d4d4d4;
    min-height: 300px;
    position: relative;
}

.line-numbers {
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 40px;
    background-color: #252526;
    padding: 0 10px;
    color: #858585;
    text-align: right;
    border-right: 1px solid #3e3e42;
}

.dockerfile-content {
    margin-left: 50px;
    white-space: pre;
    overflow-x: auto;
}

.command-breakdown {
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    border-left: 3px solid var(--info-color);
}

.build-demo {
    background-color: rgba(36, 150, 237, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.demo-terminal {
    background-color: #2d2d2d;
    color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    margin: 15px 0;
    min-height: 200px;
}
