﻿/* Login Styles */
.login {
	background-color: #F9FAFB;
}

.login-container { 

	width: 25rem;
	border-radius: 0.5rem;
	border: 1px solid #dee2e6;
	padding: 2rem;
	background-color: white;
}

.login-container li 
{
  text-align: center;
}

.login-container ul 
{
  list-style-type: none;
  padding: 0;
}

/* Form Fieds */
.lot-field-right {
	max-width: 500px;
}

.lot-field-left {
	max-width: 500px;
	margin: 0 0 0 auto;
}

/* Camera Control */ 
.portait-camera-container 
{
	max-width: 500px;
	margin: 0 auto 1rem auto;
	background-color: white;
	border: 1px solid #dee2e6;
	border-radius: 0.5rem;
	padding: 1rem;
}

.landscape-camera-container 
{
	max-width: 500px;
	margin: 0 auto 1rem auto;
	background-color: white;
	border: 1px solid #dee2e6;
	border-radius: 0.5rem;
	padding: 1rem;
}

.portait-camera-trigger {
	text-align: center;
    padding: 1.5rem;
    border: 3px dashed #dee2e6;
    border-radius: 0.5rem;    
	cursor: pointer;
	position: relative;
	width: 100%;
	max-width: 500px;
	aspect-ratio: 4 / 4;
	margin: 0 auto 1rem auto;
	color: #525B69;
    font-size: 1.5rem;
    font-weight: 500;
	display: flex;
    align-items: center;
    justify-content: center; 
}

.landscape-camera-trigger 
{
	text-align: center;
    padding: 1.5rem;
    border: 3px dashed #dee2e6;
    border-radius: 0.5rem;    
	cursor: pointer;
	position: relative;
	width: 100%;
	max-width: 500px;
	aspect-ratio: 4 / 3;
	margin: 0 auto 1rem auto;
	color: #525B69;
    font-size: 1.5rem;
    font-weight: 500;
	display: flex;
    align-items: center;
    justify-content: center; 

}

.portait-camera-wrapper {
	position: relative;
	width: 100%;
	max-width: 500px;
	aspect-ratio: 4 / 4;
	margin: 0 auto;
}

.landscape-camera-wrapper {
	position: relative;
	width: 100%;
	max-width: 500px;
	aspect-ratio: 4 / 3;
	margin: 0 auto;
}

.camera-icon { 
	color: #9CA3AF;
    font-size: 3rem;
}

.controls {
	margin: 20px 0 0; 

}

.controls button {
	width: 100%;
}

.video,
.canvas {
	max-width: 640px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 0.5rem;
	object-fit: cover;
}

.canvas {
	display: none;
}

/* Process steps */
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  margin: 2rem 0;
}

.step {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}

.circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.label {
  margin-top: 4px;
  font-size: 12px;
  color: #777;
  padding-left: 5px;
}

.step.completed .circle {
  background: #2ecc71; /* green */
}

.step.completed .label {
  color: #2ecc71;
  
}

.step.active .circle {
  background: #2563EB; /* blue */
}

.step.active .label {
  color: #4285f4;
}

.divider {
  width: 40px;
  height: 2px;
  background: #ccc;
  margin: 2px 10px 0px 10px;
}

.divider.active {
  background: #4285f4;
}

@media (max-width: 576px) {
  .step .label {
    display: none;
  }
  .step {
    flex-direction: column;
    align-items: center;
  }
  .circle {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

/*Table styles*/
collector-table{
	border: solid 1px;
	table-layout: auto;
	width: 100%;
}

.details-table {
	padding: .25rem !important;
}


/*Collector Dropdown*/
#collectorDropdown .loading {
	padding: 0.5rem;
	text-align: center;
	font-style: italic;
	color: #999;
}
	#collectorDropdown .dropdown-item {
		cursor: pointer;
	}

	.dropdown-menu { 
		position: absolute; 
		width: 95%; 
		max-height: 200px; 
		overflow-y: auto; 

	}

/*Info box */
.info-box {
	border-radius: 0.5rem;
	border: 1px solid #BFDBFE;
	background-color: #EFF6FF;
	color: #2563EB;
	padding: 1rem;
	margin-bottom: 1rem;
}

.info-box-lot {
	max-width: 500px;
}

.card-number-circle {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    background-color: #EFF6FF;
    color: #0d6efd;
    text-align: center;
    font-weight: bold;
    margin-left: 0.5rem;
}

/*Review pages*/

.item-table {
  border: 2px solid #E5E7EB;
  border-collapse: collapse;
  width: 100%;
}

.item-table th,
.item-table td {
  padding: 0.75rem 1rem !important;
  text-align: left !important;
}

.item-table th {
  font-weight: normal !important;
  background-color: #F9FAFB !important;
  color: #78808C;  
  border: none !important;
  box-shadow: none !important;
}

.item-table > :not(:last-child) > :last-child > * {
    border-bottom: none !important;
}

.submission-details {
	background-color: #F3F4F6;
	border-radius: 0.5rem;
	padding: 2.5rem;
	width: 50%;
	font-size: 1.25rem;
}

.submission-check {
	width: 100px;
	height: 100px;
	font-size: 2.5rem;
	color: #22C55E;
	background-color:#DCFCE7;
}

.submission-items-processed { 
	background-color: #EFF6FF;
}


.lot-review-border-box { 
	max-width: 583px;
	aspect-ratio: 4/3;
}

.lot-review-img {  
	border-radius: 0.5rem;
}



.table-img {
    max-width: 100px;
    max-height: 55px;
    object-fit: cover;
    border-radius: 4px;
	cursor:pointer;
}

@media (max-width: 1199px) {
	.lot-review-border-box { 
		max-width: none;
		aspect-ratio: auto;
	}
}

@media (max-width: 991px) {
	.submission-details {
		width: 75%;
	}
}

@media (max-width: 576px) {
	.submission-details {
		width: 100%;
	}
}