@font-face {
    font-family: "Helvetica Neue";
    src: url("../fonts/HelveticaNeue-Light.otf") format("opentype");
}

:root {
    /* Main colors */
    --accent_color: #f32851;
    --primary_blue: #b3c4de;
    --primary_green: #b9f3ac;
    --light_blue: #c8d6ed;
    --very_light_blue: #d7e0ee;
    --light_pink: #e29898;
    --header_bg: #f6cfd7;
    --beige: #f3eed9;
    --grey: #798897;
    
    /* Light mode */
    --bg_light: #ffffff;
    --text_light: #2c3e50;
    --glass_bg_light: rgba(255, 255, 255, 0.95);
    --accent_light: var(--accent_color);
    
    /* Dark mode */
    --bg_dark: #3c4e60;
    --text_dark: #ecf0f1;
    --glass_bg_dark: rgba(255, 255, 255, 0.05);
    --accent_dark: var(--accent_color);

    /* Gradients */
    --gradient_light: linear-gradient(135deg, var(--text_light) 0%, var(--primary_green) 100%);
    --gradient_dark: linear-gradient(135deg, var(--bg_dark) 0%, var(--accent_color) 100%);
}


[data-theme="light"] {
    --bg: var(--bg_light);
    --text: var(--text_light);
    --accent: var(--accent_light);
    --glass_bg: var(--glass_bg_light);
}

[data-theme="dark"] {
    --bg: var(--bg_dark);
    --text: var(--text_dark);
    --accent: var(--accent_dark);
    --glass_bg: var(--glass_bg_dark);
}

* {
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', 'Noto Sans JP';
}

[lang="ja"] * {
    font-family: 'Noto Sans JP', 'Helvetica Neue', 'Noto Sans JP', sans-serif;
}

html {
}

body {
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
}

/* Onboarding - Simple app-like style */
.page {
    display: block;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--text);
}

.banner {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--primary_blue);
}


a {
  border: 1px solid #444d581c;
  border-radius: 2px;
  color: #444d58;
  padding: 2px;
  text-decoration: none;
  margin: 0px;
  font-size: 14px;
  -webkit-appearance: button;
  appearance: button;
  outline: none;
  font-weight: 400;
}

a:hover {
  background-color: #deb8b3;
  color: #ffffff;
}


.section {
    margin: 4rem 0;
}


.nav-links .menu {
    position: relative;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.nav-links a.selected {
    color: var(--primary_blue);
    background: #eeeeee;
    border-color: #cccccc;
    box-shadow: 
        0 4px 15px #cccccc,
        inset 0 0 10px #eeeeee;
}

.nav-links .menu:hover {
    color: var(--primary_blue);
    background: #eeeeee;
    border-color: #cccccc;
    box-shadow: 
        0 4px 15px #cccccc,
        inset 0 0 10px #eeeeee;
}


.dropdown-content {
    text-align: left;
    border-radius: 14px;
    display: none;
    position: absolute;
    transform: translateX(-160px);
    background-color: #f3f3f3;
    min-width: 200px;
    box-shadow: 0px 0px 20px black;
    z-index: 99999;
}

.dropdown-content a {
    color: black;
    padding: 5px;
    text-decoration: none;
    display: block;
    font-weight: 400;
    z-index: 99999;
}

.dropdown-content a:hover {
    border-radius: 14px;
    background-color: #dddddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #deb8b3;
}


.nav-links .first {
    margin-left: auto;
}

.nav-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}


.nav-controls {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.banner #recordingMainIndicator {
    position: static !important;
    margin-left: auto;
    margin-right: 15px;
}







.ts_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    table-layout: fixed;
    z-index: 10;
    color: #f3f3f3;
    border-color: #f3f3f3;
}
.ts_table:hover {
    color: black;
    border-color: #727272;
}

.ts_table td {
    padding: 5px;
    border: 1px solid #f3f3f3;
    word-wrap: nowrap;
    overflow: hidden;
}

.ts_table .ts_not_submitted {
    color: #cccccc;
    background: #faf3f3;
}
.ts_table:hover .ts_not_submitted {
    color: black;
    background: #f3e3e3;
    border-color: #727272;
}
.ts_table:hover .ts_not_submitted:hover {
    color: white;
    cursor: pointer;
    background: var(--accent);
    border-color: var(--accent);
}
.ts_table .ts_future {
    color: #cccccc;
    background: #f9f9f9;
}
.ts_table:hover .ts_future {
    color: black;
    background: #f9f9f9;
    border-color: #727272;
}
.ts_table:hover .ts_future:hover {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
    cursor: pointer;
}
.ts_table:hover .xsmall_date {
    border-color: #727272;
}
.ts_table .ts_off {
    background: #f3f3f3;
}
.ts_table:hover .ts_off {
    background: #f3f3f3;
    border-color: #727272;
}
.ts_table:hover .ts_off:hover {
    color: white;
    background: #f3f3f3;
    background: var(--accent);
    border-color: var(--accent);
}
.ts_table .ts_ok {
    color: #cccccc;
    background: #e3f3e3;
}
.ts_table:hover .ts_ok {
    color: black;
    background: #e3f3e3;
    border-color: #727272;
}
.ts_table:hover .ts_ok:hover {
    color: white;
    cursor: pointer;
    background: var(--accent);
    border-color: var(--accent);
}
.ts_table .ts_selected {
    color: black;
    background: var(--beige);
    border-color: var(--grey);
}
.ts_table .ts_selected:hover {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
}
.ts_table:hover .ts_selected {
    color: black;
    background: var(--beige);
    border-color: var(--grey);
}

.ts_table td.now {
    color: black;
    background: var(--beige);
    border-color: var(--grey);
}

.ts_table td:hover {
    color: white;
    cursor: pointer;
    background: var(--accent);
    border-color: var(--accent);
}



@media (max-width: 1000) {
    .ts_table .ts_not_submitted  {
        padding: 0px;
        font-size: 10px;
    }

    .ts_not_submitted  {
        padding: 0px;
        font-size: 10px;
    }
}

.ts_table td.xsmall_date {
    padding: 4px;
    font-size: 6px;
}
.ts_table td.xxsmall_date {
    padding: 0;
    font-size: 4px;
}


.two_col_flex_div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.current_period {
    background-color: var(--light_blue);
    color: black;
    border: 1px solid var(--primary_blue);
}

.dense_list_item {
    font-size: 8px;
    font-weight: 200;
    color: 444D58;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.small_img {
    height: 8px;
    width: 8px;
    margin: 0px;
}

.medium_img {
    height: 12px;
    width: 12px;
    margin: 0px;
}

.img_no_click_no_hover {
    height: 16px;
    width: 16px;
    margin: 0px;
}
.img_smaller_no_click {
    height: 12px;
    width: 12px;
    margin: 0px;
}
.img_for_button {
    height: 12px;
    width: 12px;
    margin: 0px;
    margin-right: 5px;
}
.img_click_with_hover {
    height: 16px;
    width: 16px;
    margin: 0px;
}

.img_click_with_hover:hover {
    transform: scale(1.5);
    cursor: pointer;
}

.large_img_click_with_hover {
    height: 24px;
    width: 24px;
    margin: 0px;
}

.large_img_click_with_hover:hover {
    transform: scale(1.5);
    cursor: pointer;
}

.large_img_no_click_no_hover {
    height: 24px;
    width: 24px;
    margin: 0px;
}



.filters_row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
    justify-content: space-between;
}

.filters_row .filter {
    flex: 1;
    padding: 5px;
    text-align: center;
}
.filters_row .active_filter {
    flex: 1;
    padding: 5px;
    text-align: center;
}
.filter {
    border: 1px dashed #444d58;
    border-radius: 5px;
    background-color: #f3f3f3;
    font-size: 12px;
    color: #727272;
}
.filter:hover {
    background-color: #deb8b3;
    color: #ffffff;
}
.active_filter {
    border: 1px solid #444d58;
    border-radius: 5px;
    background-color: var(--beige);
    color: black;
}




.main {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

h1 {
    color: var(--text);
}
h2 {
    color: var(--text);
}
h3 {
    color: var(--text);
}


.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-width: 300px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateX(100%);
    opacity: 0;
    border-left: 4px solid #2196F3;
}
.notification.visible {
    transform: translateX(0);
    opacity: 1;
}
.notification.error {
    border-left-color: #F44336;
}
.notification.success {
    border-left-color: #4CAF50;
}
.notification_title {
    font-weight: bold;
    margin-bottom: 4px;
}
.notification_message {
    font-size: 14px;
    margin-bottom: 8px;
}
.notification_close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #999;
}
.notification_close:hover {
    color: #333;
}


.selection_container h2 {
    font-size: 24px;
    margin: 0 0 40px 0;
    text-align: center;
    color: var(--text);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--glass_bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--primary_blue);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.option:hover {
    background: white;
    transform: translateX(4px);
}

.option_icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary_blue);
    border-radius: 8px;
    flex-shrink: 0;
}

.option_icon i {
    font-size: 24px;
    color: var(--text);
}

.option:hover .option_icon {
    background: var(--accent);
}

.option_content {
    flex: 1;
}

.option_content h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.option_content p {
    margin: 0;
    font-size: 14px;
    color: var(--text);
    opacity: 0.7;
}

.arrow_right {
  width: 0; 
  height: 0; 
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
}

.option > .arrow_right {
    border-left: 24px solid var(--primary_blue);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.option:hover > .arrow_right {
    border-left: 24px solid var(--accent);
    opacity: 1;
}

/* Journey page */
.page {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.header_bar {
    padding: 20px;
    border-bottom: 1px solid var(--primary_blue);
    display: flex;
    align-items: center;
    gap: 20px;
}


.language_selector {
    float: right;
}

.header_logo {
    top: 32px;
    left: 32px;
    height: 64px;
}
@media (max-width: 800px) {
    .header_logo {
        display: none;
    }
}


h1 {
}

.container {
    flex: 1;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    width: 100%;
}

.step_card,
dialog {
    background: var(--glass_bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--primary_blue);
    border-radius: 0.5rem;
    padding: 15px;
    box-shadow: 0 0px 8px 2px rgba(0, 0, 0, 0.15) ;
}

.header {
    margin-bottom: 32px;
}

.header h2 {
    font-size: 24px;
    margin: 0 0 8px 0;
    color: var(--text);
    font-weight: 600;
}

.header p {
    margin: 0;
    font-size: 15px;
    color: var(--text);
    opacity: 0.7;
}


.dialog_body {
    margin-top: 12px;
}

.form_row {
    margin: 20px 0px;
}

.dialog_body label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    margin: 5px;
    border: 1px solid var(--primary_blue);
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.dialog_body small {
    display: block;
    margin: 5px;
    font-size: 12px;
    color: var(--text);
    opacity: 0.6;
}

.center_align_text {
    text-align: center;
}

.right_align_text {
    text-align: right;
    border-right: 1px solid var(--primary_blue);
}

.side_borders {
    border-left: 1px solid var(--primary_blue);
    border-right: 1px solid var(--primary_blue);
}

.difference {
    color: var(--accent);
}

.info_message {
    background: rgba(179, 196, 222, 0.15);
    border-left: 3px solid var(--primary_blue);
    padding: 12px 16px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 14px;
}

.success_message {
    background: rgba(217, 223, 179, 0.15);
    border-left: 3px solid var(--primary_green);
    padding: 12px 16px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.item {
    border: 1px solid var(--primary_blue);
    border-radius: 4px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.item:hover {
    transform: translateY(4px);
}

.item.selected {
    background: var(--beige);
    border-color: var(--grey);
}

.item.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.item img {
    height: 28px;
    margin-bottom: 8px;
}

.item h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.item p {
    margin: 0;
    font-size: 12px;
    color: var(--text);
    opacity: 0.7;
}

.download_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.download_item {
    border: 1px solid var(--primary_blue);
    border-radius: 4px;
    padding: 24px;
    text-align: center;
}

.download_item i {
    font-size: 40px;
    color: var(--primary_blue);
    margin-bottom: 12px;
}

.download_item h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.download_item p {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: var(--text);
    opacity: 0.7;
}

.download_item button {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    background: var(--light_blue);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.download_item button:hover {
    opacity: 0.85;
}

/* Progress footer */
.footer {
    margin: 20px;
    background: var(--glass_bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.page_footer {
    border-top: 1px solid var(--primary_blue);
    padding: 20px;
    background: var(--glass_bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.progress_section {
    max-width: 900px;
    margin: 0 auto;
}

.progress_bar_container {
    width: 100%;
    height: 6px;
    background: rgba(179, 196, 222, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress_bar_fill {
    height: 100%;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.progress_text {
    text-align: center;
    font-size: 13px;
    color: var(--text);
    opacity: 0.7;
}

.navigation_section {
    max-width: 900px;
    margin: 16px auto 0px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.legal_page {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 20px;
}

.legal_page .header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary_blue);
}

.legal_page .header h2 {
    font-size: 28px;
}

.legal_page .header p {
    margin-top: 8px;
    font-style: italic;
    opacity: 0.7;
}

.legal_page .section {
    margin: 28px 0;
}

.legal_page .section h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 12px 0;
}

.legal_page .section p {
    margin: 0 0 12px;
    color: var(--text);
    line-height: 1.6;
}

.legal_page .section ul {
    margin: 10px 0;
    padding-left: 24px;
}

.legal_page .section li {
    margin: 6px 0;
    color: var(--text);
    line-height: 1.5;
}

.legal_page .contact_box {
    margin-top: 32px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--primary_blue);
    background: var(--very_light_blue);
    color: var(--text);
}

.legal_page .contact_box p,
.legal_page .contact_box ul {
    margin: 0 0 12px;
}

.legal_page .contact_box ul:last-child {
    margin-bottom: 0;
}

.legal_banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--primary_blue);
    background: var(--bg);
}

.legal_banner a {
    margin: 0;
}

button {
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    background: var(--light_blue);
    color: var(--text-primary, #2c3e50);
    -webkit-appearance: button;
    appearance: button;
    cursor: pointer;
}

button:hover {
    background-color: #F32851;
    color: #ffffff;
}

button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}



button img {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}
.small_img {
    height: 8px;
    width: 8px;
    margin: 0px;
}



.secondary_btn {
    background: var(--very_light_blue);
    color: var(--text);
    border: 1px solid var(--light_blue);
}

.secondary_btn:hover {
    background: var(--accent);
    color: white;
}

.secondary_btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.primary_btn {
    background: var(--light_blue);
    color: var(--text);
}

.primary_btn:hover {
    background: var(--accent);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .onboarding_main {
        margin: 30px auto;
    }
    
    .container {
        margin: 20px auto;
    }
    
    .step_card {
        padding: 24px 20px;
    }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .download_grid {
        grid-template-columns: 1fr;
    }
}



.h_select_div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0px;
    padding: 1px;
    box-sizing: border-box;
}

.h_select_option {
    padding: 4px 8px;
    margin: 0px;
    font-size: 12px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid var(--primary_blue);
    background-color: white;
    border-radius: 0px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.h_select_option:first-child {
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
}

.h_select_option:last-child {
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}
.h_select_option:hover {
    background-color: var(--accent);
    color: white;
}
.h_select_option.active_filter {
    background-color: var(--beige);
    border: 1px solid var(--grey);
}
.h_select_option.active_filter:hover {
    color: white;
    background-color: var(--accent);
}
.h_select_option.active_filter_red {
    background: var(--light_pink);
}
.h_select_option.vert_items {
    flex-direction: column;
}


.ts_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    z-index: 10;
    color: #f3f3f3;
    border-color: #f3f3f3;
}
.ts_table:hover {
    color: black;
    border-color: #727272;
}

.ts_table td {
    padding: 5px;
    border: 1px solid #f3f3f3;
    word-wrap: nowrap;
    overflow: hidden;
}

.ts_table .ts_not_submitted {
    color: #cccccc;
    background: #faf3f3;
}
.ts_table:hover .ts_not_submitted {
    color: black;
    background: #f3e3e3;
    border-color: #727272;
}
.ts_table:hover .ts_not_submitted:hover {
    background: var(--accent);
    cursor: pointer;
    border-color: var(--accent);
}
.ts_table .ts_future {
    color: #cccccc;
    background: #f9f9f9;
}
.ts_table:hover .ts_future {
    color: black;
    background: #f9f9f9;
}
.ts_table:hover .ts_future:hover {
    background: var(--accent);
    border-color: var(--accent);
}
.ts_table:hover .xsmall_date {
    border-color: #727272;
}
.ts_table .ts_off {
    background: #f9f9f9;
}
.ts_table:hover .ts_off {
    background: #f3f3f3;
}
.ts_table:hover .ts_off:hover {
    background: #f3f3f3;
    background: var(--accent);
    border-color: var(--accent);
}
.ts_table .ts_ok {
    color: #cccccc;
    background: #e3f3e3;
}
.ts_table:hover .ts_ok {
    color: black;
    background: #e3f3e3;
    border-color: #727272;
}
.ts_table:hover .ts_ok:hover {
    background: var(--accent);
    cursor: pointer;
    border-color: var(--accent);
}
.ts_table .ts_selected {
    color: black;
    background: var(--light_pink);
}
.ts_table:hover .ts_selected {
    color: black;
    background: var(--light_pink);
    border-color: var(--light_pink);
}

.ts_table td.now {
    color: black;
    background: var(--light_pink);
}

.ts_table td:hover {
    background: var(--accent);
    cursor: pointer;
    border-color: var(--accent);
}

@media (max-width: 1000) {
    .ts_table .ts_not_submitted  {
        padding: 0px;
        font-size: 10px;
    }

    .ts_not_submitted  {
        padding: 0px;
        font-size: 10px;
    }
}

.xsmall_date {
    font-size: 6px;
}

.ts_table td.xsmall_date {
    padding: 4px;
    font-size: 6px;
}
.ts_table td.xxsmall_date {
    padding: 0;
    font-size: 4px;
}

















.table_container {
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
}




.main_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    table-layout: fixed;
    border: 1px solid black;
    border-radius: 5px;
}

.main_table th,
.main_table td {
    padding: 4px;
    border-bottom: 1px solid #cccccc;
    vertical-align: top;
}

.tasks-page .main_table th:nth-child(1),
.tasks-page .main_table td:nth-child(1) {
    width: 30%;
    text-align: left;
}

.tasks-page .main_table th:nth-child(2),
.tasks-page .main_table td:nth-child(2) {
    width: 12%;
    text-align: center;
}

.tasks-page .main_table th:nth-child(3),
.tasks-page .main_table td:nth-child(3) {
    width: 15%;
    text-align: center;
}

.main_table th.hidden-column,
.main_table td.hidden-column {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    border: none !important;
    visibility: collapse !important;
}

.tasks-page .main_table th:nth-child(4),
.tasks-page .main_table td:nth-child(4) {
    width: 10%;
    text-align: center;
}

.tasks-page .main_table th:nth-child(5),
.tasks-page .main_table td:nth-child(5) {
    width: 10%;
    text-align: center;
}

.tasks-page .main_table th:nth-child(6),
.tasks-page .main_table td:nth-child(6) {
    width: 10%;
    text-align: center;
}

.tasks-page .main_table th:nth-child(7),
.tasks-page .main_table td:nth-child(7) {
    width: 13%;
    text-align: center;
}

.main_table tr.narrow th,
.main_table tr.narrow td {
    padding: 0;
    border-bottom: 1px solid #cccccc;
}
.main_table tr.category td.AP_name {
    color: #000000;
    background-color: unset;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main_table th {
    font-weight: 600;
    background: #f6cfd7;
    font-size: 14px;
    white-space: nowrap;
}

.main_table th i {
    margin-right: 5px;
    color: #666;
    font-size: 12px;
}

.main_table th:first-child {
    border-top-left-radius: 5px;
}

.main_table th:last-child {
    border-top-right-radius: 5px;
}

.main_table tr.category th {
    border-radius: 0px;
    padding: 0px;
}
.main_table tr.category td {
    background: var(--grey_background);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
}


.main_table td {
    font-size: 12px;
    transition: all 0.3s ease;
}

.main_table tr:hover td {
    /* background: rgba(179, 196, 222, 0.05); */
}

.main_table tbody tr.selected_row {
    background-color: #dadeb3;
}

.main_table td.hour_cell {
    position: relative;
    padding: 15px 0 15px 0px;
}

.hour_label {
    position: absolute;
    right: 2px;
    vertical-align: top;
    top: 0px;
}
.last_hour_label {
    position: absolute;
    right: 2px;
    vertical-align: bottom;
    bottom: -12px;
}


.below_control {
    position: absolute;
    left: 0px;
    bottom: -20px;
    text-align: center;
    width: 100%;
}


.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 20px;
}

.switch_label {
    font-size: 12px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    width: 100px;
}

.slider_value {
    position: absolute;
    left: 0px;
    top: -25px;
    text-align: center;
    width: 100%;
}

.labels_below {
    position: relative;
    margin-left: 40px;
}

.slider2 {
    position: absolute;
    cursor: pointer;
    left: 0;
    right: 0;
    bottom: -2px;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    width: 48px;
    height: 20px;
}

.slider2:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider2 {
}

input:focus + .slider2 {
}

input:checked + .slider2:before {
    -webkit-transform: translateX(28px);
    -ms-transform: translateX(28px);
    transform: translateX(28px);
}

.slider2.round {
    border-radius: 12px;
}

.slider2.round:before {
    border-radius: 50%;
}








.loader {
    display: inline-block;
    position: relative;
    width: 32px;
    height: 32px;
    transform: translateX(280px);
    transform: translateY(0px);
}

.loader div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 32px;
    height: 32px;
    left: 100px;
    margin: 8px;
    border: 8px solid #deb8b3;
    border-radius: 50%;
    animation: loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #deb8b3 transparent transparent transparent;
}

.loader div:nth-child(1) {
    animation-delay: -0.45s;
}

.loader div:nth-child(2) {
    animation-delay: -0.3s;
}

.loader div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}






.small_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    border: 1px solid black;
    border-radius: 5px;
    table-layout: fixed;
}

.small_table th,
.small_table td {
    padding: 4px;
    border-bottom: 1px solid #cccccc;
    vertical-align: top;
}

.small_table tr.narrow th,
.small_table tr.narrow td {
    padding: 0;
    border-bottom: 1px solid #cccccc;
}
.small_table tr.category td.AP_name {
    color: #000000;
    background-color: unset;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.small_table th {
    font-weight: 600;
    background: #f6cfd7;
    font-size: 14px;
    white-space: nowrap;
}

.small_table th i {
    margin-right: 0.5rem;
    color: var(--primary_blue, #4a90e2);
    font-size: 12px;
}

.small_table th:first-child {
    border-top-left-radius: 5px;
}

.small_table th:last-child {
    border-top-right-radius: 5px;
}

.small_table tr.category th {
    border-radius: 0px;
    padding: 0px;
    color: var(--accent);
}
.small_table tr.category td {
    background: rgba(217, 223, 179, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--accent);
}


.small_table td {
    font-size: 12px;
}

.small_table tr:hover td {
    /* background: rgba(179, 196, 222, 0.05); */
}

.small_table tbody tr.selected_row {
    background-color: #dadeb3;
}

.small_table td.hour_cell {
    position: relative;
}






.popup {
    position: absolute;
    overflow: hidden;
    border: 1px solid #444d58;
    border-radius: 8px;
    border-top-left-radius: 0px;
    background: #ffffff;
    padding: 5px;
    left: 0px;
    z-index: 64000;
    box-shadow: 0px 0px 5px black;
    display: none;
}
.popup_header {
    display: flex;
    flex-direction: row;
    margin: 16px;
    justify-content: space-between;
}
.popup_AP_th {
    min-width: 120px;
}
.popup_desc {
    font-size: 14px;
    border: 1px solid #444d58;
    border-radius: 5px;
    padding: 5px;
    background-color: #f3f3f3;
}
.popup_desc a {
    font-size: 14px;
    color: #444d58;
    text-decoration: none;
    border: 1px solid #ffffffff;
}
.popup_desc a.keyword {
    font-size: 14px;
    border: 1px solid #d9d9d9;
    background-color: #deb8b3;
    text-decoration: none;
}
.popup_desc a:hover {
    border: 1px solid #727272;
    background-color: #d9d9d9;
}
.popup_desc a.keyword:hover {
    border: 1px solid #727272;
    background-color: #d9d9d9;
}

.popup_desc.active {
    background-color: #e9ffc8;
}


.img_desc {
    font-size: small;
}

.img_warning {
    width: 16px;
    height: 16px;
    margin: 0px;
}

.activity {
    position: absolute;
    writing-mode: sideways-lr;
    border: 1px solid #444d58;
    border-radius: 3px;
    padding: 2px;
    box-sizing: border-box;
    font-size: xx-small;
    overflow: hidden;
    white-space: nowrap;
}
.event {
    writing-mode: horizontal-tb;
    position: absolute;
    border: 1px solid #444d58;
    border-radius: 3px;
    z-index: 60000;
    padding: 2px;
    box-sizing: border-box;
    font-size: xx-small;
    overflow: hidden;
}
.doc {
    writing-mode: sideways-lr;
    position: absolute;
    border: 1px solid #444d58;
    border-radius: 3px;
    z-index: 60000;
    padding: 2px;
    box-sizing: border-box;
    font-size: xx-small;
    overflow: hidden;
    white-space: nowrap;
}

.drag_img {
    margin: 0;
    padding: 0;
    border: none;
    position: absolute;
}
.drop_shape {
    position: absolute;
    border: 1px dashed #444d58;
    background-color: #ffffff10;
}
.extend_manual_img {
    margin: 0;
    padding: 2px;
    height: 16px;
    border-radius: 3px;
    position: absolute;
    bottom: 0;
}
.extend_manual_span {
    margin: 0;
    padding: 0;
    text-align: center;
}
.current_time_indicator {
    position: absolute;
    height: 2px;
    background: #F32851;
    z-index: 63999;
    pointer-events: none;
    box-shadow: 0 0 4px rgba(255, 0, 0, 0.5);
}
