﻿/* RESET TOP SPACING */
body {
    margin: 0;
    padding: 0;
}



.courtroom-container {
    width: 100%;
    max-width: 900px; /* keeps layout clean on large screens */
    margin: 0 auto;
    padding: 0 16px; /* adds breathing room on phones */
    font-family: 'Segoe UI', sans-serif;
    color: #222;
    text-align: center;
}



/* PROMPT BOX */
.prompt-box {
    margin-top: 10px;
    margin-bottom: 12px;
}

    .prompt-box textarea {
        width: 100%;
        height: 80px;
        padding: 10px;
        border: 1px solid #bbb;
        border-radius: 6px;
        resize: vertical;
    }

/* NAV LINKS — FIXED SPACING */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px; /* spacing between hyperlinks */
    margin: 10px 0 14px 0;
    text-decoration: underline;
}

.nav-item {
    text-decoration: underline;
    color: #0056b3;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-item:hover {
        color: #003d80;
    }

/* COURT APPOINTEES */


    .appointees-function {
        margin-bottom: 10px;
        border-bottom: 2px solid #ddd;
        padding-bottom: 4px;
        font-family:sans-serif;
        font-size:large;
        color:darkblue;
        
    }
.appointees {
    display: flex;
    justify-content: flex-start;
    align-items: center; /* keeps emojis aligned even with different font sizes */
    gap: 12px; /* spacing between role + description */
    white-space: nowrap;
}
    .Role{
        margin-bottom: 10px;
        border-bottom: 2px solid #ddd;
        padding-bottom: 4px;
        font-family: sans-serif;
        font-size: medium;
        text-align: center;
    }
  .desc {
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 4px;
    font-family: sans-serif;
    font-size: small;
    text-align: center;
  }


  




/* OUTPUT BOX — SHARP BORDER + CLEAN LOOK */
.output-box {
    border: 2px solid #0078d7; /* strong blue border */
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    text-align: left !important;
}

    .output-box label {
        display: block;
        font-weight: 400;
        margin-bottom: 8px;
        color: darkgrey;
    }

/* QUIZ QUESTION TEXT */
.output-area strong {
    font-size: 14px;
    color: #000;
}

/* INNER OUTPUT AREA */
.output-area {
    text-align: left !important;
    border: 1px solid #c0c0c0;
    background: #fafafa;
    padding: 14px;
    min-height: 220px;
   border-radius: 6px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #222;
    /*white-space: pre-wrap;*/
  overflow-y: auto;
}

    /* Optional horizontal layout for short answers */
    .output-area.answers-inline div {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-right: 20px;
    }

    /* QUIZ CHECKBOXES */
    .output-area input[type="checkbox"] {
        margin-right: 6px;
        transform: scale(1.1);
    }



.zoom:hover {
        width: 800px;
}


@media (max-width: 600px) {
    .nav-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .courtroom-image img {
        width: 100%;
    }

    .output-box {
        padding: 12px;
    }
}
/*************************************************************/
.courtroom-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: visible; /* allow zoom to expand without clipping */
    margin-bottom: 2rem; /* add space below so text isn’t covered */
}

/* Hide checkbox */
.img-toggle input {
    display: none;
}

/* Image setup */
.courtroom-img {
    width: 50%;
    height: auto;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-origin: center top; /* zoom downward, not upward */
}

/* Zoom toggle */
.img-toggle input:checked + .courtroom-img {
    transform: scale(2.0);
}

/* Optional: push content below further when zoomed */
.courtroom-image:has(input:checked) {
    margin-bottom: 17rem; /* extra space while zoomed */
}
