html,
body {
  height: 100%;
  /*overflow-x: hidden !important;*/
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden !important;
}

.content {
  flex: 1 0 auto;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #f8f9fa;
    padding: 10px;
    text-align: center;
}

.cont_pad {
	margin-bottom:100px;
}
.container_border {
	border-style:dotted;
}
.image-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reset-btn {
	padding-top: 1px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 1px;
    font-size: 12px;
}
.sm-text {
	font-size: 12px;
}
.error-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: red;
    color: white;
    padding: 15px;
    border-radius: 5px;
    font-size: 1em;
    z-index: 1000;
  }
  
  label.label input[type="file"] {
	position: absolute;
	top: -1000px;
}
.label {
	cursor: pointer;
	color: #fff;
	font-size: 14px;
	border-radius: 5px 0px 0px 5px;
	padding: 3px 5px 4px 5px;
	background: #188305;
	display: inline-block;
}
	.label:hover {
	background: #002d0c;
}
	.label:active {
	background: #003700;
}
	.label:invalid + span {
	color: #000000;
}
	.label:valid + span {
	color: #ffffff;
}

.menu-button {
	visibility: visible !important;
	display: block !important;
	color: #a2a2a7 !important; /* Change to the color you want */
}

.btn-sm-pad {
	--bs-btn-padding-y: 0.15rem !important;
}

.step1-vid {
	 max-width: 98%;
	 height: auto;
}
  
  /* Styles for the processing animation */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.loader {
    border: 8px solid #00008c; 
    border-top: 8px solid #d9d900;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    margin: auto;
    position: fixed;     /* Will position the loader relative to the viewport */
    top: 50%;            /* Center vertically */
    left: 50%;           /* Center horizontally */
    transform: translate(-50%, -50%);  /* Correct displacement caused by top and left percentages */
    z-index: 1000;       /* Keep it on top of other elements */
}

  #capture {
	width: 150px;
	height: 40px;
	margin-top: 20px;
	background-color: #004010; /* Dark button background */
	color: #ffffff; /* Light button text */
	border: none;
	border-radius: 8px; /* Rounded corners for button */
	cursor: pointer;
}
#capture:hover {
	background-color: #454545; /* Lighter background on hover */
}
		
#chatbox {
	margin: 0;
    padding: 0;
	overflow: hidden; /* Remove botton scrollbar */
	overflow-y: hidden;
	border: 1px solid #dbdbdb; /* Darker border for elements */
	background-color: #ececec; /* Darker background for elements */
	border-radius: 2px; /* Rounded corners */
}

#canvas-holder {
	margin: 0;
    padding: 0;
	overflow: hidden; /* Remove botton scrollbar */
	overflow-y: hidden;
	background-color: #fffaeb; /* Darker background for elements */
	border-radius: 2px; /* Rounded corners */
}

#errorMessage {
    position: fixed; /* Fix position on the screen */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Ensure it's centered */
    background-color: red; /* Red background */
    color: yellow; /* Red text */
    padding: 20px; /* Provide some space around the text */
    border-radius: 5px; /* Round the corners a bit */
    display: none; /* Hide it initially */
    z-index: 1000; /* Make sure it's on top of other elements */
}

#uniqueErrorMessage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: red;
    color: yellow;
    padding: 20px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

.copy-button {
  font-size:10px;
  font-family:Arial;
  width:68px;
  height:20px;
  border-width:1px;
  color:#fff;
  border-color:#4e6096;
  border-top-left-radius:10px;
  border-top-right-radius:10px;
  border-bottom-left-radius:10px;
  border-bottom-right-radius:10px;
  box-shadow: 0px 0px 0px 2px #9fb4f2;
  text-shadow: 0px 1px 0px rgba(15, 19, 31, 1);
  background:linear-gradient(rgb(120, 146, 194), #476e9e);
}

.copy-button:hover {
  background: linear-gradient(#476e9e, rgb(120, 146, 194));
}

.html-alert-message {
   background-color: #004020;
   color: yellow;
   padding: 5px;
   margin: 5px 0;
   text-align: center;
   border-radius: 5px;
   font-size: 10px;
}

 .floating-message {
   position: fixed;
   top: 20px;
   left: 20px;
   background-color: darkgreen;
   color: yellow;
   padding: 10px;
   border-radius: 5px;
   opacity: 1;
   transition: opacity 2s;
 }
 .floating-message.hide {
   opacity: 0;
 }

.accord-pad {
	--bs-gutter-x: 0 !important;
    --bs-gutter-y: 0;
}


.myaccordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 1.5rem;
    color: var(--bs-accordion-btn-color);
    text-align: left;
    /*background-color: #ffffbf;*/
    border: 0;
    border-radius: 0;
	outline: none !important;
    box-shadow: none !important;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}

select:focus {
    outline: none !important;
    box-shadow: none !important;
}

.message {
 position: fixed;
 top: 50%;
 left: 50%;
 transform: translate(-50%, 0);
 background-color: red;
 color: yellow;
 padding: 10px;
 opacity: 1;
 transition: opacity 3s;
 display: none;
}

.input-container {
	margin-top: 10px;
  display: flex;
  flex-direction: column;
}
.input-field-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-control {
  flex-grow: 1;
}

.switchj-container {
   display: flex;
   flex-direction: column;
   align-items: center;
}

.switch {
   position: absolute;
   top: 10px;
   right: 10px;
   display: inline-block;
   width: 60px;
   height: 20px;
}

.switch input { 
 opacity: 0;
 width: 0;
 height: 0;
}

.slider {
 position: absolute;
 cursor: pointer;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-color: #ccc;
 -webkit-transition: .4s;
 transition: .4s;
}

.slider:before {
 position: absolute;
 content: "";
 height: 12px;
 width: 26px;
 left: 4px;
 bottom: 4px;
 background-color: white;
 -webkit-transition: .4s;
 transition: .4s;
}

label[for="themeSwitcher"] {
 font-size: 16px;
 color: #333;
}

input:checked + .slider {
 background-color: #2196F3;
}

input:checked + .slider:before {
 -webkit-transform: translateX(26px);
 -ms-transform: translateX(26px);
 transform: translateX(26px);
}

.modal-dialog {
 width: 80%;
 margin: 0 auto;
}

.video-wrapper {
 position: relative;
 padding-bottom: 56.25%; /* for 16:9 aspect ratio */
 height: 0;
 overflow: hidden;
}

.video-wrapper iframe {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}
