/* Add your styles for the dashboard header and content here */
.bi {
	vertical-align: -.125em;
	fill: currentColor;
}
	
.form-signin {
  max-width: 430px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
	
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
}

.left-section h1 {
    font-size: 24px;
}

.dashboard-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dashboard-nav li {
    display: inline-block;
    margin-right: 20px;
}

.dashboard-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.dark-light-toggle {
    display: flex;
    align-items: center;
    color: #fff;
}

.toggle-label {
    margin-right: 5px;
}

.toggle-switch .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.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: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}

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

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

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

.action-icons {
	text-align: center;
}

.action-icons .edit-icon,
.action-icons .delete-icon {
	margin: 0 5px;
	cursor: pointer;
}

#editable-form {
	display: none;
	background-color: #fff;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	margin-top: 20px;
}

/* Style the map container */
#map {
	height: 400px;
	width: 100%;
}

/* Style the modal for different screen sizes */
.modal-dialog {
	max-width: 600px;
	width: auto;
}

@media screen and (max-width: 767px) {
	.modal-dialog {
		margin: 10px; /* Give some spacing around the modal on small screens */
		width: calc(100% - 20px); /* Full width minus margin */
	}
	.modal-content {
		overflow-y: auto; /* Make modal scrollable */
		height: calc(100vh - 20px); /* Full viewport height minus margin */
	}
	.modal-body {
		padding: 15px;
		overflow-y: auto;
		height: calc(100vh - 110px); /* Adjusted for header and footer height */
	}
	.modal-footer {
		position: sticky;
		bottom: 0;
		background-color: #f5f5f5;
		z-index: 1;
	}
}

/* Style the questions */
.question {
	margin-bottom: 10px;
}

.question label {
	font-weight: bold;
}

.question input[type="radio"] {
	margin-right: 5px;
}

/* Infowindow Custom Style */
.gm-style .gm-style-iw {
	font-family: 'Roboto', sans-serif;
	padding: 10px;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

/* Infowindow Content Style */
#content {
	font-size: 14px;
	line-height: 1.6;
}

/* Ensure content does not overflow on small devices */
@media screen and (max-width: 480px) {
	#content {
		font-size: 12px;
	}

	#content button {
		padding: 3px 6px;
		font-size: 11px;
	}
}

/* Infowindow Title Style */
#content p b {
	font-weight: 500;
}

/* Infowindow Button Style */
#content button {
	margin-top: 5px;
	padding: 3px 8px;
	font-size: 12px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

/* Infowindow Edit Button Style */
#content button:first-child {
	background-color: #337ab7;
	color: white;
}

/* Infowindow Delete Button Style */
#content button:last-child {
	background-color: #d9534f;
	color: white;
	margin-left: 5px;
}

#content .edit-button {
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 5px 10px;
	margin-top: 5px;
	cursor: pointer;
	text-align: center;
	display: inline-block;
	font-size: 14px;
	line-height: 1.5;
}

#content .delete-button {
	background-color: red;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 5px 10px;
	margin-top: 5px;
	cursor: pointer;
	text-align: center;
	display: inline-block;
	font-size: 14px;
	line-height: 1.5;
}

.pin-instruction-card .card-header {
	font-size: 0.9rem;
	padding: 0.5rem 1rem; /* Smaller padding */
	cursor: pointer; /* Change cursor to indicate clickable */
}

.pin-instruction-card .card-body {
	font-size: 0.8rem;
	display: none; /* Initially hidden, show on click */
}

.pin-instruction-card .drag-handle {
	cursor: grab;
	padding: 0.3rem;
	text-align: center;
}

/* Style for the drag handle */
.pin-instruction-card .drag-handle::before {
	content: '≡'; /* Represents the handle visually */
	font-size: 1.2rem;
}

/* Smaller action icons in the instruction card */
.pin-instruction-card .action-icons .edit-icon, 
.pin-instruction-card .action-icons .delete-icon {
	font-size: 0.8rem;
	margin: 0 3px;
}

.hidden {
	display: none;
}	
.disabled_btn {
	background-color: #ccc !important; 
	cursor: not-allowed !important;
	pointer-events: none !important;
	opacity: 0.7 !important;
}