﻿.instructions-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-header {
    background: #282572;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

    .page-header h1 {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .page-header p {
        margin: 0.5rem 0 0 0;
        opacity: 0.9;
        font-size: 1.1rem;
    }

.main-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.content-header {
    background: #282572;
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .content-header h2 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 600;
    }

.content-body {
    padding: 2rem;
    line-height: 1.8;
    color: #333;
}

.dynamic-content {
    font-size: 1rem;
    line-height: 1.7;
}

    .dynamic-content h1,
    .dynamic-content h2,
    .dynamic-content h3,
    .dynamic-content h4 {
        color: #17a2b8;
        margin: 1.5rem 0 1rem 0;
        font-weight: 600;
    }

    .dynamic-content h1 {
        font-size: 1.8rem;
        border-left: 4px solid #20c997;
        padding-left: 1rem;
    }

    .dynamic-content h2 {
        font-size: 1.5rem;
        border-left: 4px solid #20c997;
        padding-left: 1rem;
    }

    .dynamic-content h3 {
        font-size: 1.3rem;
        border-left: 4px solid #20c997;
        padding-left: 1rem;
    }

    .dynamic-content p {
        margin-bottom: 1rem;
        text-align: justify;
    }

    .dynamic-content strong {
        color: #17a2b8;
        font-weight: 600;
    }

    .dynamic-content ul {
        margin: 1rem 0;
        padding-left: 2rem;
    }

    .dynamic-content li {
        margin-bottom: 0.75rem;
        line-height: 1.6;
    }

    .dynamic-content a {
        color: #20c997;
        text-decoration: none;
        font-weight: 500;
        padding: 2px 4px;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

        .dynamic-content a:hover {
            background: rgba(32, 201, 151, 0.1);
            text-decoration: none;
        }

    .dynamic-content blockquote {
        background: #e8f4fd;
        border-left: 4px solid #17a2b8;
        padding: 1rem;
        margin: 1rem 0;
        font-style: italic;
        color: #0c5460;
    }

    .dynamic-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
        background: white;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        border-radius: 8px;
        overflow: hidden;
    }

    .dynamic-content th,
    .dynamic-content td {
        padding: 0.75rem;
        text-align: left;
        border-bottom: 1px solid #dee2e6;
    }

    .dynamic-content th {
        background: #17a2b8;
        color: white;
        font-weight: 600;
    }

    .dynamic-content tr:hover {
        background: #e8f4fd;
    }

    .dynamic-content ol {
        margin: 1rem 0;
        padding-left: 2rem;
    }

        .dynamic-content ol li {
            margin-bottom: 0.75rem;
            line-height: 1.6;
        }

    /* Email and link styling */
    .dynamic-content a[href^="mailto:"] {
        background: linear-gradient(135deg, #bee5eb, #a2d2ff);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        border: 1px solid #17a2b8;
        color: #0c5460;
    }

    .dynamic-content a[href^="tel:"] {
        background: linear-gradient(135deg, #d1ecf1, #bee5eb);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        border: 1px solid #20c997;
        color: #0c5460;
    }

    .dynamic-content a[href^="http"] {
        background: linear-gradient(135deg, #cff4fc, #b6f7ff);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        border: 1px solid #0dcaf0;
        color: #055160;
    }

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: #999;
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .instructions-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .page-header {
        padding: 1.5rem;
    }

        .page-header h1 {
            font-size: 2rem;
            flex-direction: column;
            gap: 0.5rem;
        }

    .content-body {
        padding: 1.5rem;
    }

    .dynamic-content h1,
    .dynamic-content h2 {
        font-size: 1.3rem;
    }

    .dynamic-content h3 {
        font-size: 1.1rem;
    }
}

/* Instructions-specific styling */
.dynamic-content .instruction-step {
    background: linear-gradient(135deg, #e8f4fd, #d1ecf1);
    border: 1px solid #17a2b8;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    padding-left: 3rem;
}

    .dynamic-content .instruction-step::before {
        content: "📋";
        position: absolute;
        left: 1rem;
        top: 1.5rem;
        font-size: 1.2rem;
    }

.dynamic-content .important-instruction {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.dynamic-content .warning-instruction {
    background: linear-gradient(135deg, #f8d7da, #f1c2c7);
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: #721c24;
}

.dynamic-content .procedure-box {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.dynamic-content .step-number {
    background: #17a2b8;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}
