﻿/* Pages: page-specific selectors and their media queries */
/* ==== Begin from root-styles.css ==== */

ï»¿/*===========================
     General Front Pages
===========================*/
.login-container {
	background-color: white;
	padding: 20px;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
}


/* ==== End of root-styles.css ==== */


/* ==== Begin from core-styles.css ==== */

.dispatch-popup {
	min-width: 320px;
}

#customer-container {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	background-color: #f5f5f5;
	height: calc(100vh - 43px);
}

.signup-status {
	display: flex;
	justify-content: center;
	align-items: center;
}

#dispatchLink {
	width: 75px;
}

#selectTrigger, #add-marker-set-button, #delete-marker-set-button, #select-all-markers-button, #rotate-left-button, #rotate-right-button {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

#add-marker-set-button {
	background-image: url('../images/add.png');
}

#delete-marker-set-button {
	background-image: url('../images/subtract.png');
}

#select-all-markers-button {
	background-image: url('../images/dispatch-select.png');
}

#flip-box-markers-button {
	background-image: url('../images/dispatch-door.png');
}

#toggle-truck-markers-button {
	background-image: url('../images/dispatch-fit.png');
}

#rotate-left-button {
	background-image: url('../images/left-white.png');
}

#rotate-right-button {
	background-image: url('../images/right-white.png');
}

#dispatch-container {
	height: 100%;
}

#dispatch-review-container {
	height: 100%;
}

#dispatcher-select-container {
	position: static;
	bottom: auto;
	left: auto;
}

@media (max-width: 760px) {
#dispatcher-select-container {
	position: absolute;
	bottom: 210px;
	left: 5px;
}
#review-select-container {
	position: absolute;
	bottom: 100px;
	left: 0px;
}

#dispatch-container {
	flex-direction: column-reverse;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	background-color: #f0f0f0;
	height: 100%;
}
#dispatch-review-container {
	flex-direction: column-reverse;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	background-color: #f0f0f0;
	height: auto;
}
.dispatch-controls {
	width: 100%;
}
#link-container {
	justify-content: flex-end;
}
.logo img {
	height: 30px;
}
#contactLink {
	margin-right: 0px;
}
.public-header-link {
	margin-right: 0px;
}
.dropdown-menu {
	top: 78px;
	right: 60px;
	z-index: 10;
}
.footer {
	flex-direction: column;
}
#left-div {
	flex-direction: column;
	padding-left: 0px;
}
#left-div {
	margin-bottom: 10px;
	background-color: #333333;
}
.mobile-warning {
	display: flex;
}
#header {
	flex-direction: column;
}
.public-header {
	flex-direction: column;
}
.signup-status {
	justify-content: space-around;
}
#sidebar-top-controls {
	max-width: 760px;
	width: 100%;
}
#map-container {
	min-height: 300px;
}
.signup-status a[href="signup.php"] {
	display: none;
}
.logo-title {
	font-size: 2.0rem;
}
#sidebar {
	width: 100%;
}
#reset-map-button {
	width: 200px;
}
}


/* ==== End of core-styles.css ==== */

/* ==== Begin from shared-styles.css ==== */

ï»¿/*===========================
      Side Bar
===========================*/
#sidebar {
	width: 350px;
	padding: 10px;
	background-color: #f0f0f0;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1);
}

#sidebar-top-controls {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #f0f0f0;
	max-width: 350px;
	height: 100%;
}

.dispatch:active, .customer-button:active, .driver-button:active {
	transform: scale(0.95);
	opacity: 0.8;
}

.dispatch:active {
	transform: scale(0.95);
	opacity: 0.8;
}

#location-input, #customer-name-input, #customer-contact-input, #unique-id-input {
	width: calc(100% - 20px);
	padding: 10px;
	margin: 5px 10px;
	font-size: 1rem;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: border-color 0.3s ease-in-out;
}

#map-container {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	flex: 1;
}

#map {
	flex: 1;
	display: block;
	height: 100%;
	position: relative;
}

#dispatcher-map-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: #888;
	height: 100%;
	background-color: #d7d7d7;
	font-size: 32px;
}

#dispatch-button-container {
	flex-direction: column;
	background-color: #dfdfdf;
	display: none;
}

.dispatch-buttons {
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
	max-width: 500px;
}

.dispatch {
	background-color: #ffffff;
	background-size: cover;
	border-radius: 5px;
	cursor: pointer;
	height: 45px;
	width: 45px;
	border: none;
}

#selectTrigger, #add-marker-set-button, #delete-marker-set-button, #select-all-markers-button, #rotate-left-button, #rotate-right-button {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

#add-marker-set-button {
	background-image: url(../images/add.png);
}

#add-marker-set-button:hover, #delete-marker-set-button:hover, #select-all-markers-button:hover, #toggle-truck-markers-button:hover {
}

#delete-marker-set-button {
	background-image: url(../images/subtract.png);
}

#rotate-left-button {
	background-image: url(../images/left-white.png);
	background-color: #3478f5;
}

#rotate-left-button:hover, #rotate-right-button:hover {
}

#rotate-right-button {
	background-image: url(../images/right-white.png);
	background-color: #3478f5;
}

#toggle-truck-markers-button {
	background-image: url(../images/dispatch-fit.png);
}

#flip-box-markers-button {
	background-image: url(../images/dispatch-door.png);
}

#select-all-markers-button {
	background-image: url(../images/dispatch-select.png);
}

#add-marker-set-button.dispatch, #delete-marker-set-button.dispatch, #select-all-markers-button.dispatch {
	height: 45px;
	width: 45px;
}

#dispatch-review-button-container {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #dfdfdf;
	display: none;
}

#unlock-modal, #notify-modal, #delete-modal, #notify-delete {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	padding: 20px;
	display: none;
	z-index: 1000;
}

.key-modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	padding: 20px;
	max-width: 700px;
}

.key-modal.show {
	display: block;
	animation: fadeIn 0.3s ease-in-out;
}

.key-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

.key-modal-overlay.show {
	display: block;
}

.thank-you-container {
	background-color: #fff;
	margin: 20px;
	border-radius: 10px;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
	max-width: 600px;
	width: 80%;
	padding: 20px;
}

#driver-form {
	width: 95%;
	max-width: 450px;
}

.dashboard-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
	margin-bottom: 30px;
}

.dashboard-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	text-decoration: none;
	border: 2px solid #ccc;
	border-radius: 10px;
	background-color: #f9f9f9;
	transition: background-color 0.3s, border-color 0.3s;
	width: 375px;
	height: 135px;
}

.dashboard-item:hover {
	background-color: #e6e6e6;
	border-color: #888;
}

.dashboard-item img {
	max-width: 50px;
	height: auto;
	margin-bottom: 10px;
}

.dashboard-item div {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.equipment-container {
	display: flex;
	flex-direction: column;
	overflow-x: auto;
	padding: 20px;
	border: 1px solid #ddd;
	background-color: #f9f9f9;
	gap: 15px;
}

.equipment-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.equipment-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	margin-right: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 15px;
	background-color: #ffffff;
	box-sizing: border-box;
	position: relative;
}

.equipment-item:nth-child(even) {
    background-color: #e0e0e0;
}

.equipment-item:hover {
}

.settings-container {
	background-color: white;
	padding: 15px 20px;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	width: 100%;
	max-width: 1000px;
	text-align: center;
	margin-top: 10px;
}

.manage-equipment-container {
	background-color: white;
	padding: 15px 20px;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	max-width: 1000px;
	text-align: center;
	margin-top: 10px;
	width: 100%;
}

#driver-form {
	width: 95%;
	max-width: 450px;
}

.manage-driver-input {
	padding: 10px;
	margin: 0px 0;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

#driver_name, #driver_email {
	margin: 0px 0;
}

#driver_password {
	max-width: 150px;
}

#driver_password {
	max-width: 100%;
}


/* ==== End of shared-styles.css ==== */

/* ==== Begin from users.css ==== */

ï»¿#customer-container {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	background-color: #f5f5f5;
	height: calc(100vh - 43px);
}

.customer-button-bg {
	background-color: #2c2c2e;
	display: flex;
	justify-content: center;
	width: 100%;
	z-index: 100;
}

#customer-button-container {
	display: flex;
	justify-content: space-around;
	background-color: #2c2c2e;
	width: 100%;
	max-width: 600px;
}

#customer-map-controls {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	position: absolute;
	bottom: 20px;
	width: 60px;
	height: 260px;
}

#customer-select-trigger {
	height: 45px;
	width: 45px;
}

#customer-select-trigger img {
	height: 100%;
	width: auto;
}

#select-all-markers-button {
	background-image: url(../images/dispatch-select.png);
	background-color: white;
}

#delete-marker-set-button, #add-marker-set-button, #select-all-markers-button {
	left: 10px;
	z-index: 1;
	background-color: #ffffff;
	background-size: cover;
	border-radius: 5px;
	cursor: pointer;
	height: 40px;
	width: 40px;
	border: 0px;
}

#selectTrigger, #add-marker-set-button, #delete-marker-set-button, #select-all-markers-button, #rotateLeftButton, #rotateRightButton {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.key-modal.show {
	display: block;
	animation: fadeIn 0.3s ease-in-out;
}

.key-modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	padding: 20px;
	max-width: 700px;
}

#view-map {
	background-color: #4CAF50;
	padding: 15px;
	margin-bottom: 10px;
	margin-top: 40px;
}

#clear-map {
	padding: 15px;
}

#toggle-truck-btn {
	bottom: 125px;
	background-image: url('../images/shut-toggle-truck.png');
	background-color: white;
	z-index: 5;
}

#exit-map-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 8px;
	right: 10px;
	width: 40px;
	height: 40px;
	z-index: 999;
	background-image: url('../images/exit-bg.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-color: white;
	color: white;
	z-index: 100;
}

#get-directions-btn{
	bottom: 45px;
	background-image: url('../images/directions-bg.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-color: white;
	z-index: 100;
}

.map-control-button {
	position: absolute;
	left: 15px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	cursor: pointer;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.2s ease;
	background-color: white;
}


/* ==== End of users.css ==== */
