/* Repair Instructions Styling */

/* License Plate Input */
.license-plate-input {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    font-weight: bold !important;
    font-size: 1.2rem !important;
}

/* Instructions Container */
.repair-instructions-container {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Repair Steps List */
.repair-steps-list {
    list-style-type: decimal;
    padding-left: 30px;
}

.repair-steps-list li {
    padding: 15px 10px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    line-height: 1.8;
}

.repair-steps-list li strong {
    color: #d39e00;
}

/* Instruction Lists */
.instruction-list {
    list-style-type: none;
    padding-left: 0;
}

.instruction-list li {
    padding: 10px 10px 10px 40px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.6;
}

.instruction-list li:before {
    content: "✓";
    position: absolute;
    left: 10px;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Safety warnings special styling */
.border-danger .instruction-list li:before {
    content: "⚠";
    color: #dc3545;
}

/* Step container styling */
.instruction-steps {
    background: #fff;
    padding: 20px;
}

/* Card Animations */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Feature Box Styling */
.feature-box {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

/* Progress Bar */
#progressBar {
    transition: width 0.3s ease;
}

/* Difficulty Badge Colors */
.difficulty-easy {
    color: #28a745;
}

.difficulty-moderate {
    color: #ffc107;
}

.difficulty-difficult {
    color: #fd7e14;
}

.difficulty-very-difficult {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .license-plate-input {
        font-size: 1rem !important;
    }

    .repair-steps-list li {
        padding: 12px 8px;
        font-size: 0.95rem;
    }

    .instruction-list li {
        padding-left: 35px;
        font-size: 0.95rem;
    }
}

/* Dark Mode Support */
[data-bs-theme="dark"] .repair-steps-list li,
.dark-theme .repair-steps-list li {
    background: #2d3338;
    border-left-color: #ffc107;
}

[data-bs-theme="dark"] .instruction-steps,
.dark-theme .instruction-steps {
    background: #212529;
}

/* Print Styles */
@media print {
    .card-header {
        background-color: #f8f9fa !important;
        color: #000 !important;
        border-bottom: 2px solid #000;
    }

    .repair-steps-list li {
        page-break-inside: avoid;
    }

    .btn,
    .breadcrumb,
    nav,
    footer {
        display: none !important;
    }
}
