body {
    margin: 40px 0 40px 0;
    padding: 0;
    border: none;
    outline: none;
    /* background-color: #eee; */
    background-color: #f4623a;
    box-shadow: none;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.lightbox-container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
	justify-content: center;
	align-items: center;
	z-index: 999;
}

.lightbox-content {
	max-width: 80%;
	max-height: 80%;
	overflow-y: auto;
	background: #FFF; /* White background for the lightbox */
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Shadow for the lightbox */
}

.close-button {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	color: #FFA500; /* Orange color for the close button */
}

@media only screen and (max-width: 600px) {
	.lightbox-content {
		max-width: 90%;
	}
}

table {
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

tbody tr:hover {
    background-color: #f5f5f5;
}

th {
    background-color: white;
    color: black;
}

tfoot {
    background-color: #4a524a;
    color: white;
}


main {
    background-color: white;
    padding: 10px 40px 40px 40px;
    display: block;
    text-align: left;
    max-width: 500px;
    margin: auto;
    border-radius: 10px;
}

.cylinder-inputs {
    display: flex;
    flex-direction: row;
}

.cylinder-type {
    width: 25%;
}

.cylinder-amount {
    width: 25%;
}

.add-cylinder {
  width: 25%;
  display: block;
  background-color: white;
  text-decoration: none;
  color: black;
  border: 2px solid black;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

.add-cylinder:hover {
  background-color: black;
  color: white;
}

.add-cylinder span {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.small-text {
    font-size: 14px;
    color: #191516;
}

header {
    text-align: center;
}

h1 {
    font-size: 40px;
    color: #191516;
    font-weight: bold;
}
.hidden {
    display: none;
}

#loading-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-text {
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding-left: 10px;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #f4623a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.note {
    display: block;
    font-size: 16px;
    color: #3CB043;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    margin: 10px;
}

.error {
    display: block;
    font-size: 16px;
    color: #FF0000;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    margin: 10px;
}

form {
    display: flex;
    flex-direction: column;
    font-size: 22px;
}

input {
    outline: none;
    width: 100%;
    padding: 7px;
    font-size: 16px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    background-color: white;
    box-sizing: border-box;
}

#dropdown, option {
    outline: none;
}

select {
    padding: 7px;
}

.signature-container {
	position: relative;
	width: 100%;
	max-width: 450px; /* Adjust the maximum width as needed */
	margin-bottom: 16px;
}

canvas {
	width: 100%;
	max-width: 450px; /* Adjust the maximum width as needed */
	height: auto;
	border: 1px solid #ccc;
}
#clear-button, #save-button {
    display: block;
    margin: 10px;
}

textarea {
    display: block;
}

.form-group {
    padding: 8px 0;
    margin-bottom: 2px;
}

.form-group>label {
    margin-bottom: 8px;
    color: #191516;
    display: block;
    font-weight: 500;
}

/* Remove the default checkbox appearance */
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  align-self: center;
  border: 2px solid #333; /* Border color */
  border-radius: 4px; /* Rounded corners */
  outline: none;
  cursor: pointer;
}

/* Style the checkbox when it's checked */
input[type="checkbox"]:checked {
  background-color: #f4623a; /* Background color when checked */
  border: 2px solid #f4623a; /* Border color when checked */
}

/* Add a checkmark when the checkbox is checked */
input[type="checkbox"]:checked::before {
  content: "\2713"; /* Checkmark symbol */
  display: block;
  text-align: center;
  text-vertical-align: middle;
  font-size: 18px;
  color: #fff; /* Color of the checkmark */
}

/* Hover effect */
input[type="checkbox"]:hover {
  border: 2px solid #555; /* Border color on hover */
}


textarea {
    width: 100%;
    box-sizing: border-box;
    height: 200px;
    resize: none;
    padding: 4px;
    font-size: 16px;
    border: 1px solid #dee2e6;
}

.button {
    width: 100%;
    display: block;
    height: 40px;
    background-color: #f4623a;
    border: none;
    font-weight: bold;
    font-size: 20px;
    color: white;
    box-sizing: border-box;
}

.custom-button {
  display: block;
  width: 100%;
  background-color: white;
  text-decoration: none;
  color: black;
  border: 2px solid black;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
  
}

.custom-button:hover {
  background-color: black;
  color: white;
}

.custom-button img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px; /* Add some space between the image and the text */
}

.custom-button span {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.custom-button-sml {
  display: block;
  width: 50px;
  background-color: white;
  text-decoration: none;
  color: black;
  border: 2px solid black;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
  margin: 10px;
  margin-left: -10px;
}

.custom-button-sml:hover {
  background-color: black;
  color: white;
}

.custom-button-sml span {
  display: block;
  font-size: 24px;
  font-weight: bold;
}


#logo {
	max-width: 100%;
	height: auto;
}

#description {
    text-align: center;
    font-style: italic;
    margin-top: -10px;
}

/* custom circle for radio button*/
[type="radio"]+label::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: #eee;
    left: -27px;
    top: -1px;
    width: 20px;
    height: 20px;
    transition: all 0.4s;
}

/* fill circle with inset shadow when it is selected*/
[type="radio"]:checked+label::before {
    box-shadow: inset 0 0 0 6px #191516;
}


@media (max-width: 540px) {
 main {
        max-width: 380px;
    }
}
@media (max-width: 460px) {
    main {
        max-width: 280px;
    }
    h1 {
        font-size: 32px;
    }
    #description {
        font-size: 15px;
    }
    form {
        font-size: 18px;
    }
    input, textarea {
        font-size: 15px;
    }
    [type="radio"]+label, [type="checkbox"]+label>span {
        font-size: 15px;
    }
}

@media (max-width: 375px) {
 main {
        max-width: 260px;
        padding: 10px 30px 30px 40px;
    }
    h1 {
        font-size: 28px;
    }
    #description {
        font-size: 12px;
    }
    form {
        font-size: 15px;
    }
    input, textarea {
        font-size: 12px;
    }
    [type="radio"]+label, [type="checkbox"]+label>span {
        font-size: 12px;
    }
    button {
        font-size: 18px;
    }
}

@media (max-width: 320px) {
 main {
        max-width: 220px;
    }
}

@media (max-width: 280px) {
 main {
        max-width: 180px;
    }
}