@charset "UTF-8";
#main_logo::before {
    display: block;
    content: ' ';
    background-size: 27px 27px;
    height: 27px;
    width: 27px;
    background-image: url(./logo_wp.svg);
    /*float: left;*/
}

.wp-red {
    color: #fff;
    background-color: #F04B30;
}

.wp-yellow {
    color: #fff;
    background-color: #FFB52C;
}

.wp-brown {
    color: #fff;
    background-color: #42242A;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.messages-window {
    border-radius: 10px;
}

.terminal_field {
    border: 1px solid;
    background-color: white;
    color: grey;
    border-radius: 10px;
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 2px;
    white-space: nowrap;
}

.filter_label {
    border: 1px solid;
    background-color: white;
    color: grey;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
}

.same_line {
    white-space: nowrap;
}

.filter_input {
    border: 0px solid;
    background-color: white;
    color: black;
    padding-left: 5px;
    padding-right: 5px;
}

.filter_form {
    border: 0px solid;
    border-color: grey;
    background-color: white;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.button_filter {
    border: 0px;
    background-color: transparent;
    color: grey;
}

.button_no_border {
    border: 0px;
    background-color: transparent;
}

.dir {
    border-color: #000000;
    color: #000000;
}

.rx_ts {
    border-color: #929692;
    color: #929692;
}

.gw_id,
.sink_id,
.network_id,
.terminal_gw {
    border-color: #42242A;
    color: #42242A;
}

.src_add,
.dest_add,
.terminal_add {
    border-color: #F04B30;
    color: #F04B30;
}

.src_ep,
.dest_ep,
.terminal_ep {
    border-color: #FFB52C;
    color: #FFB52C;
}

.payload_size {
    border-color: green;
    color: green;
}

.hop_count,
.travel_time_ms,
.terminal_additional_value {
    border-color: #16619C;
    color: #16619C;
}

.qos {
    border-color: #3C8BCB;
    color: #3C8BCB;
}

.decoded_data {
    border-color: #42242A;
    color: #42242A;
    background-color: #f5f2f0;
}

/* Navigation arrow for quick gateway access */
.evertag-nav-arrow {
    color: #42242A;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 6px;
    border: 1px solid #42242A;
    border-radius: 3px;
    background-color: #f5f2f0;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
}

.evertag-nav-arrow:hover {
    background-color: #e8e0dc;
    transform: translateY(-1px);
}

.evertag-nav-arrow:active {
    transform: translateY(0);
}

.node_tbl {
    table-layout: fixed;
    border-spacing: 0;
    color: grey;
    width: 100%;
}

.node_tbl_col {
    text-align: left;
}

tr:nth-child(even) {
    background: white;
}

tr:nth-child(odd) {
    background: #f1f1f1;
}


/* Style the tab */

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: white;
}

.gateway_offline {
    color: grey;
}

.gateway_online {
    color: green;
    font-weight: bold;
}


/* Style the buttons that are used to open the tab content */

.tab button {
    background-color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}


/* Change background color of buttons on hover */

.tab button:hover {
    background-color: #ddd;
}


/* Create an active/current tablink class */

.tab button.active {
    background-color: #ccc;
}


/* Style the tab content */

.tabcontent-gw .tabcontent-sink {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

input:not([type=submit]):not([type=reset]) {
    border: none;
}

input:focus:not([type=submit]):not([type=submit]):not(.check) {
    border-bottom: 1px solid grey;
    outline: none;
}

input.check:invalid {
    border-bottom: 1px solid #F04B30;
}

input.check:focus {
    outline: none;
}

.form-group {
    /* To have label before input*/
    display: flex;
    flex-direction: column-reverse;
}

.form-group>label {
    margin-top: 10px;
}

.form-group>input[type=checkbox] {
    float: left;
}

.form-group>input:focus+label {
    font-weight: bold;
}


/*Remove spinner in input*/


/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

.col-50 {
    float: left;
    width: 50%;
}


/* Responsive layout for column */

@media screen and (max-width: 600px) {
    .col-50 {
        width: 100%;
    }
}

/* EverTag Configuration Styles */
#evertag_config {
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

#evertag_config select {
    width: 200px;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

#evertag_config input[type="number"] {
    width: 200px;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#evertag_response_text {
    min-height: 100px;
    font-family: monospace;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 10px;
}

#evertag_config button.w3-button {
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
}

#evertag_config button.w3-button:hover {
    background-color: #45a049;
}