@import url('../popup.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Elza", sans-serif !important;
  background-color: #1e2a30;
  color: #fff;
}

.font-900 {
  font-weight: 900 !important;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between{
  justify-content: space-between;
}

.items-center{
  align-items: center;
}

.flex-wrap{
  flex-wrap: wrap;
}

.text-left{
    text-align: left;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  background-color: #2a3c46;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 0;
  padding-right: 0;
}

.sidebar .logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  margin-left: 25px;
  margin-top: 20px;
}

.sidebar .menu-section h4 {
  font-size: 13px;
  text-transform: capitalize;
  margin-bottom: 10px;
  color: #6a747e;
  margin-left: 25px;
  position: relative;
  font-weight: 600;
}
.sidebar .menu-item {
  margin: 0px;
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #a9aeb7;
  cursor: pointer;
  padding: 16px;
  padding-left: 20px;
  border-left: 5px solid transparent;
  text-transform: uppercase;
  font-weight: 500;
}
.sidebar .menu-item:hover {
  border-left: 5px solid #ed1c25;
}
.sidebar .menu-item i {
  margin-right: 10px;
}
.map-container {
  margin-left: 240px;
  height: 100vh;
  width: calc(100% - 240px);
  position: relative;
  transition: margin-left 0.3s ease;
}
.sidebar.collapsed + .map-container {
  margin-left: 65px !important;
  width: calc(100% - 65px) !important;
  transition: margin-left 0.3s ease;
}
#map {
  height: 100%;
  width: 100%;
}
.map-options {
  position: fixed;
  top: 57px;
  right: -340px;
  width: 302px;
  background-color: rgba(38, 50, 56, 0.9);
  padding: 20px 16px 20px 20px;
  overflow-y: auto;
  height: 100%;
  transition: right 0.3s ease;
}
.map-options h3 {
  margin-top: 15px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 10px;
}

#greyOut {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(200, 200, 200, 0.5);
  padding: 0;
  z-index: 999;
  /* display: none !important; */
}

#closeAdminBox {
  position: fixed;
  z-index: 10;
  left: 146.66666px;
  aspect-ratio: 24 / 9;
  height: 55px;
  border-left: solid;
  border-bottom: solid;
  border-right: solid;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-width: 2px;
  border-color: white;
  /*    background-color: #2a3b46;*/
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

#closeAdminBox:hover {
  cursor: pointer;
  background-color: rgba(42, 59, 70, 0.5);
}

#closeAdminBox > p {
  border: none;
  border-color: red;
  border-width: 2px;
  color: inherit;
  font-size: 22px;
  width: 100px;
  height: 30px;
  margin-top: 14px;
  margin-left: 40px;
  position: absolute;
}

#adminSideMenu {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 67px;
  width: 283px;
  height: calc(100vh - 120px);
  border: 2px solid black;
  border-left-width: 0px;
  border-radius: 0 10px 10px 0;
  background-color: white;
  padding: 0 10px 10px 9px;
}

.activeMenuButton {
  background-color: #223139;
}

.sideMenu {
  list-style-type: none;
  flex-grow: 1;
  padding-left: 0;
}

.buttonBox {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#adminMainMenu {
  position: absolute;
  width: calc(100vw - 363px);
  top: 67px;
  height: calc(100vh - 120px);
  margin-left: 320px;
  border: 2px solid black;
  border-radius: 10px;
  padding: 0 10px 10px 9px;
  background-color: white;
  text-align: center;
  overflow: auto;
  z-index: 999;
}

#userMenu {
  display: flex;
}

#companyMenu,
#userMenu,
#systemMenu,
#incidentGuidanceMenu {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

#companyMenu,
#systemMenu,
#questionnaireMenu,
#incidentGuidanceMenu {
  display: none;
}

.adminTable {
  width: 100%;
  border-collapse: collapse;
}

th.admin_table_heading {
  height: 35px;
}

th.admin_table_heading > p {
  font-weight: normal;
}

.adminTable > thead > tr {
  border-bottom: 1px solid black;
}

.adminTable > thead > tr > th:last-child,
#usersTable > thead > tr > th:nth-last-child(2) {
  width: 66px;
}

.adminTable > tbody > tr > td > .application_edit_button,
.adminTable > tbody > tr > td > .application_delete_button {
  /* 3rd oct TO CHANGE (CHANGED 4th Dec) */
  margin: 4px 9px;
  height: 28px;
}

/* Prevent thead growing and pushing down tbody on Firefox */
table.adminTable > tbody {
  height: 100%;
}

table.adminTable > tbody > tr {
  vertical-align: top;
  height: 40px;
  overflow: hidden;
}

table.adminTable > tbody > tr > td > p {
  margin: 9px 0;
}

#company_table_output:empty {
  display: none;
}

.hidden_cell {
  display: none;
}

.admin_table_heading {
  margin-top: 10px;
  /* float: left; */
}

.application_table_line:nth-child(even) {
  background-color: rgb(136 154 162 / 40%);
  margin-top: 10px;
  margin-bottom: 10px;
}

#user_permissions_table {
  width: 100%;
  padding-bottom: 10px;
  /* border-bottom: 1px solid black; */
}

/* #userDropdownButton {
    display: block;
    width: 40px;
    height: 40px;
    background-color: white;
    background-image: url("/frontend/assets/user_icon.png");
    background-size: 40px;
    background-repeat: no-repeat;
    border: 1px solid black;
    border-radius: 20px;
    position: absolute;
    top: 6px;
    right: 228px;
    z-index: 3;
    text-align: center;
    cursor: pointer;
} */

#userDropdownButton > p {
  margin-top: 11px;
}

#userDropdown {
  background-color: #ffffff;
  border: none;
  border-radius: 0px;
  position: absolute;
  align-items: center;
  justify-content: flex-start;
  top: 57px;
  right: 0px;
  z-index: 3;
  text-align: center;
}

#userDropdown > ul {
  list-style-type: none;
  margin: 3px 0;
  padding: 13px 0px 13px 0px;
  width: 100%;
}
#userDropdown > ul > li {
  padding-left: 24px;
  padding-right: 24px;
}
#userDropdown > ul > li:not(:last-child) {
  padding-bottom: 12px;
  border-bottom: 1.5px solid #a9aeb6;
  margin-bottom: 12px;
  padding-left: 24px;
  padding-right: 36px;
  text-align: left;
}

/* Style other elements like buttons, such as <a> */
.button {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  display: block;
  border-radius: 0px;
  background-color: #ffffff;
  border: none;
  color: #4a5862;
  padding: 0px;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.button:hover {
  background-color: E5E5E5;
}

#userDropdown > ul > li > form {
  margin: 0;
  padding: 0;
}

#userDropdown > ul > li > a,
#userDropdown > ul > li > form > button {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  display: block;
  border-radius: 0px;
  background-color: #ffffff;
  border: none;
  color: #4a5862;
  padding: 0px;
  font-size: 14px;
  text-decoration: none;
  text-align: left;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
}

#userHeader {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 24px 8px 12px 8px;
}

#userHeader > * {
  display: flex;
}

/* .adminForm { */
#newUserForm,
#editUserForm {
  /* display: none; */
  /* width: 450px; */
  border: 1px solid black;
  border-radius: 10px;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: flex-start; */
  margin: 0 8px;
}

#newUserForm,
#editUserForm {
  display: none;
}

.adminForm > hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #000;
  margin: 1em 0;
  padding: 0;
}

/* Special case */
#editUserDiv {
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

#editUserForm,
#changeUserPasswordForm {
  display: block;
}

.adminFormTable {
  display: table;
  table-layout: auto;
  /* width: 100%; */
  margin: 0 8px;
  /* margin: 6px; */
  /* border-collapse: collapse; */
  /* border-bottom: 1px solid black; */
  padding-bottom: 10px;
}

.formEntry {
  display: table-row;
  /* width: 100%; */
  /* border-bottom: 1px solid black; */
  /* height: 20px; */
  /* margin: 0; */
  /* padding: 0; */
}

.formEntry > *:nth-child(3) {
  padding-left: 8px;
}

.formEntry > label {
  text-align: left;
}

.hiddenInput {
  display: none;
}

.formEntry > * {
  display: table-cell;
  vertical-align: middle;
}

.formEntry > input:nth-child(2),
.formEntry > select:nth-child(2) {
  width: 180px;
  margin: 5px 0;
}

#confirmNewCompany,
#confirmNewUser {
  margin-bottom: 5px;
}

#questionnaireMenu {
  flex-direction: column;
  align-items: center;
}

.questionnaire_menu_section {
  margin: 0 2em;
}

.questionnaire_menu_table {
  /* text-align: left; */
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #f0ecec;
}

.questionnaire_menu_table thead tr th {
  padding: 0 0.5em;
}

.questionnaire_menu_table thead tr th:nth-child(2),
.questionnaire_menu_table tbody tr td:nth-child(2) {
  text-align: left;
  width: 100%;
}

.questionnaire_menu_table tbody tr td {
  padding: 0.5em;
}

.questionnaire_menu_table thead tr,
.questionnaire_menu_table tbody tr:nth-child(even) {
  background-color: #f0ecec;
}

.box_na {
  white-space: nowrap;
}

.toggle_na,
.score_na {
  display: inline-block;
}

div.incident_guidance_item {
  display: flex;
  flex-direction: row;
  width: 100%;
  /* min-height: 16em; */
  padding-bottom: 1em;
}
div.incident_guidance_item:not(:last-child) {
  border-bottom: 1px solid black;
}

div.incident_guidance_item_info {
  min-width: 16em;
  margin-right: 1em;
}

div.incident_guidance_item_info > h2,
div.incident_guidance_description_area > h2 {
  font-size: 16px;
}

button.incident_guidance_edit {
  width: calc(100% - 35px);
  height: 30px;
  margin-left: 15px;
  margin-top: 12px;
  font-size: 14px;
  cursor: pointer;
}

div.incident_guidance_description_area {
  flex-grow: 1;
  min-width: 0;
  /* max-width: 64em; */
}

.incident_guidance_uneditable_box {
  width: 100%;
  flex: 1 0 auto;
  min-height: 10em;
  max-height: 16em;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;

  overflow: scroll;
  cursor: not-allowed;
}
.sidebar .menu-item img {
  margin-right: 10px;
  margin-top: -2px;
}

.accordion-item {
  margin-bottom: 1rem;
}

.accordion-toggle {
  background: none;
  border: none;
  color: #a9aeb7;
  font-size: 1rem;
  width: 100%;
  text-align: left;
  padding: 0.8rem 0;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #a9aeb7;
}

.accordion-toggle .icon {
  margin-right: 12px;
}

.accordion-content {
  display: none;
  padding-left: 0px;
  margin-top: 0.5rem;
}

.accordion-content label {
  display: block;
  margin-bottom: 16px;
  font-weight: 400;
  color: #e9ebec;
  margin-top: 16px;
  font-size: 15px;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.1);
}
#logoBox ul {
  list-style: none;
  line-height: 1em;
  padding: 0;
  margin: 0;
  height: 100%;
}
#logoBox ul li {
  float: left;
  border-right: 1px solid #1e2931;
  display: block;
  height: 100%;
  width: 66px;
}
#logoBox ul li:hover {
  border-bottom: 3px solid #ed1c25;
}
#logoBox ul li img {
  margin: auto;
  margin-top: 18px;
  display: block;
}
.sidebar .menu-item::after {
  content: "";
  width: 5px;
  height: 7px;
  background: url(./images/subtraction.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  right: 30px;
}
.accordion-toggle::after {
  content: "";
  width: 5px;
  height: 7px;
  background: url(./images/subtraction.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  right: 26px;
  transform: rotate(90deg);
}
.icons_topbar_dark {
  transform: rotate(250deg);
  margin-left: 3px;
  margin-top: 4px;
}
.icons_topbar_dark_play {
  transform: rotate(30deg);
  margin-left: 3px;
  margin-top: 4px;
}
.icon-toggled {
  margin-top: 15px;
  transition: margin 0.3s ease;
}
.icon-play-toggled {
  margin-top: 22px;
  transition: margin 0.3s ease;
  transform: rotate(-30deg);
}
.map-options.visible {
  right: 0; /* slide into view */
}

.direction_panels {
  position: fixed; /* or absolute, depending on layout */
  top: 56px;
  right: -67px; /* hidden off-screen by default */
  width: 67px;
  height: 100%;
  transition: right 0.3s ease;
  z-index: 1000;
}
.direction_panels img {
  width: 67px;
}
.direction_panels.visible {
  right: 0; /* visible when toggled */
}
.suggestions li {
  border-bottom: 1.5px solid #a9aeb6;
}
.mapboxgl-ctrl-geocoder .suggestions > li > a {
  cursor: default;
  display: block;
  padding: 12px 22px 14px 22px;
  color: #404040;
}
#userDropdown > ul > li button.button {
  position: relative;
}
#userDropdown > ul > li button.button:hover {
  color: #ed1c25;
}
#userDropdown > ul > li button.button::after {
  content: "";
  width: 5px;
  height: 7px;
  background: url(./images/subtraction.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  right: -15px;
  top: 3px;
}
.logOut::after {
  content: "";
  width: 5px;
  height: 7px;
  background: url(./images/subtraction.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  right: -15px;
  top: 5px;
}
.logOut:hover {
  color: #ed1c25 !important;
}
.vasl_heading {
  font-size: 38px;
  font-weight: 500;
  padding-left: 0px;
}

.vasl_heading img {
  width: 30px;
  margin-right: 5px;
}
.vls_no {
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
}
.vls_no span {
  font-size: 14px;
  font-weight: 400;
  color: #8cd16b;
}
.search-box {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  padding: 8px 14px;
  width: 320px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  position: absolute;
  bottom: 38px;
  right: 80px;
}

.search-box input[type="text"] {
  border: none;
  background: transparent;
  outline: none;
  flex-grow: 1;
  font-size: 14px;
  padding: 6px 8px;
  color: #333;
}

.search-button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.search-button img {
  width: 18px;
  height: 18px;
}

.application_text_title {
  cursor: pointer;
}
.application_text_title img {
  transition: transform 0.3s ease;
  margin-left: 8px;
}
.application_text_title.rotated img {
  transform: rotate(180deg);
}
.routes_right {
  height: 144px;
}

.routes_right .search-box {
  bottom: 34px;
  left: auto;
  right: 0;
}
.application_table_line .route_table_cell:first-child .application_cell_text {
  padding-left: 15px;
}
.application_table_line .polygon_table_cell:first-child .application_cell_text {
  padding-left: 15px;
}
.application_table_line
  .polygon_table_cell:nth-child(2)
  .application_cell_text {
  padding-left: 15px;
}
.application_table_line .port_table_cell:first-child .application_cell_text {
  padding-left: 15px;
}
.application_table_line .port_table_cell:nth-child(2) .application_cell_text {
  padding-left: 15px;
}
.danger_right .search-box {
  bottom: -1px;
  left: auto;
  right: 80px;
}
.danger_right .add_line_button {
  margin-top: 63px;
}
.polygon_heading.com {
  width: calc(100% / 3);
}
.polygon_heading.com:last-child {
  text-align: right;
}
.polygon_table_cell.com {
  width: calc(100% / 3);
}

.layout-wrapper {
  display: flex;
  margin: auto;
  margin-top: 3rem;
  width: 95%;
  flex-direction: column;
}
.company-nav-panel {
  width: 260px;
  margin-right: 1rem;
}
.company-nav-panel button,
.company-nav-panel div {
  display: block;
  padding-top: 20px;
  border-radius: 0px;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #a9aeb7;
  font-size: 18px;
  font-weight: 400;
  border-bottom: 1px solid #eff1f1;
  padding-bottom: 20px;
  padding-left: 0px;
  padding-right: 0px;
}
.company-nav-panel .active-tab {
  background-color: #f0f0f0;
  font-weight: bold;
}
.company-nav-panel .save-button {
  background-color: #fde0e3;
  color: #ed344b;
  border-radius: 4px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding-bottom: 17px;
  width: 100%;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent !important;
}
.company-nav-panel .live-button {
  background-color: #e5f6dd;
  color: #50bc1b;
  width: 100%;
  border-radius: 4px;
  margin-top: 25px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding-bottom: 17px;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent !important;
}
.company-nav-panel .save-button:hover {
  background-color: transparent;
  border: 1px solid;
  border-bottom: 1px solid !important;
}
.company-nav-panel .live-button:hover {
  background-color: transparent;
  border: 1px solid;
  border-bottom: 1px solid !important;
}
.company-form-content {
  background: white;
  padding-top: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  flex-grow: 1;
  margin-left: 15px;
  padding-bottom: 50px;
  margin-bottom: 50px;
}
h2 {
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 20px;
  margin-top: 28px;
  width: 47.5%;
}
.form-row .form-group {
  margin-bottom: 10px;
  margin-top: 14px;
  width: 100%;
}
.form-group label {
  display: block;
  font-weight: 500;
  color: #2a3c46;
  font-size: 15px;
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  border: none;
  background-color: #e5f6dd;
  color: #50bc1b;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  padding: 17px 2.5% 17px 2.5%;
  margin: 0px;
  display: block;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}
.form-group select {
  width: 100%;
  border: none;
  background-color: #e5f6dd;
  color: #50bc1b;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  padding: 17px 2.5% 17px 2.5%;
  margin: 0px;
  display: block;
  box-sizing: border-box;
}
.form-group input::placeholder {
  color: #50bc1b;
}
.form-group textarea::placeholder {
  color: #50bc1b;
  font-family: "Elza", sans-serif !important;
}
.vassel-panel textarea::placeholder {
  font-family: "Elza", sans-serif !important;
  font-weight: 300;
}
.form-row {
  display: flex;
  gap: 5%;
}
.form-group input:focus {
  outline: none;
  border: none;
}
.form-group select:focus {
  outline: none;
  border: none;
}

.form-row .form-group {
  flex: 1;
}

.form-row .form-group.single input {
  width: 100%;
  padding: 17px 1% 17px 1%;
}


.form-row.invoice_add {
  border-top: 1px solid #eff1f1;
  margin-top: 13px;
}

/* Initially hide the company form wrapper */
#company_form_wrapper {
  display: none;
  background: #ffffff;
  height: 100%;
  overflow: auto;
  margin-bottom: 70px;
}
#vessels_form_wrapper {
  display: none;
  background: #ffffff;
  height: 100%;
  overflow: auto;
  margin-bottom: 70px;
  width: 100%;
}
.company-tab {
  padding: 8px 12px;
  cursor: pointer;
}

.company-tab.active-tab {
  background-color: #fff;
  font-weight: 500;
  color: #2a3c46;
  font-size: 18px;
  /* display: flex */
  align-items: center;
}
.company-section h2 {
  color: #2a3c46;
  font-weight: 500;
  font-size: 38px;
}
.add_image_company {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
  width: 35px;
  margin-right: 8px;
}
.company_add_menu {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px !important;
}
.company-nav-panel button,
.company-nav-panel div:last-child {
  border-bottom: none !important;
}
.company_menu_image {
  width: 31px;
  background-color: #eff1f1;
  border-radius: 50%;
  display: flex;
  height: 31px;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  float: left;
  overflow: hidden;
  margin-top: -8px;
  margin-left: 35px;
}

.company_menu_image img {
  filter: brightness(0) saturate(100%) invert(77%) sepia(7%) saturate(299%)
    hue-rotate(180deg) brightness(91%) contrast(85%);
}
.company-tab.active-tab .company_menu_image img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
}
.header_panel {
  flex-direction: row;
  border-bottom: 1px solid #2a3c46;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.header_panel h2 {
  color: #2a3c46;
  font-size: 38px;
  font-weight: 500;
  padding-bottom: 5px;
}
.column_flex {
  display: flex;
  flex-direction: row;
}
.company-section {
  padding-left: 3%;
  padding-right: 3%;
  width: 94%;
}
.company-form-content h2 {
  color: #2a3c46;
  font-size: 24px;
  font-weight: 600;
  /* border-bottom: 1px solid #EFF1F1; */
  margin-bottom: 20px;
  padding-bottom: 20px;
  /* padding-left: 30px;
    padding-right: 30px; */
}

#company_details_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}

.back-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 35px;
  left: 40px;
  width: 30px;
  transition: left 0.5s ease;
}
.back-button:hover {
  left: 36px;
}
.back-button span {
  display: none;
  color: #2a3c46;
  float: left;
  position: absolute;
  top: 3px;
  left: 16px;
  font-size: 13px;
  font-weight: 500;
}
.back-button:hover span {
  display: block;
}
.form-group textarea {
  width: 95%;
  border: none;
  background-color: #e5f6dd;
  color: #50bc1b;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  padding: 17px 2.5% 17px 2.5%;
  margin: 0px;
  display: block;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05);
}
.vessel_type_img img {
  filter: none;
}
#vessels_details_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}
.vessels-tab {
  padding: 8px 12px;
  cursor: pointer;
}

.vessels-tab.active-tab {
  background-color: #fff;
  font-weight: 500;
  color: #2a3c46;
  font-size: 18px;
  align-items: center;
}
.vessels-tab.active-tab .company_menu_image img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
}
.vessels-tab.active-tab .vessel_type_img img {
  filter: none;
}

.individual_vessel {
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
}

.first_card_con {
  width: 28%;
}
.second_card_con {
  width: 38%;
}
.third_card_con {
  width: 28%;
}

.card {
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  position: relative;
  background-color: rgb(100 131 145 / 10%);
  padding-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 25px;
}
.card h3 {
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid #1e2831;
  padding-bottom: 8px;
  padding-left: 25px;
  padding-right: 25px;
  font-weight: 500;
}

.card .field {
  margin-bottom: 8px;
  border-bottom: 1px solid #1e2831;
  padding-left: 25px;
  padding-right: 25px;
  display: flex;
  justify-content: space-between;
  padding-bottom: 13px;
  padding-top: 6px;
}

.field label {
  color: #a9aeb7;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.75px;
}

/* .field span {
      display: block;
    } */

.edit-icon {
  cursor: pointer;
  position: absolute;
  right: 21px;
  top: 13px;
}

.vessel-speed {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.speed-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(#80ff80 0% 65%, #222 0%);
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}
.big_ship {
  margin: auto;
  display: block;
  margin-bottom: 30px;
}
.field.dis_block {
  display: block;
  padding-left: 0;
  padding-right: 0;
}
.green_text {
  color: #75dadf;
  font-size: 18px;
  font-weight: 400;
}
.exp_speed {
  margin-top: 4px;
  font-size: 12px;
  color: #a9aeb7;
  text-align: left;
  margin-left: 25px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 8px;
}
.exp_speed span {
  color: #ffffff;
}
.speed_text {
  font-size: 40px;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  margin-top: -80px;
}

.other-emails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.email-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  border-radius: 6px;
  border-bottom: 1px solid #1e2831;
}
.email-entry:last-child {
  border-bottom: none;
}
.email-entry span {
  flex: 1;
  color: #e0e0e0;
}

.email-entry input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid white;
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  top: 3px;
}

.email-entry input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 3.25px;
  width: 3px;
  height: 6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tooltip-icon {
  display: inline-block;
  background: url(./images/tooltip.svg);
  width: 15px;
  height: 15px;
  cursor: help;
  background-repeat: no-repeat;
}

.button_live {
  background-color: transparent;
  color: #ffffff;
  width: 100%;
  border-radius: 4px;
  margin-top: 25px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding-bottom: 15px;
  border: 1px solid #8dd16b;
  padding-top: 16px;
  cursor: pointer;
  font-size: 17px;
  position: relative;
}

.button_live::after {
  content: "";
  width: 5px;
  height: 7px;
  background: url(./images/subtraction.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  right: 30px;
  top: 22px;
}
.button_live:hover {
  color: #8dd16b;
}
.buttons_card {
  display: flex;
  justify-content: center;
  background-color: rgb(100 131 145 / 10%);
  border-radius: 8px;
}
.buttons_card .vessel_table_cell_button {
  float: left;
  height: 100%;
  width: calc(100% / 4);
  margin: 0px;
  align-items: center;
  justify-content: center;
  display: flex;
  border-right: 1px solid #1e2831;
  padding-top: 10px;
  padding-bottom: 15px;
}
.buttons_card .vessel_table_cell_button:last-child {
  border-right: none !important;
}
.buttons_card #vessel_cell_view_1:hover {
  background: #50a92a;
}
.buttons_card #vessel_picture_view_1 {
  border: 1px solid transparent;
}
.buttons_card #vessel_cell_view_1:hover #vessel_picture_view_1 {
  border: 1px solid #ffffff;
  border-radius: 50%;
}

.buttons_card #vessel_cell_log_1:hover {
  background: #f74296;
}
.buttons_card #vessel_log_view_button {
  border: 1px solid transparent;
}
.buttons_card #vessel_cell_log_1:hover .vessel_log_view_button {
  border: 1px solid #ffffff;
  border-radius: 50%;
}

.buttons_card #vessel_cell_addroute_1:hover {
  background: #ef9709;
}
.buttons_card #vessel_addroute_view_button {
  border: 1px solid transparent;
}
.buttons_card #vessel_cell_addroute_1:hover .vessel_addroute_view_button {
  border: 1px solid #ffffff;
  border-radius: 50%;
}

.buttons_card #vessel_cell_delete_1:hover {
  background: #ed354b;
}
.buttons_card #application_delete_button {
  border: 1px solid transparent;
}
.buttons_card #vessel_cell_delete_1:hover .application_delete_button {
  border: 1px solid #ffffff;
  border-radius: 50%;
}
#individual_vessel_wrapper .header_panel h2 {
  color: #ffffff;
}
#individual_vessel_wrapper .back_btn {
  filter: invert(1);
}
#individual_vessel_wrapper .back-button span {
  color: #ffffff;
}

.vassel-panel {
  position: fixed;
  top: 0px;
  left: -584px;
  width: 292px;
  background: #1e2b33;
  color: white;
  padding: 20px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: left 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 12px;
  display: none;
  padding-top: 40px;
  height: 90%;
  overflow-y: auto;
  padding-bottom: 10%;

  /* Fix for iPhone scrolling */
  -webkit-overflow-scrolling: touch;
}

.vassel-panel.open {
  left: 0;
}

.vassel-panel input,
.vassel-panel select,
.vassel-panel textarea {
  width: 100%;
  padding: 12px;
  background: #ffffff;
  color: #2a3b46;
  border: 3px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  display: block;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.vassel-panel input::placeholder {
  color: #2a3b46;
  font-size: 13px;
  font-weight: 500;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #4a5862;
  margin-bottom: 15px;
}

.close-btn {
  background: transparent;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  filter: invert(1);
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
}

.action-buttons .view {
  background: #e5f6dd;
  color: #50bc1b;
  border: none;
  padding: 11px 35px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
}

.action-buttons .save {
  background: #fde0e3;
  color: #ed344b;
  border: none;
  padding: 8px 58px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
}
.dgn_sing {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
  width: 20px;
  margin-right: 10px;
  margin-top: -2px;
  float: left;
}
.panel-header h3 {
  font-size: 20px;
  font-weight: 600;
}
#dangerPanel label {
  font-size: 14px;
  color: #a9aeb7;
  font-weight: 600;
}

input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 100%;
  height: 30px;
  background-color: #1e2b33;
  cursor: pointer;
  border-radius: 4px;
  padding: 0px;
  margin-left: 0px;
}

/* For Chrome */
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

/* For Firefox */
input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 4px;
  background-color: #2f80ed; /* blue color for default swatch */
}
.vassel-panel input:focus,
.vassel-panel select:focus,
.vassel-panel textarea:focus {
  outline: none;
  border: 3px solid #e5f7dd;
}
.vassel-panel input,
.vassel-panel select,
.vassel-panel textarea {
  transition: border-color 0.2s ease;
}
#dangerPanel label {
  font-size: 14px;
  color: #a9aeb7;
  font-weight: 600;
  position: relative;
}
#incidentPanel label {
  font-size: 14px;
  color: #a9aeb7;
  font-weight: 600;
  position: relative;
}
.edit-button {
  background: none;
  border: none;
  color: #a9aeb7;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  text-decoration: none;
  position: absolute;
  right: 0;
  top: -1px;
}

.edit-icon-new {
  width: 14px;
  height: 14px;
}

.marker {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.vessel-popup {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 379px;
  display: none;
  z-index: 999;
  box-sizing: border-box;
}

.vessel-popup .accent-text {
  font-size: 12px;
  line-height: 100%;
  display: block;

}

.vessel-popup  .imo-data{
    display: flex;
    gap: 6px;
    margin-top: 5px;
    align-items: center;
    line-height: 100%;
}

.vessel-popup #popup-imo{
    font-size: 17px;
    font-weight: 400 ;
}

 .vessel-type {
  padding: 12px 25px;
background-color: #1D242B;
display: flex;
justify-content: space-between;
align-items: center;
}

.vessel-type #popup-type{
   color: #75D9E0;
   font-size: 17px; 
   font-weight: 400;
   line-height:100%;
   display: block;
}

.vessel-type .accent-text{
    color: white;
    display: block;
}
.vessel-header {
  padding: 22px 25px;
}

.meta-row {
  padding: 22px 25px;

}

.group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #B0B5B8;
}
.group:last-child{

}

.group-inner.text-left{
    text-align: left;
}


.group-inner{

    text-align: right;
}


.group span{
    font-size: 17px;
    font-weight: 500;
    display: block;
    line-height: auto;
    margin-top: 4px;
}

.popup-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

.popup-btn {
  width: 100%;
  padding: 11px;
  margin-top: 8px;
  background: #e5f3df;
  border: none;
  border-radius: 4px;
  color: #50bc1b;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.popup-btn.green {
  background: #e5f6dd;
}

.popup-btn.red{
  background: #F3DADA;
  color: #B13A3D;
}
.popup-content {
  color: #2a3c46;
  font-size: 15px;
  font-weight: 400 !important;
}

.popup-content p{
    color:#2a3c46 ;
}
.popup-content p strong {
  font-weight: bold;
}

.popup-content .vessel-header{
    display: flex;
    align-items: center;
    gap:12px;
}

.popup-arrow {
  position: absolute;
  width: 0;
  height: 0;
}

/* Bottom Arrow */
.popup-bottom .popup-arrow {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

/* Top Arrow */
.popup-top .popup-arrow {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
}

/* Left Arrow */
.popup-left .popup-arrow {
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #fff;
}

/* Right Arrow */
.popup-right .popup-arrow {
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
}

#popup-name {
  font-size: 17px;
}

.name p {
  font-size: 17px;
  color: #1d242b;
  font-weight: 900;
  letter-spacing: -3%;
  line-height: 1.5;
}

.name a {
  text-decoration: none;
  color: #1d242b;
  font-weight: 400;
  margin-left: 4px;
  text-transform: lowercase !important;
  display: inline-block;
}

.name a::first-letter{
    text-transform: uppercase;
}

.btn-read-only {
  display: flex;
  gap: 23px;
  margin-bottom: 6px;
}
.accent-text .popup-btn {
  border: 1px solid transparent;
}
.popup-btn:hover {
  background-color: transparent;
  border: 1px solid;
  border-bottom: 1px solid !important;
}
#route_form_wrapper {
  display: none;
  background: #ffffff;
  height: 100%;
  overflow: auto;
  margin-bottom: 70px;
  width: 100%;
}
#port_form_wrapper {
  display: none;
  background: #ffffff;
  height: 100%;
  overflow: auto;
  margin-bottom: 70px;
  width: 100%;
}
.header_panel p {
  color: #ed1c25;
  font-size: 13px;
  font-weight: 400;
  margin-top: 0px;
  margin-bottom: 5px;
}
.header_panel h1 {
  color: #2a3b46;
  font-size: 24px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 0px;
}
.right_heading {
  margin-bottom: 25px;
  text-align: right;
}
#route_details_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}
#questionnaire_type_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}
.route-tab.active-tab {
  background-color: #fff;
  font-weight: 500;
  color: #2a3c46;
  font-size: 18px;
  align-items: center;
}
.route-tab.active-tab .company_menu_image img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
}

#port_details_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}
#risk_type_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}
.port-tab.active-tab {
  background-color: #fff;
  font-weight: 500;
  color: #2a3c46;
  font-size: 18px;
  align-items: center;
}
.port-tab.active-tab .company_menu_image img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
}
.gray_colour_onhover {
  background-color: transparent !important;
}

.survey-container {
  max-width: 100%;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 6px #ccc;
  margin-left: 40px;
  margin-right: 40px;
}

h2 {
  font-size: 24px;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

h2 .icon {
  margin-right: 10px;
  font-size: 28px;
  color: #e74c3c;
}

.questionnaire-box {
  max-width: 100%;
  margin: auto;
  padding: 10px 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 11px rgba(0, 0, 0, 0.2);
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 80px;
  padding-bottom: 46px;
}

.survey-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  table-layout: fixed;
}

.survey-table th,
.survey-table td {
  border: none;
  padding: 20px 10px;
  vertical-align: top;
  font-size: 15px;
  font-weight: 500;
  color: #2a3c46;
  border-bottom: 1px solid #eff1f1;
  line-height: 1.3em;
}
.survey-table th {
  background-color: rgba(169, 174, 183, 0.5);
  font-weight: 600;
  color: #2a3c46;
  font-size: 14px;
  text-align: left;
  border: none;
}

.survey-table input[type="text"] {
  width: 100%;
  padding: 6px 8px;
  box-sizing: border-box;
  background-color: #eaffea;
  border: 1px solid #c2e0c2;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  color: #388e3c;
}

.survey-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.save-btn {
  background-color: #fde0e3;
  border: none;
  padding: 16px 100px;
  font-size: 17px;
  border-radius: 6px;
  cursor: pointer;
  color: #ed344b;
  display: block;
  margin-left: auto;
  border: 1px solid transparent;
  font-weight: 600;
}
.save-btn:hover {
  border: 1px solid #ed344b;
  background-color: transparent;
}

.questionnaire-box h3 {
  font-size: 24px;
  color: #2a3c46;
  font-weight: 600;
}

#questionnaire_section {
  overflow: auto;
  transition: max-height 0.5s ease;
  background: #ffffff;
  height: 100%;
}
.header_panel.question_con {
  margin-left: 40px;
  margin-right: 40px;
  padding-top: 30px;
  margin-bottom: 50px;
}
.question_con .add_image_company {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
  width: 25px;
  margin-right: 8px;
  margin-top: -10px;
}
#tab_7 {
  border: none;
}

#tab_7 .port_heading {
  width: calc(100% / 5);
  margin-top: 10px;
  float: left;
}

#tab_7 .port_table_cell {
  float: left;
  height: 100%;
  width: calc(100% / 5);
  margin: 0px;
  align-items: center;
}

/* Popup overlay background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup box */
.popup-box {
  background: white;
  width: 420px;
  border-radius: 10px;
  padding-top: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  font-family: "Segoe UI", sans-serif;
  padding-bottom: 30px;
}

/* Title */
.popup-title {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
  color: #2a3c46;
  border-bottom: 1px solid #eff1f1;
  padding-bottom: 20px;
}

/* IMO green text */
.imo-number {
  color: #85db85;
}

/* Form group spacing */
#logPopup .form-group {
  margin-bottom: 20px;
  width: 100%;
  padding-left: 25px;
  padding-right: 25px;
  box-sizing: border-box;
}

/* Select dropdown */
#logPopup .dropdown {
  width: 100%;
  padding: 10px;
  border: 1px solid #85db85;
  border-radius: 6px;
  background-color: #e9fbe9;
  font-size: 14px;
}

/* Textarea */
#logPopup .details-box {
  width: 100%;
  height: 100px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #85db85;
  resize: none;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #ffffff;
}

/* Button group */
#logPopup .button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
}

/* Cancel button */
#logPopup .cancel-btn {
  padding: 10px 50px;
  background: transparent;
  border: 1px solid #a9aeb7;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  color: #a9aeb7;
}
#logPopup .cancel-btn:hover {
  color: #2a3b46;
}

/* Log Action button */
#logPopup .log-btn {
  padding: 14px 40px;
  background: #fde0e3;
  color: #ed1c25;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  font-weight: 500;
  border: 1px solid transparent;
}

#logPopup .log-btn:hover {
  border: 1px solid #ed1c25;
  background: transparent;
}

/* Form group spacing */
#deletePopup .form-group {
  margin-bottom: 20px;
  width: 100%;
  padding-left: 25px;
  padding-right: 25px;
  box-sizing: border-box;
}

/* Select dropdown */
#deletePopup .dropdown {
  width: 100%;
  padding: 10px;
  border: 1px solid #85db85;
  border-radius: 6px;
  background-color: #e9fbe9;
  font-size: 14px;
}

/* Textarea */
#deletePopup .details-box {
  width: 100%;
  height: 100px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #85db85;
  resize: none;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #ffffff;
}

/* Button group */
#deletePopup .button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
}

/* Cancel button */
#deletePopup .cancel-btn {
  padding: 10px 50px;
  background: transparent;
  border: 1px solid #a9aeb7;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  color: #a9aeb7;
}
#deletePopup .cancel-btn:hover {
  color: #2a3b46;
}

/* Log Action button */
#deletePopup .log-btn {
  padding: 14px 40px;
  background: #fde0e3;
  color: #ed1c25;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  font-weight: 500;
  border: 1px solid transparent;
}

#deletePopup .log-btn:hover {
  border: 1px solid #ed1c25;
  background: transparent;
}

#incidentPanel {
  left: -810px;
  width: 405px;
  overflow-y: auto;
  padding-bottom: 200px;
  height: 90%;
}

#incidentPanel.open {
  left: 0;
}

.incident-form-row {
  display: flex;
  gap: 5%;
}
.incident-form-row .incident-form-group {
  flex: 1;
  width: 100%;
}
.incident-form-group label {
  margin-bottom: 10px;
  display: inline-block;
}

.incident-form-group input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 100%;
  height: 46px;
  background-color: #1e2b33;
  cursor: pointer;
  border-radius: 4px;
  padding: 0px;
  margin-left: 0px;
}
#incidentPanel textarea {
  min-height: 150px;
}
#incidentPanel .description-label {
  width: 100%;
}

.add-buttons {
  background: none;
  border: none;
  color: #50bc1b;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  text-decoration: none;
  position: absolute;
  right: 0;
  top: -2px;
  background: #e5f6dd;
  border-radius: 3px;
  padding: 3px 8px;
}

/* Form group spacing */
#intPopup .form-group {
  margin-bottom: 20px;
  width: 100%;
  padding-left: 25px;
  padding-right: 25px;
  box-sizing: border-box;
}

/* Select dropdown */
#intPopup .dropdown {
  width: 100%;
  padding: 10px;
  border: 1px solid #85db85;
  border-radius: 6px;
  background-color: #e9fbe9;
  font-size: 14px;
}

/* Textarea */
#intPopup .details-box {
  width: 100%;
  height: 47px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #85db85;
  resize: none;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #ffffff;
}

/* Button group */
#intPopup .button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
}

/* Cancel button */
#intPopup .cancel-btn {
  padding: 10px 50px;
  background: transparent;
  border: 1px solid #a9aeb7;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  color: #a9aeb7;
}
#intPopup .cancel-btn:hover {
  color: #2a3b46;
}

/* Log Action button */
#intPopup .log-btn {
  padding: 14px 40px;
  background: #fde0e3;
  color: #ed1c25;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  font-weight: 500;
  border: 1px solid transparent;
}

#intPopup .log-btn:hover {
  border: 1px solid #ed1c25;
  background: transparent;
}
.admin_h {
  position: relative !important;
  margin-top: 45px;
}
.admin_h::before {
  content: "";
  width: 240px;
  height: 1px;
  display: block;
  background: #1e2931;
  top: -25px;
  position: absolute;
  left: -25px;
}
.company-form-content {
  position: relative;
}
.company-form-content h2::after {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background: #eff1f1;
  top: 80px;
  position: absolute;
  left: 0px;
}

/**  Email  **/

.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 12px 0px;
  border-bottom: 2px solid #eff1f1;
}

.email-text {
  flex: 1;
  color: #2a3c46;
  font-size: 14px;
  font-weight: 500;
}

.email-alert {
  display: flex;
  align-items: center;
  color: #2a3c46;
  margin-right: 15px;
  font-size: 14px;
  font-weight: 500;
}

.email-alert .alert-icon {
  background-image: url(./images/tooltip.svg);
  width: 15px;
  height: 15px;
  margin-right: 7px;
  margin-top: -5px;
}

.email-alert input[type="checkbox"] {
  margin-left: 8px;
  margin-top: -1px;
}
.edit-btn,
.delete-btn {
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  margin-left: 6px;
  cursor: pointer;
  font-size: 14px;
  color: white;
}

.edit-btn {
  background-image: url(./images/email_edit.svg);
}
.delete-btn {
  background-image: url(./images/delete_email.svg);
}
.vessels-section {
  padding-left: 3%;
  padding-right: 3%;
}

.ship-info-container {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
  margin: 20px auto;
}

.info-column {
  display: flex;
  flex-direction: column;
  width: 48%;
}

.info-row {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.info-row label {
  color: #a9aeb7;
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 500;
}
.info-row input {
  border: none;
  border-bottom: 1px solid #a9aeb7;
  padding: 4px 0;
  font-size: 14px;
  color: #a9aeb7;
  outline: none;
  background: transparent;
}
.info-row input ::placeholder {
  color: #a9aeb7;
}

.vessel-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  background-color: #f1f2f3;
  color: #888;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  float: right;
}

.application_view_button {
  width: 31px;
  height: 31px;
  margin-top: 6px;
  margin-left: -7px;
  cursor: pointer;
  background-image: url(./images/view.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.application_view_button,
.vessel_log_view_button,
.vessel_addroute_view_button,
.application_edit_button,
.application_delete_button {
  transition:
    transform 0.3s ease,
    filter 0.3s ease; /* Smooth hover effects */
}
.application_view_button:hover,
.vessel_log_view_button:hover,
.vessel_addroute_view_button:hover,
.application_edit_button:hover,
.application_delete_button:hover {
  transform: translateY(-3px); /* Slide up on hover */
  filter: brightness(1.2); /* 20% brighter */
}

.record-container {
  max-width: 100%;
  margin: 20px auto;
  color: #2a3b46;
}

.info-row-route {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.info-box {
  flex: 1;
  padding-right: 10px;
}

.label {
  font-weight: 500;
  margin-bottom: 5px;
}

.value {
  font-size: 14px;
  line-height: 1.5em;
  font-weight: 400;
}
.value a {
  color: #2196f3;
}
.score-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.score {
  background-color: #ed344b;
  color: white;
  font-weight: bold;
  padding: 11px 62px 8px 62px;
  border-radius: 4px;
  margin-top: 6px;
  line-height: 1em;
}

.questionnaire .title {
  font-weight: 500;
  margin-bottom: 10px;
  color: #2a3c46;
  font-size: 16px;
  border-top: 1px solid #eff1f1;
  margin-top: 40px;
  padding-top: 25px;
}

.send-box {
  display: flex;
  align-items: center;
}

.email-input {
  flex: 1;
  padding: 16px;
  border: 1px solid #e5f6dd;
  background-color: #e5f6dd;
  border-radius: 4px;
  font-size: 14px;
  margin-right: 10px;
  color: #50bc1b;
}

.send-btn {
  padding: 14px 70px;
  background-color: #eff1f1;
  border: 1px solid #ddd;
  color: #a9aeb7;
  border-radius: 4px;
  cursor: pointer;
  font-size: 17px;
}
.risks_dif_con {
  border-bottom: 1px solid #eff1f1;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.sidebar.collapsed .menu-section {
  border-top: none;
}
.application_cell_text {
  font-weight: 300;
}
.mobile_table {
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

#route_table_body_id .application_view_button {
  margin-left: -4px;
}

#polygon_table_body_id .application_view_button {
  margin-left: -4px;
}
#port_table_body_id .application_view_button {
  margin-left: -4px;
}
.dzm_body #polygon_text_radius_1 {
  text-align: center;
}

.svg-container {
  width: 67px;
  height: 434px;
  font-family: "Elza", sans-serif !important;
}
.svg-container svg {
  width: 100%;
  height: 100%;
  display: block;
  font-family: "Elza", sans-serif !important;
}

#alert_console_container {
  position: fixed;
  top: 58px;
  right: 0px;
  z-index: 9999;
}

/* #alert_console_container.visible {
  display: block;
} */

.console {
  background: rgba(42, 59, 70, 0.5);
  border: 1px solid #404b52;
  opacity: 1;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  overflow: hidden;
  width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  padding-bottom: 54px;
}
.console th.custom {
  padding-left: 0px;
  padding-right: 12px;
  text-align: right;
}
.console .header {
  padding: 25px 20px;
  font-size: 16px;
  font-weight: 400;
  border-bottom: 1px solid #404b52;
  color: #ffffff;
  padding-top: 30px;
}

.console table {
  width: 100%;
  border-collapse: collapse;
}

.console th,
.console td {
  padding: 20px 20px 20px 20px;
  text-align: left;
  font-size: 14px;
}

.console th {
  color: #a9aeb6;
  background-color: rgba(169, 174, 183, 0.2);
  font-weight: normal;
}

.console td a {
  color: #76dade;
  text-decoration: underline;
  font-size: 12px;
  font-weight: 400;
}

.console tr:not(:last-child) {
  border-bottom: 1px solid #4a5862;
}

.console .circle {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.console .white {
  background-color: #e5f6dd;
}
.console .red {
  background-color: #ed1c25;
}
.console .green {
  background-color: #50bc1b;
}

.console .circle-cell {
  text-align: center;
  padding-left: 0px;
  padding-right: 0px;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4a5862;
  color: white;
  padding: 7px 8px 4px 8px;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border: 1px solid #fff;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Tooltip arrow with white border and dark background */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #4a5568 transparent transparent transparent;
  z-index: 1;
}

/* Border around the arrow */
.tooltip-text::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  z-index: 0;
}

.tooltip-wrapper:hover .tooltip-text {
  opacity: 1;
}
.email-row .edit-btn,
.email-row .delete-btn {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}
.email-row .edit-btn:hover,
.email-row .delete-btn:hover {
  transform: translateY(-2px);
  /* filter: brightness(1.2); */
}
.main_close_btn img {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}
.main_close_btn {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 47px;
  left: 43px;
  width: 30px;
  transition: left 0.5s ease;
}
.main_close_btn span {
  display: none;
  color: #ffffff;
  float: left;
  position: absolute;
  top: 3px;
  left: 22px;
  font-size: 12px;
  font-weight: 500;
}
.main_close_btn:hover {
  left: 38px;
}
.main_close_btn:hover img {
  transform: rotate(-90deg);
}
#tab_8 {
  border: none;
}

#tab_8 .port_heading {
  width: calc(100% / 7);
}
#tab_8 .port_table_cell {
  width: calc(100% / 7);
}
.user_con_link {
  color: #76dade;
  font-weight: 300;
  text-decoration: none;
}
.user_con_link_com {
  padding-left: 0px;
}
#tab_8 .port_table_cell_button {
  float: right;
  margin-right: 20px;
}

#user_form_wrapper {
  background: #ffffff;
  height: 100%;
  overflow: auto;
  margin-bottom: 70px;
  width: 100%;
}
#user_details_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}
.user-tab.active-tab {
  background-color: #fff;
  font-weight: 500;
  color: #2a3c46;
  font-size: 18px;
  align-items: center;
}
.user-tab.active-tab .company_menu_image img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
}

#user_edit_form_wrapper {
  background: #ffffff;
  height: 100%;
  overflow: auto;
  margin-bottom: 70px;
  width: 100%;
}
#user_edit_details_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}
#user_edit_password_section {
  padding-left: 3%;
  padding-right: 3%;
  width: 100%;
  box-sizing: border-box;
}
.user-edit-tab.active-tab {
  background-color: #fff;
  font-weight: 500;
  color: #2a3c46;
  font-size: 18px;
  align-items: center;
}
.user-edit-tab.active-tab .company_menu_image img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(84%) saturate(3028%)
    hue-rotate(330deg) brightness(100%) contrast(97%);
}

.permissions-table {
  width: 55%;
  border-collapse: collapse;
}

.permissions-table th,
.permissions-table td {
  text-align: left;
  padding: 12px 0px;
  font-size: 15px;
  color: #2a3c46;
  font-weight: 500;
}

.permissions-table th {
  font-weight: 600;
  color: #1d2c3c;
}

.permissions-table td label {
  margin-right: 20px;
  font-weight: normal;
}

.permissions-row {
  border-bottom: 1px solid #eee;
}

.permissions-row td:first-child {
  font-weight: bold;
  text-transform: uppercase;
  color: #1d2c3c;
}

.permissions-row input[type="checkbox"] {
  transform: scale(1.1);
  cursor: pointer;
  margin-left: 4px;
}

.switch-label {
  margin-right: 8px;
  font-size: 18px !important;
  font-weight: 600 !important;
  float: left;
  margin-top: 35px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  vertical-align: middle;
  top: 32px;
  left: 100px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #c3c8cf;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #4caf50;
}

.switch input:checked + .slider:before {
  transform: translateX(16px);
}
.rcv_alrt {
  margin-right: 8px;
  font-size: 18px !important;
  font-weight: 600 !important;
  float: left;
  margin-top: 35px;
}
.rcv_alrt_chk {
  width: fit-content !important;
  float: right !important;
  margin-left: 18px !important;
  margin-top: 1px !important;
}
#user_form_wrapper .company-nav-panel div {
  padding-top: 15px;
  padding-bottom: 15px;
}
#user_form_wrapper .add_image_company {
  width: 40px;
  margin-top: -10px;
}
#company_menu_tab .application_table_line {
  padding-right: 18px;
}
#tab_1 .application_table_line {
  padding-left: 5px;
}
#tab_3 .application_table_line {
  padding-right: 18px;
}
#tab_7 .port_table_cell_button {
  float: right;
}
.mapboxgl-ctrl-geocoder--icon-search {
  background-image: url(./images/delete-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.mapboxgl-ctrl-geocoder--icon-search path {
  display: none;
}
.mapboxgl-ctrl-geocoder--icon-close {
  display: none;
}
#back_button_log_edit span {
  color: #ffffff;
}
#back_button_log_edit img.back_btn {
  filter: brightness(0) invert(1);
}

#logoBox li.active {
  border-bottom: 3px solid #ed1c25;
}
#logoBox li:hover img {
  filter: invert(18%) sepia(95%) saturate(7495%) hue-rotate(356deg)
    brightness(99%) contrast(121%);
}
.popup-close:hover {
  color: #50bc1b;
}

#logoBox li.active img {
  filter: invert(18%) sepia(95%) saturate(7495%) hue-rotate(356deg)
    brightness(99%) contrast(121%);
  transition: filter 0.3s;
}
.accordion-toggle.active {
  color: #ffffff;
}

.accordion-toggle.active .icons_topbar_toggle {
  filter: brightness(0) invert(1);
}
.accordion-toggle:hover .icons_topbar_toggle {
  filter: brightness(0) invert(1);
}
.accordion-toggle:hover::after {
  filter: brightness(0) invert(1);
}
.accordion-toggle.active::after {
  filter: brightness(0) invert(1);
}
.button {
  cursor: pointer;
  font-family: "Elza", sans-serif !important;
  font-weight: 500;
}
.logOut {
  font-family: "Elza", sans-serif !important;
  font-weight: 500;
}
.button:hover,
.logOut:hover {
  font-weight: 500 !important;
}

.region-panel {
  background: transparent;
  padding: 0px;
  border-radius: 0px;
  width: 100%;
  color: #fff;
  margin-left: -0px;
  box-sizing: border-box;
}

.region-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
  background: #4a5862;
  width: 340px;
  margin-left: -21px;
  padding-left: 17px;
  box-sizing: border-box;
  margin-top: -1px;
}

.region-tab-group {
  display: flex;
  gap: 0px;
}

.region-tab {
  font-size: 10px;
  color: #a9aeb7;
  padding: 3px 10px 1px 10px;
  cursor: pointer;
  border-radius: 0px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-right: 1px solid #a9aeb7;
  margin-left: 0px;
  margin-right: 0px;
}

.region-tab.active {
  background-color: #4a5568;
  color: #fff;
}

.region-tab:last-child {
  border-right: none;
}
.region-toggle-container {
  text-align: right;
}

.region-toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
  right: 32px;
}

.region-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.region-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a3d46;
  border-radius: 18px;
  transition: 0.4s;
}

.region-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: #a9aeb7;
  border-radius: 50%;
  transition: 0.4s;
}

.region-toggle-switch input:checked + .region-slider {
  background-color: #3182ce;
}

.region-toggle-switch input:checked + .region-slider:before {
  transform: translateX(18px);
  background: #ffffff;
}

.region-tab-content {
  display: none;
}

.region-tab-content.active {
  display: block;
}

.region-checkbox-list {
  margin-top: 22px;
}

.region-checkbox-item {
  display: block;
  margin-bottom: 16px;
  font-weight: 300;
  color: #ccc;
  margin-top: 16px;
}

.region-checkbox-item input {
  margin-right: 10px;
  transform: scale(1.2);
}
.dmz_con {
  margin-top: 0px;
}
.add_line_button.mobile {
  display: none !important;
}

/* Trigger button */
.add_line_button.mobile {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: #0077b5;
  cursor: pointer;
  position: relative;
}

/* Dropdown container */
.dropdown-menu {
  position: absolute;
  top: 65px;
  right: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: none;
  min-width: 220px;
  z-index: 100;
}

/* Search input wrapper */
.dropdown-search {
  display: flex;
  align-items: center;
  padding: 12px 12px;
}

.dropdown-search svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  flex-shrink: 0;
  color: #2a3c46;
  margin-left: 4px;
}

.dropdown-search input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
}
.dropdown-search input::placeholder {
  color: #2a3c46;
}
/* Dropdown items */
.dropdown-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s;
  color: #2a3c46;
}

.dropdown-item:hover {
  background: #f3f3f3;
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: -7px;
}

/* Divider */
.dropdown-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 0;
}

@media only screen and (min-width: 1600px) {
  .page_top_right {
    width: 555px;
  }
}

@media (max-width: 992px) {
  .sidebar .menu-section {
    border-top: none;
  }
  .sidebar.collapsed .logo {
    margin-bottom: 25px;
  }
  #logoBox ul li {
    width: 50px;
  }
  #rightBox {
    width: 260px;
  }
  .geocoder-container {
    left: 50%;
    transform: translate(-50%, 0);
    width: 200px;
    height: 35px;
    top: 72px !important;
  }
  .mapboxgl-ctrl-geocoder {
    height: 35px;
    width: 260px;
  }
  .map-options {
    right: -260px;
    width: 224px;
    z-index: 2;
  }
  /* #alert_console_box {
    width: 258px;
} */
  .sidebar {
    width: 210px;
  }
  .sidebar .menu-item {
    font-size: 13px;
  }
  .map-container {
    margin-left: 210px;
    width: calc(100% - 210px);
  }
  .page_top_left {
    padding-top: 6px;
    width: 64%;
  }
  .danger_right .search-box {
    right: 0px;
  }
  .search-box {
    width: 170px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: 38px;
    left: 150px;
    display: none;
  }
  .danger_right .add_line_button {
    margin-top: 0px;
  }

  /* Outer container */
  .mobile_table {
    width: 100%;
    overflow-x: auto;
  }

  /* Shared scroll area for header + body */
  .table_scroll_area {
    min-width: 720px;
    display: block;
  }

  /* Both heading and rows should align */
  .page_table_heading,
  .application_table_line {
    display: flex;
  }

  /* Each column */
  /* .vessel_heading,
.vessel_table_cell,
.vessel_table_cell_button {
  flex: 1 0 150px; 
  box-sizing: border-box;
} */
  .application_table_body {
    overflow-y: initial;
  }

  .page_table_heading {
    margin-left: 0px;
    margin-right: 20px;
  }
  .application_view_button {
    width: 20px;
    height: 20px;
    margin-top: 0px;
  }
  .vessel_log_view_button {
    width: 20px;
    height: 20px;
    margin-top: 0px;
  }
  .vessel_addroute_view_button {
    width: 20px;
    height: 20px;
    margin-top: 0px;
  }
  .application_edit_button {
    width: 20px;
    height: 20px;
    margin-top: 0px;
  }
  .vessel_table_cell_button {
    width: 20px;
    height: 20px;
    margin-top: 12px;
    margin-right: 5px;
  }
  .application_delete_button {
    width: 20px;
    height: 20px;
    margin-top: 0px;
  }
  .add_line_button {
    float: right;
    margin-top: -100px;
    width: 35px;
    height: 35px;
    background-size: cover !important;
  }
  .add_line_button:hover {
    width: 35px !important;
    height: 35px !important;
  }
  .application_cell_text {
    font-size: 10px;
  }
  .application_href_cell_text {
    font-size: 12px;
  }
  .vasl_heading {
    font-size: 24px;
    padding-top: 10px;
  }
  .vassel-panel {
    width: 255px;
  }
  #incidentPanel {
    width: 275px;
  }
  .header_panel h2 {
    font-size: 18px;
  }
  .questionnaire-box h3 {
    font-size: 18px;
  }
  .questionnaire-box {
    padding: 7px 22px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 80px;
    padding-bottom: 46px;
    width: 100%;
    display: table;
  }

  .header_panel.question_con {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 25px;
    margin-bottom: 34px;
  }
  .vessel-popup {
    width: 300px;
    max-width: 100%;
    transform: translateX(40%);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .column_flex {
    flex-direction: column;
  }
  .company-form-content {
    margin-left: 0px;
  }
  .form-group {
    width: 100%;
  }
  .company-nav-panel div.company-tab {
    display: block;
    padding-top: 5px;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #a9aeb7;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    float: left;
    text-indent: -999999px;
    margin-left: 11px;
    margin-right: 10px;
    overflow: hidden !important;
  }
  .company-nav-panel button,
  .company-nav-panel div {
    overflow: hidden;
  }
  .email-text {
    font-size: 10px;
  }
  .email-alert {
    display: flex;
    align-items: inherit;
    margin-right: 0px;
    font-size: 6px;
    font-weight: 600;
    margin-left: 8px;
  }
  .email-row {
    gap: 5px;
  }
  .edit-btn,
  .delete-btn {
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin-left: 2px;
    cursor: pointer;
    font-size: 10px;
  }
  .first_card_con {
    width: 100%;
  }
  .green_text {
    font-size: 14px;
  }
  .field label {
    font-size: 14px;
  }
  .button_live {
    padding-bottom: 15px;
    padding-top: 14px;
    font-size: 14px;
  }
  .second_card_con {
    width: 100%;
  }
  .second_card_con {
    width: 100%;
  }
  #page_box {
    overflow: auto;
  }
  .third_card_con {
    width: 100%;
  }
  #page_box {
    width: calc(100vw - 210px);
  }
  #intPopup .cancel-btn {
    padding: 10px 35px;
    font-size: 12px;
  }
  .popup-box {
    width: 325px;
  }
  #intPopup .log-btn {
    padding: 10px 35px;
    font-size: 12px;
  }
  #deletePopup .cancel-btn {
    padding: 6px 35px;
    font-size: 12px;
  }
  #deletePopup .log-btn {
    padding: 14px 35px;
    font-size: 12px;
  }
  .company-nav-panel div.company-tab {
    padding-top: 0px;
  }
  .company_menu_image {
    margin-top: 5px;
  }
  .company-nav-panel button,
  .company-nav-panel div {
    padding-top: 10px;
    padding-bottom: 15px;
  }
  #logPopup .cancel-btn {
    padding: 10px 35px;
  }
  #logPopup .log-btn {
    padding: 14px 35px;
    font-size: 12px;
  }
  .page_top_right {
    margin-right: -10px;
    width: 35%;
  }
  .main_close_btn {
    top: 35px;
    left: 14px;
    display: none;
  }
  .main_close_btn:hover {
    left: 14px;
  }
  .vls_no {
    font-size: 21px;
    text-align: right;
  }
  .mobile_table {
    padding-left: 20px;
  }
  .page_top_bar {
    height: 100px;
    padding-left: 20px;
  }
  .routes_right {
    height: 100px;
    display: none;
  }
  #incidentPanel label {
    font-size: 10px;
  }
  .sidebar.collapsed .menu-section {
    margin-top: 45px;
  }
  .accordion-content label {
    font-size: 12px;
  }
  .region-tab {
    font-size: 8px;
  }
  .company-nav-panel div.company-tab {
    margin-left: 0px;
    margin-right: 0px;
  }
  .company_menu_image {
    width: 30px;
    margin-right: 15px;
    margin-left: 15px;
  }
  .company-nav-panel .live-button {
    padding-bottom: 10px;
  }
  .company-nav-panel .save-button {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .company-form-content h2 {
    font-size: 20px;
  }
  .form-group input {
    font-size: 12px;
    padding: 10px 5% 10px 5%;
  }
  .form-row .form-group.single input {
    padding: 10px 5% 10px 5%;
  }
  .form-group select {
    padding: 10px 5% 10px 5%;
    font-size: 12px;
  }
  .form-group label {
    font-size: 12px;
  }
  .vessel-btn {
    padding: 10px 14px;
    font-size: 10px;
  }
  .vessels-tab .company_menu_image {
    margin-top: -6px;
  }
  .vassel-panel input,
  .vassel-panel select,
  .vassel-panel textarea {
    padding: 6px;
    font-size: 11px;
  }
  .port-tab .company_menu_image {
    margin-top: -6px;
  }
  .user-tab .company_menu_image {
    margin-top: -6px;
  }
  .switch-label {
    font-size: 12px !important;
    margin-top: 32px;
  }
  .rcv_alrt {
    font-size: 12px !important;
    margin-top: 35px;
  }
  .switch {
    top: 27px;
    left: 79px;
  }
  .permissions-table th,
  .permissions-table td {
    padding: 12px 0px;
    font-size: 12px;
  }
  .permissions-table th,
  .permissions-table td {
    padding: 12px 6px;
    font-size: 12px;
  }
  .survey-table th,
  .survey-table td {
    padding: 10px 10px;
    font-size: 12px;
  }
  .vessel-popup {
    transform: translateX(00%);
    left: 0px !important;
    right: 0px !important;
    margin: auto;
  }
  .console {
    width: 300px;
  }
  .page_table_heading {
    font-size: 12px;
  }
  .application_text_title img {
    width: 8px;
    margin-left: 3px;
  }
  #route_table_body_id .application_view_button {
    margin-left: 0px;
  }
  .route_table_cell_button {
    width: 20px;
  }
  .polygon_heading.com:last-child {
    text-align: left;
  }
  .vasl_heading img {
    width: 20px !important;
    margin-bottom: 5px;
    display: block !important;
    float: left;
  }
  #company_menu_tab .application_delete_button {
    margin-top: 10px;
  }
  #company_menu_tab .application_edit_button {
    margin-top: 10px;
  }
  #port_table_body_id .application_view_button {
    margin-top: 10px;
  }
  #port_table_body_id .application_edit_button {
    margin-top: 10px;
  }
  #port_table_body_id .application_delete_button {
    margin-top: 10px;
  }

  #route_table_body_id .application_view_button {
    margin-top: 10px;
  }
  #route_table_body_id .application_edit_button {
    margin-top: 10px;
  }
  #route_table_body_id .application_delete_button {
    margin-top: 10px;
  }

  #polygon_table_body_id .application_view_button {
    margin-top: 10px;
  }
  #polygon_table_body_id .application_edit_button {
    margin-top: 10px;
  }
  #polygon_table_body_id .application_delete_button {
    margin-top: 10px;
  }
  .popup-left {
    top: 95px !important;
    left: 55px !important;
  }
  .popup-btn {
    font-size: 12px;
  }
  .popup-content {
    font-size: 12px;
  }
  .popup-left .popup-arrow {
    display: none;
  }
  .popup-right .popup-arrow {
    display: none;
  }
  .popup-bottom .popup-arrow {
    display: none;
  }
  .popup-top .popup-arrow {
    display: none;
  }
  .mapboxgl-ctrl-attrib.mapboxgl-compact {
    display: none;
  }
  .value a {
    font-size: 10px;
  }
  .score {
    padding: 7px 24px 4px 24px;
    font-size: 16px;
  }
  .value {
    font-size: 10px;
  }
  .score-box {
    align-items: flex-start;
  }
  .email-input {
    padding: 8px;
    font-size: 10px;
  }
  .send-btn {
    padding: 8px 28px;
    font-size: 10px;
  }
  .record-container .label {
    font-size: 10px;
  }
  .route-tab .company_menu_image {
    margin-top: -6px;
  }
  .accordion-content label a {
    color: #e9ebec !important;
  }
  .vassel-panel {
    padding-bottom: 20% !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .action-buttons {
    margin-top: 15px;
  }
  .vessel-btn {
    float: left;
  }
  .add_line_button.desktop {
    display: none !important;
  }
  .add_line_button.mobile {
    display: block !important;
    background: url(./images/menu.svg) !important;
    width: 30px;
    height: 30px;
  }
  .add_line_button.mobile:hover {
    width: 30px !important;
    height: 30px !important;
  }

  #incidentPanel {
    height: 100vh !important;
  }
  .action-buttons {
    margin-bottom: 150px;
  }
}
