/* ==== ./css/flashcards.css ==== */
div#page-wrapper {
    background: url('../images/abstract_0005.jpg') white;
    width: 100%;
    min-height: 100vh;
    padding: 0 0 50px 0;
}

div.contentBox {
    background: white;
    width: 95%; /* Responsive width */
    max-width: 35em;
    margin: 15px auto;
    border: 2px solid #4933D6;
    box-sizing: border-box;
}

div.contentBox .inner { padding: 15px; }

/* SUBJECT DROPDOWN */
.subject-dropdown-wrapper {
    background: linear-gradient(135deg, #4933D6 0%, #6B5CE7 100%);
    padding: 15px;
    text-align: center;
}

.subject-dropdown-wrapper label {
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

.subject-dropdown {
    appearance: none;
    -webkit-appearance: none;
    background: white;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px; 
    width: 100%;
    max-width: 250px;
    font-weight: bold;
    color: #333;
}

/* INPUT BOXES */
.flashcard-input-wrapper {
    position: relative; 
    height: 50px; 
    margin: 20px 0;
}

#def, #defHint { 
    font-size: 1.5em; 
    width: 100%; 
    height: 100%;
    box-sizing: border-box; 
    position: absolute;
    left: 0; top: 0;
    padding: 5px 10px;
    border: 1px solid #ccc;
    text-align: right;
}

#defHint {
    color: #bbb;
    background: transparent;
    pointer-events: none;
    border-color: transparent;
}

/* CONTROLS */
.check-row {
    display: flex;
    align-items: center;
    margin: 12px 0;
}
.check-row input { width: 22px; height: 22px; margin-right: 10px; }

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

#progressbar {
    display: block;
    width: 95%;
    max-width: 35em;
    margin: 10px auto;
    height: 25px;
}

div#dedication { 
    text-align: center; 
    padding: 20px; 
    color: #444; 
    font-weight: bold;
    text-shadow: 1px 1px 1px white;
}

/* Mobile Tweaks */
@media screen and (max-width: 480px) {
    h2#term { font-size: 2em; margin: 20px 0; text-align: center; }
    h3#listtitle { font-size: 1em; text-align: center; }
    .action-buttons button { width: 45%; }
}
