body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f9;
  margin: 1rem;
  /*display: flex;
  justify-content: center;*/
  /*align-items: center;*/
  /*height: 100vh;*/
}

.full-width{
	width: 100% !important;
	max-width: 100%;
}

.head-logo{
	height: 2.5rem;
	z-index: 99999;
}

.grid-14{
	display: grid;
	grid-template-columns: 250px repeat(14, 1fr) !important;
}

.grid-7{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(7, 1fr) !important;
}

.calendar {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.calendar-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
}
.calendar-header button {
  background-color: transparent;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #aaa;
  font-weight: 900;
}

/* Change button color on hover */
.calendar-header button:hover {
  color: #8dc63f !important; /* Green color on hover */
}

/* Style for enabled buttons */
.calendar-header button:not(:disabled) {
  color: #333; /* Darker color for enabled buttons */
}
.calendar-header button:disabled {
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.4;
  pointer-events: none; /* Disable hover effect on disabled buttons */
}

#month-year {
  font-size: 1.2em;
  font-weight: bold;
}
.calendar-weekdays, .calendar-dates {
  /*display: grid;
  grid-template-columns: repeat(14, 1fr);*/
}
.calendar-weekdays div, .calendar-dates div {
  text-align: center;
  /*padding: 10px;*/
}
.calendar-weekdays {
  background-color: #eaeef3;
}
.calendar-weekdays div {
  font-weight: bold;
}
/*.calendar-dates div {
  border-bottom: 1px solid #eaeef3;
  cursor: pointer;
}*/
/*.calendar-dates div:hover {
  background-color: #f1f1f1;
}*/

.day-name {
  font-size: 0.8em;
  color: #666;
}
.day-number {
  font-weight: bold;
  margin-top: 2px;
}

.current-date {
  background-color: rgba(141, 198, 63, 0.9);
  color: #fff;
}

.current-date .day-name{
  color: #fff;
}

.weekend {
  background-color: #ccc;
  /*width: 2rem;*/
}

.calendar-row {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  /*margin-bottom: 5px;*/
}

.calendar-row-location, .calendar-row-locationview{
	border-top: 1px solid #ddd;
}

.calendar-row-location:hover, .calendar-row-locationview:hover {
  background-color: #f1f1f1;
}

.calendar-row-locationview{
	display:flex;
}

.calendar-cell {
  padding: 8px;
  text-align: center;
  border-right: 1px solid #ddd;
  /*height: 40px;*/
  overflow: hidden;
}


.month-header {
  background-color: rgba(141, 198, 63, 0.3);
  font-weight: bold;
}

.month-header:nth-child(2) {
  background-color: rgba(141, 198, 63, 0.5);
  font-weight: bold;
}

.location-label, .location-label-locview {
  font-weight: bold;
  background-color: #f9f9f9;
  padding: 4px;
  text-align: left !important;
  /*border-top: 1px solid #ddd;*/
  /*border-bottom: 1px solid #ddd;*/
}

.location-label-locview{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8px;
    width: 15rem;
}

.job {
  background-color: #ffccfe;
  text-align: center;
  padding: 4px;
  border: 1px solid #ffb3ff;
  border-radius: 4px;
  margin: 1px;
  font-size: 0.8rem;
  cursor: pointer;
}

.job-dispatch-ready{
	background-color: rgba(141, 198, 63, 0.5);
	border: 1px solid rgba(141, 198, 63, 1);
	cursor: pointer;
}

.company-style{
	font-size: 0.7rem;
    line-height: normal;
    color: #717171;
}

.recipient-company-style{
	font-size: 0.7rem;
    line-height: normal;
	font-weight: 600;
    color: #ed1c24;
}

.delivery-hour{
	font-size: 0.9rem;
	font-weight: 600;
    color: #ed1c24;
	line-height: normal;
	/*text-decoration-color: #ed1c24;
	text-decoration-line: underline;
	text-decoration-style: wavy;*/
}

.compact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

/*.calendar-cell.job {
  background-color: #f5f5f5;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-size: 14px;
}*/



.radioSelection {
  display: flex;
  flex-direction: row; /* Stack elements vertically */
  align-items: center;    /* Center horizontally */
  justify-content: center; /* Center vertically (if needed) */
  text-align: center;
  padding: 10px; /* optional spacing */
}
.radio-container {
  margin: 5px 0;
}

/* The radio-container */
.radio-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-left: 0.5rem;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ccc;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-container:hover input ~ .checkmark {
  background-color: rgba(141,198,63, .35);
}

/* When the radio button is checked, add a blue background */
.radio-container input:checked ~ .checkmark {
  background-color: #8dc63f;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-container .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

/* Order details modal */
.modal        {position:fixed;inset:0;display:flex;align-items:center;
               justify-content:center;background:#0008;z-index:1000}
.modal.hidden {display:none}
.modal-content{
	background:#fff;
	padding:1.5rem;
	border-radius:8px;
	max-height:80vh;
	overflow:auto;
	min-width:40vw;
	max-width:80vw;
	width:fit-content;
}
.modal-close  {float:right;font-size:1.2rem;cursor:pointer}
.modal-company {margin-top:-.3rem;color:#666}
#modal-items  {width:100%;border-collapse:collapse;margin-top:.7rem}
#modal-items th,#modal-items td{border:1px solid #ddd;padding:4px 6px}
#modal-items thead{background:#f2f2f2;font-weight:600}
.modal-details{
	display: flex;
    flex-direction: row;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.modal-status{
	font-weight: 900;
}

.ready{
	color: #8dc63f;
}

.komision{
	color: #ffb3ff;
}

.modal-delivered-button {
  margin-top: 16px;
  padding: 10px 20px;
  background-color: #8dc63f;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.confirm-dialog {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 300px;
  font-family: sans-serif;
}

.confirm-overlay.hidden, .confirm-dialog.hidden {display:none}

.confirm-dialog p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
}

.confirm-button {
  padding: 8px 16px;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.confirm-button.yes {
  background-color: #8dc63f;
  color: white;
}

.confirm-button.cancel {
  background-color: #ed1c24;
  color: white;
}

/*LOGIN page*/

.login-body {
            font-family: Arial, sans-serif;
            background: #f3f3f3;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

.login-box {
	background: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	width: 25rem;
	text-align: center;
	}
.login-box h2 {
	margin: 0.5rem;
	text-align: center;
}
.login-box input[type="text"], .login-box input[type="password"] {
	width: 100%;
	padding: 10px;
	margin: 8px 0 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.login-box input[type="submit"] {
	width: 100%;
	padding: 10px;
	background: #007BFF;
	border: none;
	color: white;
	border-radius: 4px;
	cursor: pointer;
	
}
.login-box input[type="submit"]:hover {
	background: #8dc63f;
	}
.message {
	text-align: center;
	margin-top: 10px;
	color: red; }



@media (max-width: 400px) {
  .calendar {
    width: 100%;
    margin: 0 10px;
  }
}


@media (min-width: 1000px){

	#blurOverlay {
		position: absolute;
		width: 100%;
		height: 100%;
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
		background-color: rgba(255, 255, 255, 0.2);
		pointer-events: all;
		z-index: 9999;
		display: none;
	}
	
	.container.full-width {
		position: relative;
	}
}