.navbar {
    background-color: #007464;
}
.navbar-brand {
    font-size: 22px;
    color: white;
}

#adminsTable td:nth-child(5),
#adminsTable td:nth-child(6) {
    text-align: center;
}

#productsTable td {
    vertical-align: middle;
}

#max_quantity {
    display: inline-block; /* Make the label inline-block */
    vertical-align: middle; /* Vertically align the label */
    margin-left: 5px; /* Add some spacing between "MAX:" and the label */
}

.sidebar {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%; /* Adjust width as needed */
    background-color: #f4f4f4;
    height: 100%; /* Make sidebar full height */
    overflow-y: auto; /* Enable vertical scrolling if needed */
    z-index: 2;
    transition: right 0.3s ease;
}
.sidebar.open {
    right: 0;
}

.sidebar-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 3;
    transition: right 0.3s ease;
}
.sidebar-toggle.move {
    right: 50%;
	background-color: transparent;
	top: 10px;
}

.list-group-item {
    color: black;
	font-size: 0.85rem;
	padding: 1.45rem 0.9rem;
}

.list-group-item i {
	font-size: 1rem;
}

.submenu {
    display: none; /* Hide submenu by default */
}

.submenu .list-group-item-action {
    margin-top: 3%;
    margin-bottom: 3%;
}

.show {
    display: block !important;
    max-width: 90%;
    min-width: 90%;
    align-self: center;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body fills the height of the viewport */
}

/* Adjust margin to create space between sidebar and main content */
.main-content {
    flex: 1;
}

.container {
    text-align: center;
    align-items: center;
}

.container-fluid {
    text-align: center;
    align-items: center;
}

.form-control {
    max-width: 100%;
    text-align: center;
}

.form-group {
    display: grid;
    align-items: center;
    justify-content: center;
}

.form-row {
    align-items: center;
}

.form-check {
    display: inline;
    align-items: center;
}

#image.custom-file-input {
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 50px;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background-color: #fff;
    overflow: hidden;
    opacity: 1;
}

#image.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

#image.custom-file-input::before {
    content: 'Choose Image';
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    border-radius: .25rem;
    padding: .375rem .75rem;
    outline: none;
    white-space: nowrap;
    cursor: pointer;
}

#image.custom-file-input:hover::before {
    background-color: #0056b3;
}

#image.custom-file-input:active::before {
    background-color: #004c9a;
}

/* Custom styles for checkbox */
#isCocktail.custom-checkbox .custom-control-label::before {
    border: 1px solid #007bff;
    border-radius: .25rem;
    background-color: #fff;
    width: 1.25rem;
    height: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

#isCocktail.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff;
    border-color: #007bff;
}

.footer {
    background-color: #f8f9fa;
    color: black;
    /* padding: 20px 0;
		width: 75%;
	vertical-align: middle; */
}

/* Print button style */
.button-49,
.button-49:after {
	width: 100px;
	height: 80px;
	line-height: 78px;
	font-size: 20px;
	font-family: 'Bebas Neue', sans-serif;
	background: linear-gradient(45deg, transparent 5%, #007464 5%);
	border: 0;
	color: #fff;
	letter-spacing: 3px;
	box-shadow: 6px 0px 0px #66aba2;
	outline: transparent;
	position: relative;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
}

.button-49:after {
	--slice-0: inset(50% 50% 50% 50%);
	--slice-1: inset(80% -6px 0 0);
	--slice-2: inset(50% -6px 30% 0);
	--slice-3: inset(10% -6px 85% 0);
	--slice-4: inset(40% -6px 43% 0);
	--slice-5: inset(80% -6px 5% 0);
	
	content: 'PRINT';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 3%, #007464 3%, #007464 5%, #005146 5%);
	text-shadow: -3px -3px 0px #F8F005, 3px 3px 0px #007464;
	clip-path: var(--slice-0);
}

.button-49:hover:after {
	animation: 1s glitch;
	animation-timing-function: steps(2, end);
}

@keyframes glitch {
	0% {
		clip-path: var(--slice-1);
		transform: translate(-20px, -10px);
	}
	10% {
		clip-path: var(--slice-3);
		transform: translate(10px, 10px);
	}
	20% {
		clip-path: var(--slice-1);
		transform: translate(-10px, 10px);
	}
	30% {
		clip-path: var(--slice-3);
		transform: translate(0px, 5px);
	}
	40% {
		clip-path: var(--slice-2);
		transform: translate(-5px, 0px);
	}
	50% {
		clip-path: var(--slice-3);
		transform: translate(5px, 0px);
	}
	60% {
		clip-path: var(--slice-4);
		transform: translate(5px, 10px);
	}
	70% {
		clip-path: var(--slice-2);
		transform: translate(-10px, 10px);
	}
	80% {
		clip-path: var(--slice-5);
		transform: translate(20px, -10px);
	}
	90% {
		clip-path: var(--slice-1);
		transform: translate(-10px, 0px);
	}
	100% {
		clip-path: var(--slice-1);
		transform: translate(0);
	}
}

@media (min-width: 768px) {
	.button-49,
	.button-49:after {
		width: 100px;
		height: 80px;
		line-height: 78px;
	}
}

@media (min-width: 768px) {
    .col-md-9 {
        width: 75%;
	}
}

.canvas-container {
	width: 100%;
	overflow-x: auto; /* Allow horizontal scrolling */
	overflow-y: hidden; /* Prevent vertical scrolling */
}

#deviceChart {
	width: 150vw; /* Example width */
	height: 100%; /* Fill the height of the container */
}

.dt-scroll-headInner {
	margin: 0 auto;
}

@media only screen and (min-width: 1024px) {
	.sidebar {
		right: -15%;
		width: 15%; /* Adjust width as needed */
	}
	.sidebar-toggle.move {
		right: 15%;
	}
}

@media only screen and (max-width: 425px) {
	.table_freeze,
	.dtfc-fixed-left {
	    width: 150px !important;
	    overflow: hidden !important;
	}
}

.payment-modal.show,
.modal-backdrop.show {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
}

/* Modal Styles */
.payment-modal .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
}

.payment-modal .modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.payment-modal .modal-header {
    text-align: center;
    background-color: #007464;
    color: #fff;
    border-bottom: 1px solid #007464;
}

.payment-modal .modal-header .modal-title {
    font-size: 1.5rem;
    text-align: center;
}

.payment-modal .modal-header .close {
    color: #fff;
    opacity: 1;
}

.payment-modal .modal-body {
    padding: 20px;
}

.payment-modal .modal-footer {
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
    text-align: right;
}

.payment-modal .modal-footer .btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

/* Close Days List */
/*#closeDaysList {*/
/*    margin-bottom: 20px;*/
/*}*/

.close-day {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007464;
    margin-bottom: 5px;
    transition: background-color 0.3s ease;
}

.close-day:hover {
    background-color: #e9ecef;
}

/* Close Days Details */
#closeDaysDetails {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

#closeDaysDetails h4 {
    margin-bottom: 15px;
    color: #007464;
}

#closeDaysDetails p {
    margin: 5px 0;
}

#closeDaysDetails p strong {
    color: #007464;
}


#closeDaysList {
    max-width: 100%;
    margin: 0 auto;
}

.close-day {
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    text-align: center;
}

.close-day:hover {
    background-color: #e9e9e9;
}

video {
    width: 250px;
    height: 250px;
    border: 1px solid black;
}

.btn-submit {
    border: 1px solid black;
    background: #007464;
    color: #ffffff;
    width: 150px;
}
.btn-submit:hover {
    background-color: #005b4e; /* Darker shade on hover */
    color: #fff;
    cursor: pointer;
}

/*.floating-button {*/
/*    position: fixed;*/
/*    bottom: 20px;*/
/*    right: 20px;*/
/*    z-index: 1000;*/
/*    padding: 30px 30px;*/
    /*background-color: #007464;*/
/*    color: white;*/
/*    border-radius: 50%;*/
/*    border: 1px solid black;*/
/*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
/*    font-size: 40px;*/
/*    aspect-ratio: 1/1;*/
/*}*/

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px; /* Set the width for the button */
    height: 60px; /* Set the height for the button */
    padding: 0; /* No extra padding */
    background-color: #007464;
    color: white;
    border-radius: 50%; /* Makes the button round */
    border: 1px solid black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the "+" inside */
    aspect-ratio: 1 / 1; /* Ensures it stays a perfect circle */
}
.floating-button:hover {
    background-color: #005b4e; /* Darker shade on hover */
    color: #fff;
    cursor: pointer;
}

#preview, #canvas {
    display: none; /* Initially hidden */
    width: 100%;  /* Make the video and canvas responsive */
    max-width: 400px;  /* Limit max width */
    height: auto;  /* Auto height based on width */
    position: relative;
    margin: 0 auto;  /* Center horizontally */
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;  /* Full viewport height to center vertically */
}


@media (max-width: 768px) {
    .floating-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        width: 60px; /* Set the width for the button */
        height: 60px; /* Set the height for the button */
        padding: 0; /* No extra padding */
        background-color: #007464;
        color: white;
        border-radius: 50%; /* Makes the button round */
        border: 1px solid black;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        font-size: 40px;
        display: flex;
        justify-content: center;
        align-items: center; /* Centers the "+" inside */
        aspect-ratio: 1 / 1; /* Ensures it stays a perfect circle */
    }
    
    #preview, #canvas {
        display: none; /* Initially hidden */
        width: 100%;  /* Make the video and canvas responsive */
        max-width: 400px;  /* Limit max width */
        height: auto;  /* Auto height based on width */
        position: relative;
        margin: 0 auto;  /* Center horizontally */
    }

    .video-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;  /* Full viewport height to center vertically */
    }
}

#hamutarto {
	background-color: red;
}

.bold {
	font-weight: 700;
}