body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}
header {
    background-color: #00703C;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
}
h1 {
    color: white;
    font-family: sans-serif;
    font-size: 40px;
}
h2, h3 {
    color: black;
}
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}
.tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    color: #333;
    transition: background 0.2s;
}
.tab.active {
    background-color: white;
    font-weight: bold;
    border-bottom: 2px solid white;
}
.tab-content {
    display: none;
    background-color: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 300px;
}
.tab-content.active {
    display: block;
}
.quiz-container {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 30px;
}
.student-info {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #effbef;
    border-radius: 5px;
}
button {
    background-color: #00703C;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
button:hover {
    background-color: #005a30;
}
input, select {
    padding: 8px;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.question {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.hidden {
    display: none !important;
}
#results {
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f5e9;
    border-radius: 5px;
}
footer {
    text-align: center;
    margin-top: 30px;
    padding: 10px;
    color: #666;
    background: #eee;
}
.flashcard-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.flashcard {
    width: 220px;
    height: 280px;
    perspective: 600px;
    cursor: pointer;
    position: relative;
}
.flashcard .front, .flashcard .back {
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    box-shadow: 2px 2px 8px #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    position: absolute;
    backface-visibility: hidden;
    transition: transform 0.5s;
}
.flashcard .front {
    z-index: 2;
}
.flashcard .back {
    transform: rotateY(180deg);
    flex-direction: column;
}
.flashcard.flipped .front {
    transform: rotateY(180deg);
}
.flashcard.flipped .back {
    transform: rotateY(0deg);
}
.question img {
    width: 120px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}
.flashcard .back img,
.flashcard .front img {
    width: 180px;
    height: auto;
    max-height: 160px;
}
