/* =========================================================
   WIRELAB — ELECTRICAL SAFETY
   UNIT 00
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.study-content {
    padding-bottom: 40px;
}


/* =========================================================
   LESSON
========================================================= */

.unit00-lesson {
    width: 100%;
    margin-bottom: 12px;
    padding: 16px;

    border: 1px solid var(--wire-border);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 8px 25px var(--wire-shadow),
        inset 0 1px 0 var(--wire-highlight);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    overflow: hidden;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.unit00-section-label {
    margin-bottom: 6px;

    font-family: "Rajdhani", sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.5px;

    color: var(--wire-accent-bright);
}


/* =========================================================
   SECTION TITLE
========================================================= */

.unit00-section-title {
    margin-bottom: 10px;

    font-family: "Rajdhani", sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 1px;

    color: var(--wire-text);

    text-shadow:
        0 0 10px var(--wire-text-glow);
}


/* =========================================================
   LESSON TEXT
========================================================= */

.unit00-text {
    margin: 0 0 9px 0;

    font-size: 12px;
    line-height: 1.55;

    color: var(--wire-text-muted);
}

.unit00-text:last-child {
    margin-bottom: 0;
}


/* =========================================================
   KEY CONCEPTS
========================================================= */

.unit00-concepts {
    width: 100%;
    margin-bottom: 12px;
    padding: 16px;

    border: 1px solid var(--wire-border);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 8px 25px var(--wire-shadow),
        inset 0 1px 0 var(--wire-highlight);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    overflow: hidden;
}


/* =========================================================
   CONCEPT GRID
========================================================= */

.unit00-concept-grid {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 8px;
}


/* =========================================================
   CONCEPT CARD
========================================================= */

.unit00-concept {
    width: 100%;

    padding: 13px;

    border: 1px solid var(--wire-border);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    overflow: hidden;
}


/* =========================================================
   CONCEPT TITLE
========================================================= */

.unit00-concept-title {
    margin-bottom: 5px;

    font-family: "Rajdhani", sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.6px;

    color: var(--wire-text);
}


/* =========================================================
   CONCEPT TEXT
========================================================= */

.unit00-concept-text {
    font-size: 12px;
    line-height: 1.5;

    color: var(--wire-text-muted);
}


/* =========================================================
   KNOWLEDGE CHECK
========================================================= */

.unit00-check {
    width: 100%;
    margin-bottom: 12px;
    padding: 16px;

    border: 1px solid var(--wire-border);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 8px 25px var(--wire-shadow),
        inset 0 1px 0 var(--wire-highlight);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    overflow: hidden;
}


/* =========================================================
   QUESTION
========================================================= */

.unit00-question {
    width: 100%;

    margin-bottom: 10px;

    padding: 13px;

    border: 1px solid var(--wire-border);

    background:
        rgba(255, 255, 255, 0.025);

    font-family: "Rajdhani", sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.35;

    color: var(--wire-text);
}


/* =========================================================
   ANSWER
========================================================= */

.unit00-answer {
    width: 100%;

    padding: 13px;

    border-left: 2px solid var(--wire-accent);

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 12px;
    line-height: 1.55;

    color: var(--wire-text-muted);
}


/* =========================================================
   UNIT NAVIGATION
========================================================= */

.unit00-navigation {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 8px;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.unit00-back,
.unit00-complete {
    width: 100%;
    min-height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border: 1px solid var(--wire-border);

    background: var(--wire-hover-surface);

    color: var(--wire-text);

    font-family: "Rajdhani", sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1px;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}


/* =========================================================
   COMPLETE BUTTON
========================================================= */

.unit00-complete {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );
}


/* =========================================================
   HOVER
========================================================= */

.unit00-back:hover,
.unit00-complete:hover {
    background: var(--wire-hover-surface);
    border-color: var(--wire-accent);
    color: var(--wire-text);
}


/* =========================================================
   COMPLETED STATE
========================================================= */

.unit00-complete.completed {
    border-color: var(--wire-accent);

    color: var(--wire-accent);

    box-shadow:
        0 0 10px var(--wire-accent-glow-soft);
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .study-content {
        padding-bottom: 30px;
    }

    .unit00-lesson,
    .unit00-concepts,
    .unit00-check {
        padding: 13px;
    }

    .unit00-section-title {
        font-size: 21px;
    }

    .unit00-concept {
        padding: 12px;
    }

    .unit00-concept-title {
        font-size: 16px;
    }

    .unit00-question {
        padding: 12px;
        font-size: 16px;
    }

    .unit00-answer {
        padding: 12px;
    }
}