/* BODY SECTION */

body {
    margin: 0;
    padding: 0;
}

/* SVG SECTION */

.svg_container {
    z-index: -1;
}

#svg_container {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    background: transparent;
}

#svg_container.grabbing {
    cursor: grabbing;
}

#map_svg {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #F7FFF9;
}

#svg_container
    text[font-family="Montserrat"][font-size="8"][font-weight="500"],
    text[font-family="Montserrat"][font-size="8"][font-weight="600"],
    text[font-family="Montserrat"][font-size="12"][font-weight="600"] {
        transition: all 0.3s ease;
}

#svg_container
    text[font-family="Montserrat"][font-size="8"][font-weight="500"]:hover,
    text[font-family="Montserrat"][font-size="8"][font-weight="600"]:hover,
    text[font-family="Montserrat"][font-size="12"][font-weight="600"]:hover {
        fill: red;
}

/* SIDEBAR SECTION */

.sidebar {
    left: 0;
    top: 0;
    border-right: 3px solid #2A9C4A;
    border-left: 0;
    border-bottom: 0;
    border-top: 0;
    background-color: white;
    padding: 5px;
    margin: 0;
    text-align: center;
    font-family: "Montserrat";
    width: 480px;
    height: 100%;
    position: fixed;
    z-index: 1;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar_button {
    position: fixed;
    left: 0;
    top: 0;
    margin-left: 20px;
    margin-top: 20px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    background-color: white;
    border: 3px solid #2A9C4A;
    border-radius: 10px;
    font-family: "Montserrat";
    transition: left 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.sidebar_button:hover {
    background-color: #2A9C4A;
    color: white;
}

.sidebar_button p {
    transition: transform 0.3s ease;
    display: inline-block;
}

.no_info_sidebar {
    font-weight: 600;
    font-size: 24px;
    margin-top: 20px;
}

/* SCHEDULE SECTION */

.station_detail_button {
    font-weight: 700;
    font-size: 28px;
    color: black;
    justify-content: center;
    align-items: center;
    user-select: none;
    border: 3px solid #2A9C4A;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: auto;
    height: 50px;
    border-radius: 15px;
    display: none;
}

.station_detail_button:hover {
    color: white;
    background-color: #2A9C4A;
}

.st_name {
    font-weight: 700;
    font-size: 40px;
    color: black;
    margin-left: auto;
    margin-right: auto;
}

.region {
    font-weight: 700;
    font-size: 20px;
    color: #2A9C4A;
}

.rasp_list {
    text-align: left;
    margin: 0;
    margin-left: 10px;
}

.block {
    width: auto;
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

.date {
    transition: color 0.3s ease;
    user-select: none;
    cursor: pointer;
}

.date:hover {
    color: #FF0000;
}

/* PROFILE BUTTON SECTION */

.profile_open {
    background-color: white;
    border: 3px solid #2A9C4A;
    width: auto;
    height: auto;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile_open:hover {
    background-color: #2A9C4A;
    color: white;
}

/* DATE BLOCK SECTION */

.modal_date_block {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42, 156, 74, 0.3);
}

.modal_date_content {
    background: white;
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 15px;
}

.modal_header {
    display: flex;
    justify-content: flex-end;
}

.close_button {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    float: right;
    cursor: pointer;
    font-size: 40px;
    font-weight: 700;
    color: white;
    background-color: red;
    transition: background-color 0.3s ease;
    user-select: none;
}

.close_button:hover {
    background-color: #BB0000;
}

.date_set {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.prev_month, .next_month {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: black;
    background-color: white;
    border: 3px solid black;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    user-select: none;
}

.prev_month:hover {
    background-color: #F0F0F0;
}

.next_month:hover {
    background-color: #F0F0F0;
}

.MY {
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.calendar div {
    padding: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 3px;
    user-select: none;
}

.calendar div:hover {
    font-weight: 700;
}

.calendar .day-name {
    font-weight: bold;
    background: #F0F0F0;
}

.calendar .other-month {
    opacity: 0.3;
}

.calendar .today {
    background-color: #2A9C4A;
    color: white;
    font-weight: 700;
}

.calendar .today:hover {
    background-color: #1F7938;
}

/* LIST BLOCK SECTION */

.block {
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 5px;
}

.lb_time {
    font-weight: 800;
    font-size: 28px;
    margin: 1px;
}

.lb_route {
    font-weight: 600;
    font-size: 20px;
    margin: 1px;
}

.lb_num {
    font-weight: 400;
    font-size: 20px;
    margin: 1px;
}

/* OPTIONS BLOCK */

.options {
    float: right;
    margin-right: 20px;
    margin-top: 20px;
    width: 35px;
    height: 35px;
    background-color: white;
    border: 3px solid #2A9C4A;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 20px;
    user-select: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.options:hover {
    background-color: #F0F0F0;
}

.modal_options_block {
    display: none;
    float: right;
    inset: 0;
    transform: translateY(80px);
}

.modal_options_block.active {
    display: block;
    float: right;
    inset: 0;
}

.modal_options_content {
    background-color: white;
    width: 300px;
    height: auto;
    border-radius: 15px;
    border: 3px solid #2A9C4A;
    margin-right: -40px;
    padding: 5px;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal_options_block .modal_options_content {
    opacity: 1;
}

.modal_options_content div {
    padding-left: 10px;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3 ease;
    font-family: "Montserrat";
    user-select: none;
    display: flex;
    align-items: center;
    border-radius: 15px;
}

.modal_options_content div:hover {
    background-color: #E0FFE9;
}

/* TIME BLOCK */
.time_block {
    position: fixed;
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    left: 50%;
    transform: translateX(-50%);

    border: 3px solid #2A9C4A;
    border-radius: 15px;
    font-family: "Montserrat";
    background-color: white;

    user-select: none;
}

.time_info {
    font-size: 16px;
    font-weight: 600;
}

.clock {
    margin: 5px;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
}

/* END */