#content>.ast-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Lesson Plan Results Section Styling */
#lesson-plan-result {
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0, 85, 255, 0.25);
}

#lesson-plan-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 85, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#lesson-plan-result>* {
    position: relative;
    z-index: 1;
}

.plan-sec {
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.plan-sec:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 85, 255, 0.4);
}

.plan-sec h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid rgba(0, 85, 255, 0.35);
    position: relative;
}

.plan-sec h3::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0055ff 0%, rgba(0, 85, 255, 0) 100%);
    border-radius: 2px;
}

.plan-sec:first-child {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.18) 0%, rgba(15, 15, 15, 0.9) 100%);
    border-color: rgba(0, 85, 255, 0.3);
}

.plan-sec:first-child h3 {
    font-size: 26px;
}

/* Paragraph Styling */
.plan-sec p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.plan-sec p:last-child {
    margin-bottom: 0;
}

.plan-sec p strong {
    color: #ffffff;
    font-weight: 700;
}

.plan-sec ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.plan-sec li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    white-space: pre-wrap;
}

.plan-sec li:last-child {
    margin-bottom: 0;
}

.plan-sec li::before {
    content: '•';
    color: #0055ff;
    font-size: 22px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.plan-sec:nth-of-type(2) li::before {
    /* Warm Up */
    content: '🔥';
    font-size: 18px;
    top: 2px;
}

.plan-sec:nth-of-type(3) li::before {
    /* Presentation */
    content: '📊';
    font-size: 18px;
    top: 2px;
}

.plan-sec:nth-of-type(4) li::before {
    /* Practice */
    content: '✏️';
    font-size: 18px;
    top: 2px;
}

.plan-sec:nth-of-type(5) li::before {
    /* Production */
    content: '🎯';
    font-size: 18px;
    top: 2px;
}

.plan-sec:nth-of-type(6) li::before {
    /* Wrap Up */
    content: '🎁';
    font-size: 18px;
    top: 2px;
}

.plan-sec:nth-of-type(7) li::before {
    /* Materials */
    content: '📦';
    font-size: 18px;
    top: 2px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    #lesson-plan-result {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .plan-sec {
        padding: 1rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .plan-sec h3 {
        font-size: 20px;
    }

    .plan-sec:first-child h3 {
        font-size: 22px;
    }

    .plan-sec p,
    .plan-sec li {
        font-size: 15px;
    }

    .plan-sec li {
        padding-left: 1.5rem;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#lesson-plan-result[style*="block"] .plan-sec {
    animation: slideInUp 0.6s ease forwards;
}

#lesson-plan-result[style*="block"] .plan-sec:nth-child(1) {
    animation-delay: 0.1s;
}

#lesson-plan-result[style*="block"] .plan-sec:nth-child(2) {
    animation-delay: 0.2s;
}

#lesson-plan-result[style*="block"] .plan-sec:nth-child(3) {
    animation-delay: 0.3s;
}

#lesson-plan-result[style*="block"] .plan-sec:nth-child(4) {
    animation-delay: 0.4s;
}

#lesson-plan-result[style*="block"] .plan-sec:nth-child(5) {
    animation-delay: 0.5s;
}

#lesson-plan-result[style*="block"] .plan-sec:nth-child(6) {
    animation-delay: 0.6s;
}

#lesson-plan-result[style*="block"] .plan-sec:nth-child(7) {
    animation-delay: 0.7s;
}

#lesson-plan-result.loading {
    opacity: 0.7;
}

#lesson-plan-result.loading .plan-sec {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.job-insights-row.alg-results-content {
    display: block;
}

h2.section-title__top.alg-section-title-top.gradient-text {
    margin-bottom: 2rem;
}