 .phone-wrapper {
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .phone-wrapper span {
     font-weight: bold;
 }

 .member-auth-wrapper {
     max-width: 500px;
     margin: 0 auto;
     background: #fff;
     padding: 20px;
     border-radius: 8px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 /* Tabs group >>>>>>>>  */
 .tab-parent {
     display: flex;
     margin-top: 20px;
     border-bottom: 1px solid #ddd;
 }

 .tab {
     border-radius: 0;
     padding: 10px 20px;
     cursor: pointer;
     border: none;
     background: none;
     font-weight: bold
 }

 /* Active tab */
 .tab-parent>button.active {
     background: var(--logo-mid-yellow);
     color: var(--logo-dark-red);
 }

 .tab.active {
     border-bottom: 3px solid #2ecc71
 }

 .hidden {
     display: none;
 }

 /* Timer */
 .timer {
     margin-left: 15px;
     font-weight: bold;
     color: var(--logo-dark-red);
 }

 /* History table */
 .history-table {
     width: 100%;
     border-collapse: collapse;
     margin-top: 10px;
 }

 .history-table th,
 .history-table td {
     border: 1px solid #ccc;
     padding: 6px;
     text-align: center;
 }

 .tab-parent {
     display: flex;
     margin-top: 20px;
     overflow: hidden;
     width: fit-content;
 }

 .tab-content {
     background: #f3f3f3;
     padding: 1em;
     border-radius: 0 1em 1em 1em;
     box-shadow: 0 -0.1em 1em rgba(0, 0, 0, 0.08);
     flex: 1;
     margin-bottom: 1em;
 }

 /* Base tab style */
 .tab-parent>button {
     padding: 10px 20px;
     border: none;
     cursor: pointer;
     font-weight: bold;
     background: var(--logo-light-yellow);
     color: var(--dark-text);
     transition: background 0.2s ease-in-out;
     border-right: 1px solid var(--logo-mid-yellow);
 }

 /* Left tab rounded */
 .tab-parent>button:first-child {
     border-radius: 10px 0 0 0;
     border-left: none;
 }

 /* Right tab rounded */
 .tab-parent>button:last-child {
     border-radius: 0 10px 0 0;
     border-right: none;
 }

 /* Tabs group <<<<<<<<<<*/

 /* definition styles for fields marked with "*"   */
 .highlight {
     background: var(--logo-mid-yellow);
     transition: background 0.3s
 }

 /* Tooltip container */
 .tooltip {
     position: absolute;
     background: #333;
     color: white;
     padding: 6px 10px;
     border-radius: 6px;
     font-size: 0.85rem;
     white-space: nowrap;
     z-index: 9999;
     opacity: 0;
     transition: opacity 0.2s, transform 0.2s;
     pointer-events: none;
 }

 .tooltip.flip::after {
     top: -6px;
     bottom: auto;
     border-color: transparent transparent #333 transparent;
 }

 /* Triangle arrow */
 .tooltip::after {
     content: "";
     position: absolute;
     bottom: -12px;
     left: 5%;
     transform: translateX(-5%);
     border-width: 6px;
     border-style: solid;
     border-color: #333 transparent transparent transparent;
 }

 .tooltip.show {
     opacity: 1;
     transform: translateY(-12px);
 }

 /* >>>>> Exam */

 #statute-wrapper {
     border: 10px solid var(--logo-dark-yellow);
     border-radius: 15px;
     background-color: var(--logo-light-yellow);
     padding: 10px 25px;
     position: absolute;
     width: 60%;
     top: 140px;
     left: 20%;
     height: 84vh;
     overflow: auto;
     z-index: 150;
 }

 .alert {
     border: 2px solid mediumvioletred;
     padding: 15px;
     background: indianred;
     text-align: center;
 }

 .newExamControls {
     display: flex;
     justify-content: space-evenly;
     width: 255px;
 }

 #examStats {
     margin-bottom: 5px;
 }

 #testPending {
     position: relative;
     bottom: 61px;
 }

 #testWrong {
     bottom: 32px;
     position: relative;
     z-index: 0;
 }

 .correct {
     background: darkseagreen !important;
 }

 .wrong {
     background: indianred !important;
 }

 .history-passed.passed,
 #exam-summary .passed {
     color: #2e7d32;
 }

 .history-passed.failed,
 #exam-summary .failed {
     color: #c62828;
 }

 .progress {
     animation-name: userProgressFill;
     animation-duration: 1s;
     animation-fill-mode: forwards;
     border-radius: 40px;
     height: 100%;
     position: relative;
     z-index: 10;
     padding: 2px 5px;
     min-width: 32px;
     max-width: 100%;
     display: flex;
     white-space: pre;
     justify-content: space-around;
 }

 .barBg {
     text-align: center;
     width: 14em;
     background: lightgray;
     border-radius: 40px;
     height: 32px
 }

 button#mark0 {
     background: orangered
 }

 button#mark1 {
     background: green
 }

 #controls>button>h2 {
     padding-top: 0.8em;
     margin: auto;
 }

 #controls>button>div {
     width: 30%;
     padding: 3px;
     background: #777;
     margin: auto;
     top: 5px;
     position: relative;
     border-radius: 5px;
 }

 #controls>button {
     width: 9em;
     margin: 0 15px;
     padding: 10px;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

 .selected {
     box-shadow: 0 0 10px 5px orange;
     background-color: orange;
     color: black;
     padding: 10px;
     -webkit-text-stroke: medium;
 }

 .not-selectable {
     -webkit-touch-callout: none;
     -webkit-user-select: none;
     -khtml-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     user-select: none;
 }

 div#controls {
     width: 100%;
     background: var(--logo-light-yellow);
     padding: 20px;
     display: flex;
     justify-content: center;
     border-radius: 10px;
 }

 .variants>row:hover {
     background: var(--logo-mid-yellow);
 }

 .variants>row {
     cursor: default;
     padding: 15px;
     border-radius: 10px;
     width: inherit;
 }

 div.variants.done {
     width: 100%;
     max-width: 100%;
     display: flex;
     flex-direction: row;
     min-height: 0;
 }

 div.variants {
     min-height: 200px;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     margin: 15px 0;
 }

 .hard::before {
     content: "!!";
     color: mediumvioletred;
 }

 .question {
     width: -webkit-fill-available;
     text-align: center;
     padding: 15px;
     background: lightgrey;
     border-radius: 10px;
 }

 .question>* {
     margin: 0;
 }

 #exam {
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 .actionButtons {
     margin-bottom: 5px;
     position: relative;
     display: flex;
     flex-direction: row;
     justify-content: space-evenly;
     align-items: center;
 }

 /* Sticky chapter headers */
 h1.level-0 {
     position: sticky;
     top: -10px;
     background: var(--logo-mid-yellow);
     padding: 15px 20px;
     margin: 0 -25px;
     border-bottom: 2px solid var(--logo-dark-yellow);
     padding-left: 10px;
 }

 /* Sticky chapter headers */
 h2.level-0 {
     position: sticky;
     top: 45px;
     z-index: 50;
     background: var(--logo-mid-yellow);
     padding: 10px 25px;
     margin: 0 -25px;
     border-bottom: 2px solid var(--logo-dark-yellow);
 }

 /* Sticky paragraf headers */
 h3.level-1 {
     position: sticky;
     top: 103px;
     z-index: 40;
     box-shadow: 0px -10px 14px var(--logo-light-yellow);
     background: var(--logo-light-yellow);
     padding: 5px 30px;
     margin: 0 -25px;
     border-bottom: 1px solid var(--logo-dark-yellow);
 }

 .level-0 {
     margin-left: 0;
 }

 .level-1 {
     margin-left: 0;
 }

 .level-2 {
     margin-left: 25px;
 }

 .level-3 {
     margin-left: 40px;
 }

 .level-4 {
     margin-left: 60px;
 }

 .ust {
     font-weight: 500;
 }

 .punkt {
     list-style: none;
 }

 .subpunkt {
     list-style: none;
 }

 .statute.controls {
     position: sticky;
     display: flex;
     flex-direction: row-reverse;
     z-index: 1001111111111;
 }

 /* Exam History*/
 #exam-history {
     margin-top: 15px;
 }

 .history-item {
     display: flex;
     justify-content: space-between;
     padding: 8px 10px;
     border-bottom: 1px solid #ddd;
     cursor: pointer;
 }

 .history-item:hover {
     background: #f7f7f7;
 }

 .history-left .history-title {
     font-weight: 600;
 }

 .history-right span {
     margin-left: 10px;
 }

 #exam-summary {
     padding: 15px;
     background: #fafafa;
     border-radius: 4px;
     margin-top: 15px;
 }

 /* <<<<< End of Exam */