/* =========================================================
   WIRELAB — ELECTRICAL QUANTITIES & OHM'S LAW
========================================================= */


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

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


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

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

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

    box-shadow:
        0 8px 25px var(--wire-shadow);

    overflow: hidden;
}


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

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

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

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


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

.unit02-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-dim);
}


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

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

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

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

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


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

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

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

    box-shadow:
        0 8px 25px var(--wire-shadow);

    overflow: hidden;
}


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

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

    display: flex;
    flex-direction: column;

    gap: 8px;
}


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

.unit02-concept {
    width: 100%;
    padding: 13px;

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

    overflow: hidden;
}


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

.unit02-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-dim);
}


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

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

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


/* =========================================================
   OHM'S LAW
========================================================= */

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

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

    box-shadow:
        0 8px 25px var(--wire-shadow);

    overflow: hidden;
}


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

.unit02-question {
    width: 100%;
    margin-bottom: 10px;
    padding: 13px;

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

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

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


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

.unit02-answer {
    width: 100%;
    padding: 13px;

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

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

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


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

.unit02-navigation {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 8px;
}


/* =========================================================
   BACK / COMPLETE BUTTONS
========================================================= */

.unit02-back,
.unit02-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-panel);

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

    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,
        color 0.15s ease;
}


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

.unit02-complete {
    background: var(--wire-panel);
}


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

.unit02-back:hover,
.unit02-complete:hover {
    background: var(--wire-slate);
    border-color: var(--wire-accent);
    color: var(--wire-text-dim);
}


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

.unit02-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;
    }

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

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

    .unit02-concept {
        padding: 12px;
    }

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

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

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