/* Styling for the Instructions Page */
.instruction-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.instruction-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.instruction-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #0b4c68;
}

.instruction-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instruction-card h4 i {
    color: #0b4c68;
    font-size: 1rem;
}

.instruction-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.instruction-card ul, .instruction-card ol {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.instruction-card li {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 0.6rem;
}

.instruction-card strong {
    color: #1e293b;
}

/* Subject scope grid */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.5rem 1rem;
    margin: 1.5rem 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
}

.subject-item {
    font-size: 0.92rem;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subject-item i {
    color: #10b981; /* green check */
    font-size: 0.85rem;
}

.highlight-box {
    background: rgba(58, 123, 213, 0.04);
    border-left: 4px solid #3a7bd5;
    border-radius: 0 8px 8px 0;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin: 0;
    font-weight: 600;
    color: #3a7bd5;
    line-height: 1.6;
}

/* Example Code / References Block */
.example-block {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 0.75rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
    word-break: break-all;
}

.example-label {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

@media (max-width: 575px) {
    .subject-grid {
        grid-template-columns: 1fr;
    }
}
