* {
    font-size: 100%;
    font-family: Roboto, sans-serif;
}

b{
    font-weight: 500;
}

table {
     border: 1px solid #ddd;
     border-collapse: collapse;
     border-spacing: 0;
     width: 100%;
}

td {
    padding: 8px;
    border: 1px solid #ddd;
}

th {
    padding: 8px;
    border: 1px solid #ddd;
    border-bottom: 2px solid #ddd;
}

tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

body {
    margin: 0;
    background-color: #E3E3E3;
}

.arrow_down {
     width: 0;
     height: 0;
     border-left: 5px solid transparent;
     border-right: 5px solid transparent;
     margin-left: 5px;
     border-top: 5px solid black;
}

.navigation_bar {
    width: 100%;
    height: 70px;
    margin: 0;
    border-color: #e7e7e7;
    background-color: #f8f8f8;
    position: fixed;
    z-index: 1;
}

.navigation_side_bar {
    margin: 0;
    background-color: #2E2D2C;
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 200px;
    height: 100%;
}

.navigation_side_item {
    color: #999999;
    padding: 15px;
    border-top: 1px solid #555555;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navigation_side_item div {
    margin-left: 5px;
}

.navigation_side_item:hover {
    color: #FFED00;
}

.navigation_side_item svg {
    fill: #959595;
}

.navigation_side_item:hover svg {
    fill: #FFED00;
}

.dropdown_button_outline {
    height: 40px;
    background-color: #f8f8f8;
    border: 1px solid #555555;
    margin: 12px 12px 0 12px;
    color: #1D1D1B;
    min-width: 120px;
}

.dropdown_button_outline:hover {
    background-color: #E3E3E3;
}

.dropdown_button_outline:hover .dropdown_content {
    display: block;
}

.dropdown_button_outline a {
    color: #1D1D1B;
    text-decoration: none;
}

button.dropdown_button_outline:hover {
    cursor: pointer;
}

.dropdown_button_text {
    margin: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown_content {
    border: 1px solid #555555;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    background-color: #f8f8f8;
    display: none;
    min-width: 120px;
    max-height: 90vh;
    overflow-y: auto;
}

.dropdown_content a {
    padding: 12px 16px;
    display: block;
}

.dropdown_content a:hover {
    background-color: #E3E3E3;
    cursor: pointer;
}

.button_outlined {
    border: 1px solid #555555;
    padding: 10px 15px;
    margin: 12px 12px 0 12px;
    color: #1D1D1B;
    text-decoration: none;
}

.button_outlined:hover {
    background-color: #E3E3E3;
}

.button_filled {
    border: 0 solid #555555;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    min-width: 100px;
}

.button_filled_margin {
    margin: 12px 0 0 0;
}

.button_filled:hover {
    cursor: pointer;
}

.button_filled:disabled {
    background-color: #eee;
    cursor: not-allowed;
}

.button_red {
    background-color: #d9534f;
}

.button_blue {
    background-color: #5bc0de;
}

.button_yellow {
    background-color: #FFED00;
    color: #1D1D1B;
}

.center_div {
    height: auto;
    margin: 50px auto;
}

.login_box {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    background-color: white;
    text-align: left;
    padding: 10px 40px 40px 40px;
}

.login_form {
    display: flex;
    flex-direction: row;
    margin: 0;
}

.column_form_left {
    margin-right: auto;
}

.column_form_middle {
    margin: 0 auto;
}

.column_form_right {
    margin-left: auto;
}

.form_entry {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form_entry:last-child {
    margin-bottom: 0;
}

.error_box {
    background-color: #f2dede;
    color: #a94442;
    display: none;
    padding: 15px;
    border: 1px solid #ebccd1;
    max-width: 500px;
}

.login_button {
    background-color: #FFED00;
    padding: 6px 12px;
    margin-top: 20px;
}

.login_button:disabled {
    background-color: #eee;
}

.page_header {
    font-size: 28px;
    margin: 10px 0;
}

div#page_vertical_block_parent {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #E3E3E3;
    padding-bottom: 2em;
}

div#page_vertical_block_parent>div:first-child {
    padding-left: 0;
}

div#page_vertical_block_parent:last-child {
    border-bottom: 0 solid #E3E3E3;
    padding-bottom: 0;
}

div#page_vertical_block_parent > div {
    box-sizing: border-box;
    width: 33%;
    padding: 0 15px 0 15px;
}

div#page_vertical_block_parent_rev {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #E3E3E3;
    padding-bottom: 2em;
}

div#page_vertical_block_parent_rev:first-child {
    border-bottom: 0 solid #E3E3E3;
    padding-bottom: 0;
}

div#page_vertical_block_parent_rev > div {
    box-sizing: border-box;
    width: 33%;
    padding: 0 15px 0 15px;
}

.page_vertical_block_lined {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #E3E3E3;
}

.page_vertical_block_lined:last-child {
    border-right: 0 solid #E3E3E3;
}

.page_vertical_block_title {
    display: flex;
    flex-direction: row;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page_vertical_block_error {
    background-color: #f2dede;
    color: #a94442;
    display: none;
    padding: 15px;
    border: 1px solid #ebccd1;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page_vertical_block {
    display: flex;
    flex-direction: column;
}

.page_vertical_block_row {
    display: flex;
    flex-direction: row;
}

.page_content_details {
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.page_content_details_title {
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

div#main {
    flex: 1 1 auto;
    margin-left: 200px;
    padding: 0 20px;
}

div#page_content {
    padding: 40px;
    background-color: #fff;
}

.page_input_field {
    background-color: #E3E3E3;
    border: 0;
    height: 34px;
    padding: 6px 12px;
    margin-top: 5px;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.page_input_field:disabled {
    background-color: #eee;
    cursor: not-allowed;
}

/* Password UX helpers */
.password-strength {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}
.password-strength.weak { color: #b94a48; }
.password-strength.fair { color: #f0ad4e; }
.password-strength.good { color: #5bc0de; }
.password-strength.strong { color: #5cb85c; }

.password-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Input with trailing icons */
.input-icon-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.input-icon-group .page_input_field,
.input-icon-group input[type="password"],
.input-icon-group input[type="text"] {
    flex: 1 1 auto;
}
.icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icon-img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}
.icon-btn:hover .icon-img { opacity: 1; }

.icon-btn.placeholder {
    visibility: hidden;
}

.avatar_edit {
    display: flex;
    padding-right: 20px;
    flex-direction: column;
}

.spinner_container {
    display: none;
    background-color: #ffffff8f;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.spinner_image {
    margin: auto;
    -webkit-animation:spin 3s linear infinite;
    -moz-animation:spin 3s linear infinite;
    animation:spin 3s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.trophy {
    display: flex;
    flex-direction: row;
    font-size: 3.5em;
}

.trophy * {
    margin-right: 25px;
}

.trophy :last-child {
    margin-right: 0;
}

.click_pointer:hover {
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    .login_form {
        flex-direction: column;
    }

    .column_form_left {
        margin-right: 0;
    }

    .column_form_middle {
        margin: auto;
    }

    .column_form_right {
        margin-left: 0;
    }
}


.page_profile {
    display: flex;
    flex-direction: column;
}

.page_profile_block {
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    margin-top: -20px;
}

.page_profile_block_lined {
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    margin-top: -20px;
    border-bottom: 1px solid #E3E3E3;
    padding-bottom: 2em;
}

.page_profile_block_item {
    margin-right: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-basis: 0;
}

.page_profile_block_item:last-child {
    margin-right: 0;
}

.page_sim_usage_block {
    flex-direction: column-reverse;
}
.page_sim_usage_block > * {
    text-align: center;
}

.page_profile_block_item_title {
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page_profile_block_item_title_inlay {
    position: absolute;
    transform: translate(-20px, -69px);
}

.page_profile_block_item_content {
    min-width: 150px;
    min-height: 150px;
    background-color: #fff;
    flex-grow: 1;
    padding: 10px;
    position: relative;
}

.page_profile_block_item_content p:first-child{
    margin-top: 0;
}

.page_profile_block_item_content p:last-child{
    margin-bottom: 0;
}

.page_profile_block_item_content .dropdown_button_outline{
    width: 100%;
    margin: 12px 0 0 0;
}

.page_profile_block_item_content_personal {
    display: flex;
    flex-direction: row;
}

.page_profile_block_item_content_personal_image {
    margin-right: 20px;
}

.result_list_test_item {
    color: #b646ff;
}

.result_list > tr:hover {
    background-color: #feec31;
    cursor: pointer;
}

.progress_bar {
    background-color: #E3E3E3;
    height: 10px;
    margin-bottom: 15px;
}
.progress_bar:last-child {
    margin-bottom: 0;
}

.progress_bar_top {
    background-color: #FFED00;
    height: 100%;
}

.center_circle_text {
    font-size: 50px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.white_text {
    color: white;
    font-size: 40px;
}

.center_circle_text_small {
    font-size: 15px;
    font-weight: normal;
}

.exercise_grid {
    display: grid;
    grid-template-columns: auto auto;
}

.exercise_grid_item {
    margin: auto;
    text-align: center;
}

.exercise_circle {
    height: 70px;
    width: 70px;
    line-height: 70px;
    text-align: center;
    background-color: #bbb;
    border-radius: 50%;
    font-weight: bold;
    font-size: 25px;
}

.trophy_platinum {
    background-color: #84cbff;
}

.trophy_gold {
    background-color: #FFED00;
}

.trophy_silver {
    background-color: #bdbdbd;
}

.trophy_bronze {
    background-color: #CB8426;
}

.pop_up {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(149,149,149,0.50);
    z-index: 2;
}

.pop_up_window {
    margin: 2% auto 2% auto;
    width: 700px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    max-height: 93%;
}

.pop_up_title {
    padding: 15px 10px 15px 10px;
    background-color: #e3e3e3;
}

.pop_up_content {
    padding: 10px;
    overflow-y: auto;
}

.pdf_status {
    display: none;
    border: 1px solid;
    padding: 5px;
    margin-bottom: 10px;
    background-color: #EEE;
}

.pdf_status_error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.pdf_status_success {
    background-color: #66d07675;
    border: solid 1px #53b33e;
}

span.date_time {
    display: contents;
}

.user_export {
    display: flex;
    flex-direction: row;
    width: 100% !important;
    padding: 0 !important;
    margin: 10px 0 10px 0;
}

/* Import UI Styles */
.import_section {
    margin: 20px 0;
}

.import_templates {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.import_templates p {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
    font-weight: 500;
}

.template_buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.template_link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.template_link:hover {
    background-color: #f0f0f0;
    border-color: #999;
    color: #000;
}

.import_upload_area {
    text-align: center;
    padding: 40px;
    border: 2px dashed #E3E3E3;
    border-radius: 8px;
    background-color: #fafafa;
}

.import_upload_area p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 16px;
}

.import_button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.import_button:hover {
    background-color: #45a049;
}

.import_progress_container {
    margin: 20px 0;
}

.import_progress_label {
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.import_progress_bar_container {
    background-color: #E3E3E3;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.import_progress_bar {
    background-color: #4CAF50;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 12px;
}

.import_progress_text {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.import_processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    margin-top: 20px;
}

.import_spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.import_processing_text {
    color: #666;
    font-size: 16px;
}

.import_summary {
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 16px;
    border-left: 4px solid #4CAF50;
}

.import_results_container {
    margin: 20px 0;
    border: 1px solid #E3E3E3;
    border-radius: 4px;
    overflow: hidden;
}

.import_results_header {
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-bottom: 1px solid #E3E3E3;
}

.import_results_header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.import_results_list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.import_result_item {
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.import_result_success {
    background-color: #e8f5e9;
    border-left-color: #4CAF50;
}

.import_result_failed {
    background-color: #ffebee;
    border-left-color: #f44336;
}

.import_user_link {
    color: #1976d2;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.import_user_link:hover {
    text-decoration: underline;
}

.import_user_link strong {
    color: #333;
    font-weight: 600;
}

.import_user_email {
    display: block;
    color: #666;
    font-size: 14px;
    margin-top: 4px;
}

.import_user_role {
    display: inline-block;
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
    font-weight: 500;
}

.import_failed_user {
    margin-bottom: 5px;
}

.import_failed_user strong {
    color: #333;
    font-weight: 600;
}

.import_failed_reason {
    color: #f44336;
    font-size: 14px;
    font-style: italic;
}
