/* Print page stuff */
.model-button {
    display: inline-block;
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
  }

  .model-button.selected {
    background-color: #e0e0e0;
  }

  .model-button:hover {
    background-color: #f0f0f0;
  }

  .model-button span {
    margin-right: 10px;
  }

  .delete-button {
    width: 20px;
    height: 20px;
    background-image: url('/uploads/files/draftDelButton.svg');
    background-size: cover;
    background-color: transparent;
    border: none;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
  }

  .delete-button:hover {
    opacity: 1;
  }



.shipping-option {
    cursor: pointer;
    padding: 10px;
	flex-direction: row;
}

.shipping-option.selected {
    border: 2px solid #007bff; /* Highlight color */
	flex-direction: row;
}


.units-holder{
  flex-basis: 70%;
  display: flex;
  align-items: center;
	
}

.bad-connection-icon {
  display: flex;
  opacity: 0;
  align-items: center;
  transition: opacity 1.0s;
}

.bad-connection-icon img {
  width: 32px;
  height: 32px;
}

.upload-params {
  display: none;
  text-align: center;
  padding: 20px;
  max-width: 300px;
  margin: 0 auto;
}

.upload-params p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.upload-params span {
  font-weight: normal;
  color: #555;
}

.upload-params p:last-child {
  margin-bottom: 0;
}
.remove-entry {
	

	  background-image: url('/uploads/files/draftDelButton.svg');
	  background-size: cover;
	  height: 40px;
	  border: 0;
	  background-size: 100%;
	  background-size: 40px auto;
	  width: 40px;
	  background-color: transparent;

	
}
.object-name {
	
	flex-basis:100% !important;
	
}
.remove-entry:hover {
	
	cursor: pointer;
}
	
.above-entry{
	margin-bottom: 10px;
	display: flex;
	flex-direction:column;
}
.lower {
	display:flex;
	margin-top:5px;
	
}

.entry {
	align-items: center;
	display: flex;
	width: 100%;
}

.entry input {


}
#add-entry {

    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
	width: 120px;

}
.multicolor-entries-container {
	flex-basis: 70%;
}
#multiColor-entries {
    margin-top: 10px;
}
.color-box {
    width: 30px;
    height: 30px;
    display: inline-block;
    border: 1px solid #000;
    margin-right: 10px;
    cursor: pointer;
}
.multi-color-box {
    width: 30px;
    height: 30px;
    display: inline-block;
    border: 1px solid #000;
    margin-right: 10px;
    cursor: pointer;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
}

.color-option {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid #000;
    cursor: pointer;
}

.hidden {
    display: none;
}
#print-page-scale-warning {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e70e0e;
  top: -55px;
  position: relative;
}
.checkmark-image {
    position: absolute;
    top: 50%;
	width: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 2; /* Ensure the image is above the overlay */
    transition: opacity 0.8s ease; /* Smooth fade effect */
}


.iframe-container {
        position: relative;
        width: 100%;
        height: 60vh;
        display: flex;
        justify-content: center;
        align-items: center;
		top: -60px;
		border: 1px solid #ccc;
		border-radius: 10px;
		overflow: hidden;
}

.iframe-container iframe {
        width: 100%; /* Adjust width as needed */
        height: 100%; /* Adjust height as needed */
}



.conf-hover-text {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.conf-pop-up {
  visibility: hidden;
  width: 220px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
}

.conf-hover-text:hover .conf-pop-up {
  visibility: visible;
  opacity: 1;
}

/* Optional: Adds an arrow to the pop-up */
.conf-pop-up::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}






.ref-hover-text {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.ref-pop-up {
  visibility: hidden;
  width: 220px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
}

.ref-hover-text:hover .ref-pop-up {
  visibility: visible;
  opacity: 1;
}

/* Optional: Adds an arrow to the pop-up */
.ref-pop-up::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}











.overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1; /* Ensure the overlay is behind the image */
    display: none; /* Initially hidden */
	transition: opacity 0.8s ease;
	transform: translateY(-108.5%);
	
}
.submit-button {
    display:none;
    margin-top: 20px; /* Add margin to top for spacing */
    opacity: 0;
    transition: opacity 0.3s;
    border: none;
	padding: 8px 16px;
    width: 100%;
    background-color: #e70e0e;
    border-radius: 5px; /* Rounded corners for buttons */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    min-height: 50px;
    color: white;
	transform: translateY(0%);
}
.new-user-verification {

	
	background-color: #fff; /* Light background to stand out */
    border: 1px solid #ddd; /* Subtle border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Soft shadow for floating effect */
    padding: 20px;
	width: 100%;
	margin-top: 0px;
	top: -40px;
    position: relative;
}

.known-user-verification {

	
	background-color: #fff; /* Light background to stand out */
    border: 1px solid #ddd; /* Subtle border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Soft shadow for floating effect */
    padding: 20px;
	
	
	width: 100%;
	margin-top: 44px;
	top: -40px;
    position: relative;
	
}
.or {

	background-image: url('/uploads/files/vs.png');
	background-image: url('/uploads/files/vs2.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px auto;
	width: 100%; /* Set the width of the div */
	height: 32px; /* Set the height of the div */
	transform: translateY(0%);
	margin-top: 0px;
	top: -40px;
    position: relative;

}
.verification-block {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
	flex-direction: column;
}






.verification-group {
	display: flex;
    flex-direction: column;
	margin-bottom: 10px;
	position: relative;
}
.settings-sign {
	display: flex;
    flex-direction: column;
	width: calc(50% - 10px);
	margin-bottom: 20px;
	top: -40px;
    position: relative;
	flex-basis: 64%;
}
.settings-sign h1 {
    font-size: 30px;
}
.verif-sign {
	display: flex;
    flex-direction: column;
	width: calc(50% - 10px);
	margin-bottom: 20px;
	margin-left: 2%;
	flex-basis: 34%;
}




.print-page-container {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}

.settings-block {
    width: 100%; /* Adjust width and ensure there's a gap */
	
	background-color: #fff; /* Light background to stand out */
    border: 1px solid #ddd; /* Subtle border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Soft shadow for floating effect */
    padding: 20px;
	
}



.settings-group, .settings-group-multiColor, .settings-group-solidColor {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.settings-group label, .settings-group-multiColor label, .settings-group-solidColor label, .verification-group label {
    flex-basis: 30%; /* Adjust label width */
}

.settings-group select, .settings-group-multiColor select, .settings-group-solidColor select, .settings-group input, .settings-group-multiColor input, .settings-group-solidColor input, .verification-group input {
    flex-basis: 70%; /* Adjust input width */
	height: 38px;
}
.pay-page {
	display: none;
}


.submit-button:hover {
    background-color: #8c0808;
	
}









.verification-method {
    display: flex;
    justify-content: space-between;
}



.verification-action {
    text-align: center;
	bottom: 0px;
	
}

.verification-action button {
    margin: 0 20px;
    border: none;
    width: calc(50% - 10px);
    background-color: #e70e0e;
    border-radius: 5px; /* Rounded corners for buttons */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    min-height: 50px;
    color: white;
   
}

.verification-action button:hover {
   background-color: #8c0808;
}





.upload-container {
    position: relative;
    width: 100%;
    height: 50px;
  border-radius:10px;
  border:1px solid #111;
    overflow: hidden;
}

.upload-animation {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #e70e0e;
    transition: width 1.0s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
}

.slicing-message {
	
    font-size: 12px; /* Set the font size to make it small */
    text-align: center; /* Center align the text */
    margin-top: 5px;  /* Add some top margin for spacing */
}

.slicing-loader { 
  margin:0 auto;
  border-radius:10px;
  border:4px solid transparent;
  position:relative;
  padding:1px;
}
.slicing-loader:before {
  content:'';
  border:1px solid #111; 
  border-radius:10px;
  position:absolute;
  top:-4px; 
  right:-4px; 
  bottom:-4px; 
  left:-4px;
}
.slicing-loader .slicing-loaderBar { 
  position:absolute;
  border-radius:10px;
  top:0;
  right:100%;
  bottom:0;
  left:0;
  background:#e70e0e; 
  width:0;
  animation:borealisBar 2s linear infinite;
}

@keyframes borealisBar {
  0% {
    left:0%;
    right:100%;
    width:0%;
  }
  10% {
    left:0%;
    right:75%;
    width:25%;
  }
  90% {
    right:0%;
    left:75%;
    width:25%;
  }
  100% {
    left:100%;
    right:0%;
    width:0%;
  }
}
.game-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex: 1;

}
#gameCanvas {
  border:1px solid #111; 
  border-radius:10px;
}

.game-choice-container {

  overflow: hidden;
}
.game-overlay-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.game-choice {
  display: none;
  padding: 20px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
  flex-direction: column;
  animation: slideIn 0.5s forwards;
}
@keyframes slideIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

.game-choice span {
  display: block;
}
.game-choice-buttons {
	display: flex;
	justify-content: center;
    margin-top: 10px;
}


.game-choice button:hover {
  background-color: #0056b3;
}
#restartButton, #game-choice-no, #game-choice-yes {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0095DD;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#game-choice-yes{
	
	margin-right: 10px;
}

#game-choice-no {
	
	margin-left: 10px;
}

#restartButton:hover, #game-choice-no:hover, #game-choice-yes:hover {
    background-color: #0077CC;
}
/* PayPage Stuff */
.model-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
}

.model-details {
    flex: 1;
    text-align: center;
}

	.model-details img {
		width: 100%; /* Make the image fill the container */
		max-width: 800px; /* Limit the maximum width */
		height: auto; /* Maintain aspect ratio */
		border-radius: 8px; /* Add rounded corners */
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
		margin-bottom: 20px; /* Add some top margin */
	}

.summary-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.summary-breakdown div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-breakdown span:first-child {
    font-weight: bold;
    color: #333;
}

.summary-breakdown span:last-child {
    color: #888;
}

.horizontal-line {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}



.resetBtn {
    display: none;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
	width: 110px;
	margin-left: 10px;
}

.resetBtn:hover {
    background-color: #0056b3;
}

.resetBtn:focus {
    outline: none;
}
.addMoreModelsBtn {
    display: none;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
	width: 110px;
	margin-left: 10px;
}

.addMoreModelsBtn:hover {
    background-color: #0056b3;
}

.addMoreModelsBtn:focus {
    outline: none;
}




.startOverBtn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
	width: 110px;
}

.startOverBtn:hover {
    background-color: #0056b3;
}

.startOverBtn:focus {
    outline: none;
}
.shipping-info {
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
}

.shipping-info h3 {
    margin-bottom: 20px;

    color: #333;
}

.shipping-inputs {
    display: flex;
    flex-direction: column;
}

.shipping-inputs div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.shipping-inputs span {

	margin-right: 10px;
}

.shipping-inputs input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

@media (max-width: 850px) {
    .model-info {
        flex-direction: column;
    }

    .model-details {
        order: 1; /* Move model-details to the top */
    }

    .summary-breakdown {
        order: 2; /* Move summary-breakdown to the bottom */
    }
	.model-details img {
		max-width: 400px; /* Limit the maximum width */
	}

}

/* End PayPage Stuff */









/* Design page stuff */

.input-sign {
	display: flex;
    flex-direction: column;
	width: calc(50% - 10px);
	margin-bottom: 20px;
}
.verif-sign {
	display: flex;
    flex-direction: column;
	width: calc(50% - 10px);
	margin-bottom: 20px;
	margin-left: 2%;
	flex-basis: 34%;
}

.verification-block {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
}

.design-page-container {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}

.input-block {
    width: 100%; /* Adjust width and ensure there's a gap */
	background-color: #fff; /* Light background to stand out */
    border: 1px solid #ddd; /* Subtle border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Soft shadow for floating effect */
    padding: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.input-group label, .verification-group label {
    flex-basis: 30%; /* Adjust label width */
}

.input-group textarea {
	width: 100%;
}

.input-group select, .input-group input, .verification-group input {
    flex-basis: 70%; /* Adjust input width */
}


















/* dynamic stuff */
/* Adjust layout for screens with max-width of 1000px */
@media (max-width: 1400px) {
    

	.overlay {
		transform: translateY(-108.5%);
		/*transform: translateX(-100%);*/
	}
	.submit-button {
		transform: translateY(0%);
	}
	
	
	.new-user-verification {
		width: 100%;
		margin-top: 0px;
	}

	.known-user-verification {
		width: 100%;
		margin-top: 44px;
	}	
	.or {
		background-image: url('/uploads/files/vs.png');
		background-image: url('/uploads/files/vs2.png');
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		background-size: 32px auto;
		width: 100%; /* Set the width of the div */
		height: 32px; /* Set the height of the div */
		transform: translateY(0%);
		margin-top: 0px;
	}
	.verification-block {
		flex-direction: column;
	}

}


@media (max-width: 1000px) {
	
	.overlay {
		transform: translateY(-108.5%)!important;
		transform: translateX(0%);
		/*height: 48vh;*/
	}
	.submit-button {
		/*transform: translateY(-48vh);*/
	}
	
    .print-page-container {
		flex-direction: column;
	}
	.settings-block {
		width: 100%;
	}
	.verification-block {
		width: 100%;
	}
	.new-user-verification {
		width: 100%;
	}

	.known-user-verification {
		width: 100%;
		margin-top: 0px;
	}
	.verif-sign {
		width: 100%;
		margin-left: 0%;
	}
	.settings-sign {
		width: 100%;
		flex-basis: 100%;
	}
	.or {
		background-image: url('/uploads/files/vs.png');
		background-image: url('/uploads/files/vs2.png');
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		background-size: 32px auto;
		width: 100%; /* Set the width of the div */
		height: 32px; /* Set the height of the div */
		transform: translateY(0%);
		
		margin-top: 0px;
	}
	
	
	
	.design-page-container {
		flex-direction: column;
	}
	.input-block {
		width: 100%;
	}
	.input-sign {
		width: 100%;
	}
}