

.container {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 650px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container1 {
    margin: auto;
}
#dashboard_table {
    margin: auto;
    width: 80%;
}
.customer_li td {
    border: 1px solid #000000;

}

.match-btn {
    background-color: #c66e09;
    color: white;
    padding: 5px;
    font-size: 15px;
    border: none;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 70px;
}

.match-btn.active {
    background-color: orange; /* Orange vid val */
    color: white;
}

/* Listitem (li) som är markerad */
li.match-active {
    border: 2px solid #c66e09; /* Orange kant för markerat li */
    background-color: #fffaf0; /* Ljus-orange bakgrund */
    transition: border-color 0.3s, background-color 0.3s;
}


input, textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}

.error {
  color: red;
}

.success {
  color: green;
}

ul {
    list-style: none;
    padding: 0;
}

li {
  background-color: #ffffff;
  border: 1px solid #dcdde1;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.customer_li {
    background-color: #ffffff;
    border: 1px solid #dcdde1;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

li:hover {
        background-color: #f0f0f0;
    }

    strong {
        font-size: 1.2em;
        color: #353b48;
    }

    em {
        color: #718093;
        font-size: 0.9em;
    }

        body {
            font-family: Arial, sans-serif;
            margin: 40px;
            background-color: #f5f6fa;
            color: #2f3640;
        }

        form {
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .delete_form {
            box-shadow: None;
            border-radius: 0;
            background-color: transparent;
            padding: 0;
        }

        .edit_button, .delete_form {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;  /* Mellanrum mellan knapparna */
}



        input[type="submit"] {
            background-color: #0097e6;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #40739e;
        }

            .number-input {
display: flex;
align-items: center;
gap: 5px;
width: fit-content;
background: #f5f5f5;
border-radius: 8px;
padding: 4px 8px;
font-family: sans-serif;
}

.number-input button {
border: none;
background: #ddd;
padding: 6px 10px;
cursor: pointer;
font-size: 1.2em;
border-radius: 4px;
}

.number-input button:hover {
background: #ccc;
}

.number-input input {
    width: 50px;
    text-align: center;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px;

}

#submitMatch {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #4CAF50; /* Grön grundfärg */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;

}
#submitMatch:disabled {
    background-color: grey; /* Grå indikering för inaktiv */
    cursor: not-allowed;
    transform: none; /* Ingen förstoring vid hover */
}


.hidden {
  display: none;
}

    .dropdown {
        margin: 15px 0;
        width: 100%;
    }

    #dropdown {
        background-color: #bcbcbc;
    }

    .dropdown-btn {
        background-color: #4CAF50;
        color: white;
        padding: 12px 20px;
        font-size: 15px;
        border: none;
        cursor: pointer;
        border-radius: 6px;
        transition: background-color 0.3s ease;
        text-align: left;
    }

    .done_button {
        background-color: #ff6422;
        color: white;
        padding: 12px 20px;
        font-size: 15px;
        border: none;
        cursor: pointer;
        border-radius: 6px;
        transition: background-color 0.3s ease;
        text-align: left;
    }

    .done_div {
        padding: 0;
        margin: 0;
        display: inline-block;


    }

    .done_div:hover + .hide {
        display: block;
        color: red;
        margin-top: 10px;
    }
    .hide {

        display: none;
    }

    .dropdown-content {
        display: none;
        margin-top: 8px;
        padding: 15px;
        border: 1px solid #e0e0e0;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.dropdown.show .dropdown-content {
    display: block;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-option {
    background-color: #dafdff;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #000000;
    margin-bottom: 5px;
    cursor: pointer;
}

    .vertical {
        display: inline-block;
        margin: 8px 15px;
        min-width: 200px;
    }

    .edit_button {
        background-color: #34b4eb;
        color: white;
        padding: 10px 20px;
        font-size: 14px;
        border: none;
        cursor: pointer;
        border-radius: 6px;
        margin: 20px 0 10px 0;
        transition: background-color 0.3s ease;
        display: inline-block;
        text-decoration: none;
    }

    .tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

    .toggle-upload-btn {
        background-color: #891cd1;
        color: white;
        padding: 5px 20px;
        font-size: 15px;
        border: none;
        cursor: pointer;
        border-radius: 6px;
        transition: background-color 0.3s ease;
        text-align: left;
        margin-bottom: 10px;

    }

    .manual-upload-form {
        box-shadow: None;
        background-color: transparent;
        margin-top: 10px;
        padding: 0;
    }

    .delete_button {
        background-color: #d00909;
        color: white;
        padding: 10px 20px;
        font-size: 14px;
        border: none;
        cursor: pointer;
        border-radius: 10px;
        margin: 20px 0 10px 0;
        transition: background-color 0.3s ease;
        display: inline-block;
        text-decoration: none;
    }

        .admin_button {
        background-color: #167700;
        color: white;
        padding: 10px 20px;
        font-size: 14px;
        border: none;
        cursor: pointer;
        border-radius: 10px;
        margin: 20px 0 10px 0;
        transition: background-color 0.3s ease;
        display: inline-block;
        text-decoration: none;
    }

        .upload-submit-btn {
            background-color: #ff00d1;
            padding: 10px 20px;
            border-radius: 5px;
            border: none;
            color: white;
            font-size: 15px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }


        .unmatched-machines{
            vertical-align: text-top;
        }

    p.entry_info {
        padding-right: 20px;
        width: fit-content;
        display: inline;
    }

    #user_table th {
        padding-right: 30px;
    }

    #logo {
        max-width: 250px;
        float: right;
    }

    .nopress {
        width: 50px;
    }
    .nopress, .txtpress {
        display: inline-block;
    }
    .txtpress {
        width:70% !important;
    }

    .rowbtn {
            border: none;
            background: #ddd;
            padding: 6px 10px;
            cursor: pointer;
            font-size: 1.2em;
            border-radius: 4px;
            margin-bottom: 10px;
    }

    .entry-radio {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    appearance: none; /* Dölj standard */
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
    .entry-radio:checked {
    border-color: #c66e09;
    box-shadow: 0 0 5px orange;
    background: orange;
}
    li.active {
    border-color: #c66e09;
    background-color: #fffaf0; /* Ljus orange bakgrund */
}



    input[type="checkbox"] {
        width: 20px;
    }

    label[for="send_email"] {
        display: inline-block;
    }

    #quantity {
        vertical-align: middle;
        height: 100%;
        margin-top: 15px;
    }

    .checkbox-wrapper-34 {
        --blue: #0D7EFF;
        --g08: #E1E5EB;
        --g04: #848ea1;
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
  }
    .checkbox_div {
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .choice {
        display: inline-block;
        width: 15px;
        height: 15px;
        margin-right: 2 5px;
        margin-top: 5px;
        margin-bottom: 20px;
    }




    #helvetet {
        margin-top: 20px;
    }

    .nav_button{
        padding: 0;
        margin: 0;
        display: inline-block;
        border: none;
        box-shadow: none;
    }
    .dashboard_button {
        background-color: rgb(36, 62, 145);
        color: white;
        padding: 12px 20px;
        font-size: 15px;
        border: none;
        margin-right: 10px;
        border-radius: 10px;
        transition: background-color 0.3s ease;
        width: 150px;
        display: inline-block;
        cursor: pointer;


    }
    .dashboard_button:hover {
        background-color: #34b4eb;

    }



    #myTopnav {
        overflow: hidden;
        background-color: #ffffff;
        margin-top: 2px;
        width: 95%;
        margin-bottom: 40px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    }



  .checkbox-wrapper-34 .tgl {
    display: none;
  }
  .checkbox-wrapper-34 .tgl,
  .checkbox-wrapper-34 .tgl:after,
  .checkbox-wrapper-34 .tgl:before,
  .checkbox-wrapper-34 .tgl *,
  .checkbox-wrapper-34 .tgl *:after,
  .checkbox-wrapper-34 .tgl *:before,
  .checkbox-wrapper-34 .tgl + .tgl-btn {
    box-sizing: border-box;
  }
  .checkbox-wrapper-34 .tgl::selection,
  .checkbox-wrapper-34 .tgl:after::selection,
  .checkbox-wrapper-34 .tgl:before::selection,
  .checkbox-wrapper-34 .tgl *::selection,
  .checkbox-wrapper-34 .tgl *:after::selection,
  .checkbox-wrapper-34 .tgl *:before::selection,
  .checkbox-wrapper-34 .tgl + .tgl-btn::selection {
    background: none;
  }
  .checkbox-wrapper-34 .tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 57px;
    height: 27px;
    position: relative;
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
  }
  .checkbox-wrapper-34 .tgl + .tgl-btn:after,
  .checkbox-wrapper-34 .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 44%;
    height: 100%;
  }
  .checkbox-wrapper-34 .tgl + .tgl-btn:after {
    left: 0;
  }
  .checkbox-wrapper-34 .tgl + .tgl-btn:before {
    display: inline;
    position: absolute;
    top: 7px;
  }
  .checkbox-wrapper-34 .tgl:checked + .tgl-btn:after {
    left: 56.5%;
  }

  .checkbox-wrapper-34 .tgl-ios + .tgl-btn {
    background: var(--g08);
    border-radius: 20rem;
    padding: 2px;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  }
  .checkbox-wrapper-34 .tgl-ios + .tgl-btn:after {
    border-radius: 2em;
    background: #fff;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  }
  .checkbox-wrapper-34 .tgl-ios + .tgl-btn:before {
    content: "Nej";
    left: 28px;
    color: var(--g04);
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  .checkbox-wrapper-34 .tgl-ios + .tgl-btn:active {
    box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
  }
  .checkbox-wrapper-34 .tgl-ios + .tgl-btn:active:after {
    padding-right: 0.4em;
  }
  .checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn {
    background: var(--blue);
  }
  .checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:active {
    box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
  }
  .checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:active:after {
    margin-left: -0.4em;
  }
  .checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:before {
    content: "Ja";
    left: 4px;
    color: #fff;
  }
