/* Guided Practice Page Styles */

.guided-practice-wrapper {
    position: relative;
    min-height: calc(100vh - 70px);
    height: 1040px;
    background: transparent;
    padding: 0;
    overflow: hidden;
}

/* Background Image (Manikin) */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-image {
    width: 115.62%;
    height: 106.73%;
    object-fit: cover;
    position: absolute;
    left: -7.85%;
    top: 0;
}

/* Blue Overlay */
.blue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(122, 159, 179, 0.7) 0%, rgba(137, 169, 188, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Page Title */
.page-title {
    position: absolute;
    z-index: 3;
    font-family: 'Audiowide', 'Courier New', monospace;
    font-size: 36px;
    color: #f7f7f7;
    line-height: 1.1;
    left: 21px;
    top: 54px;
    width: 340px;
    height: 45px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Flowchart Diagram with Integrated Arrows */
.flowchart-diagram {
    position: absolute;
    left: 124px;
    top: 137px;
    width: 1192px;
    height: 780px;
    z-index: 2;
    pointer-events: auto;
}

.diagram-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .flowchart-diagram {
        left: 8%;
        width: 84%;
        height: auto;
        top: 180px;
    }
}

@media (max-width: 1024px) {
    .guided-practice-wrapper {
        height: auto;
        min-height: calc(100vh - 70px);
        padding-bottom: 100px;
    }

    .page-title {
        font-size: 32px;
        left: 20px;
        top: 40px;
    }

    .flowchart-diagram {
        left: 5%;
        width: 90%;
        top: 140px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
        left: 15px;
        top: 30px;
        width: auto;
    }

    .flowchart-diagram {
        left: 10px;
        width: calc(100% - 20px);
        top: 100px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
        left: 10px;
        top: 20px;
    }

    .flowchart-diagram {
        left: 5px;
        width: calc(100% - 10px);
        top: 80px;
    }
}
