* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

body {
    background-color: aliceblue;
}

.header {
    position: relative;
    margin: 0;
    width: 100%;
    height: 50px;
    background-color: #2657FD;
}

.logo {
    position: absolute;
    color: white;
    margin-left: 20px;
    margin-top: 7px;
}

.login-card {
    background-color: white;
    width: 500px;
    height: 155px;
    margin-top: 50%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
}

.input {
    font-size: 16px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    padding: 4px;
    width: 480px;
}

button.input {
    background: #2657FD;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 1px solid #2657FD;
}

button.input:active {
    background: #1b41bb;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 1px solid #2657FD;
}

.account {
    width: 200px;
    margin-right: 20px;
    margin-left: auto;
    padding-top: 2px;
}

p.user {
    color: white;
    text-align: right;
    font-size: 18px;
}

p.user-group {
    color: white;
    text-align: right;
    font-size: 12px;
}

.menu {
    position: relative;
    margin: 0;
    width: 100%;
    height: 50px;
    background-color: white;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

button.menu-btn {
    background: #2657FD;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    padding: 5px;
    border: 1px solid #2657FD;
}

button.menu-btn:active {
    background: #1b41bb;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    padding: 5px;
    border: 1px solid #2657FD;
}

.returned {
    position: relative;
    margin-top: 60px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    height: fit-content;
    background-color: white;
    border-radius: 20px;
    padding: 10px;
}

.booked {
    position: relative;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    height: fit-content;
    background-color: white;
    border-radius: 20px;
    padding: 10px;
}

.customer-list {
    position: relative;
    margin-top: 60px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    height: fit-content;
    background-color: white;
    border-radius: 20px;
    padding: 10px;
}

.equipment-bar {
    position: relative;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    height: fit-content;
    background-color: white;
    border-radius: 20px;
    padding: 10px;
}

.equipment-list {
    position: relative;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    height: fit-content;
    background-color: white;
    border-radius: 20px;
    padding: 10px;
}

table {
    font-size: 12px;
    border-collapse: collapse;
    width: 100%;
}

#add-table td, #add-table th {
    padding: 8px;
    border-collapse: collapse;
    width: 100%;
    white-space: nowrap;
    background-color: white;
}

table td, #equipment-info th {
    /*border: 1px solid #ddd;*/
    padding: 8px;
    border-collapse: collapse;
    width: 100%;
    white-space: nowrap;
}

#customer-info td, #cusomer-info th {
    padding: 8px;
    border-collapse: collapse;
    width: 100%;
    white-space: nowrap;
}

#customer-info td:first-child, #customer-info th:first-child {
    width: fit-content;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #ddd;
}

.no-hover:hover {
    background-color: white;
}

#add-table tr {
    background-color: white;
}

.no-hover th {
    text-align: left;
}

.popup-bgr {
    display: none;
}

.popup-bgr.active {
    display: block;
    position: absolute;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

.popup-content-rentals {
    position: relative;
    width: 600px;
    height: 800px;
    left: calc(50% - 300px);
    top: calc(50% - 400px);
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 1001;
}

.popframe {
    position: relative;
    margin: 10px;
    width: calc(100% - 20px);
    height: 730px;
    border: none;
}

.btn-popup {
    position: relative;
    width: 70px;
    height: 30px;
    margin-left: calc(100% - 80px);
    color: white;
    font-size: 12px;
    border-radius: 5px;
    border: solid 1px black;
    background-color: rgb(187, 0, 0);
}

.btn-popup:hover {
    background-color: red;
}

.title {
    position: absolute;
    margin-left: calc(50% - 150px);
    width: 300px;
    text-align: center;
}

.card-container {
    margin-top: 55px;
    margin-left: 5px;
    margin-right: 5px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5px;
    margin-top: 1rem;
}

.card-white {
    display: block;
    /* justify-content: center; */
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
}

.card-white a {
    text-decoration: none;
    color: inherit;
}

.card-white a:hover {
    text-decoration: underline;
    color: inherit;
}

.card-white a:active {
    text-decoration: underline;
    color: inherit;
}

.popup-add-equipment {
    display: none;
}

.popup-add-equipment.active {
    display: flex;
    position: absolute;
    left: calc(50% - 150px);
    top: calc(50% - 325px);
    background-color: #fff;
    filter: drop-shadow(10px 10px 4px rgb(124, 124, 124));
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(192, 192, 192);
    width: 300px;
    height: 650px;
    z-index: 1000;
}

button.remove-item {
    background: rgb(226, 0, 0);
    border-radius: 5px;
    color: #fff;
    font-size: .7rem;
    padding: 0rem 1rem;
    border: 1px solid rgb(226, 0, 0);
    cursor: pointer;
    height: 1rem;
}

button.remove-item:active {
    background: rgb(206, 0, 0);
    border-radius: 5px;
    color: #fff;
    font-size: .7rem;
    padding: 0rem 1rem;
    border: 1px solid rgb(226, 0, 0);
    cursor: pointer;
}