@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700');

.gear {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-size: 25px;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover,
a:focus {
    text-decoration: none;
}


.divs {
    display: flex;
}

.strichen_div,
.strichliste_div {
    flex: 1;
    box-sizing: border-box;
    padding: 5px;
    display:flex;
}

body {
    padding: 10px;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    font-size: 16px;
}

/*Strichliste CSS*/

.scrollable-body {
    max-height: calc(9 * 52px);
    overflow-y: scroll;
    display: block;
    box-shadow: -10px 10px 10px gray;
}

.scrollable-body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.container {
    margin-right: 5px;
    margin-left: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table {
    width: 100%;
    border: none;
    box-shadow: -10px 10px 10px gray;
    border-collapse: collapse;
    table-layout: fixed;
}

.table_header {
    display: flex;
    background: #000;
    padding: 15px;
    color: white;
    border-radius: 10px 10px 0px 0px
}

.table_row {
    display: flex;
    padding: 15px;
}

.table_row:nth-of-type(odd) {
    background: #eaeaea;
}

.table_row:nth-of-type(even) {
    background: white;
}

.table_data,
.header_item {
    flex: 1 1 20%;
    text-align: center;
    border: none;
    white-space: nowrap;
    min-width: 150px;
}

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

.table_data.name-cell,
.drink-buttons button,
.drink-buttons button img {
    cursor: pointer;
}

.header_item {
    text-transform: uppercase;
}

.last_row {
    border-radius: 0px 0px 10px 10px;
    background-color: #eaeaea !important;
}

.table_input_long {
    border: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    box-shadow: -3px 5px 5px lightgray;
    border-radius: 3px;
}

.table_input_short {
    border: none;
    width: 30%;
    box-sizing: border-box;
    margin: auto;
    box-shadow: -3px 5px 5px lightgray;
    border-radius: 3px;
}

.table_button {
    border-radius: 6px;
    border: solid 2px white;
    padding: 3px 15px;
    box-sizing: border-box;
    margin: auto;
    box-shadow: -3px 5px 5px lightgray;
    cursor: pointer;
    background-color: #f0f0f0;
}

.table_button:hover {
    background-color: #cacaca;
}

.bold {
    font-weight: bold;
}

/*Strichen CSS*/

button[name="drinkId"] {
    margin: 5px;
    background-color: lightgray;
    border: none;
    border-radius: 5px;
}

button[name="drinkId"]:hover {
    background-color: gray;
}

button[name="drinkId"] img {
    width: 75px;
    /* Set the width to 100px */
    height: 225px;
    /* Set the height to 300px */
    object-fit: contain;
    /* This will ensure that the image maintains its aspect ratio without stretching */
}

/* Styles for the wrapper */
.quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Styles for the input */
.quantity-input {
    width: 100px;
    /* Adjust as needed */
    font-size: 1.5em;
    /* Makes text larger */
    text-align: center;
    border: none;
    /* Removes border */
    margin: 0 5px;
    /* Spacing between buttons and input */
}

/* Hiding the default spinners on inputs, vary depending on browser */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Styles for the buttons */
.quantity-btn {
    padding: 10px;
    font-size: 1.5em;
    margin: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #d4d4d4;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border-radius: 5px;
}

.select {
    border: none;
    padding: 2px;
    border-radius: 5px;
    margin-bottom: 5px;
    padding-left: 10px;
}

/* Optional: Styles for button hover effect */
.quantity-btn:hover {
    background-color: #e0e0e0;
    border-color: #c0c0c0;
}

/* QR CSS */
.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 256px;
}

.qr-image {
    width: 100%;
    height: auto;
}

/* Add additional styles to support full screen and blur */
.full-screen {
    display: none;
    justify-content: center;
    align-items: center;
    filter: blur(8px);
}

.icon_button {
    cursor: pointer;
    border: none;
    background: none;
}

.icon_button:hover {
    transform: scale(1.2);
}