.calendar {
  width: 100%;
  /*max-width: 800px;*/
  margin: auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.today {
  border: 2px solid #3498db;
  border-radius: 50%;
  font-weight: bold;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #3498db;
  color: #fff;
  padding: 15px;
}

.form-inline {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
/* form alignment */
/* align inline form labels to left and inputs to right */
.form-inline label {
  margin-right: 10px;
  text-align: left;
  width: 40%;
}

.form-inline input {
  flex: 1;
  box-sizing: border-box;
  margin-left: 10px;
}

.close {
  background-color: blue;
}

.calendar-header button {
  background: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #ddd;
}
.day,
.day-name {
  padding: 15px;
  background: #fff;
  min-height: 10px;
  position: relative;
  cursor: pointer;
}
.day-name {
  background: #eee;
  font-weight: bold;
  text-align: center;
}
.event {
  background: #3498db;
  color: #fff;
  font-size: 12px;
  padding: 2px 5px;
  margin-top: 5px;
  border-radius: 3px;
  display: inline-block;
  cursor: pointer;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}
.modal-content h2 {
  margin-top: 0;
}
.modal-content input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}
.update {
  background: #3498db;
}
.save {
  background: rgb(9, 168, 30);
}
.danger {
  background: rgb(241, 18, 10);
}
.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: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.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);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#backdrop {
  height: 100%;
  width: 100%;
  opacity: 0.5;
  background-color: #ecf0f1;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  display: none;
}
#popup {
  position: fixed;
  left: 25%;
  top: 25%;
  min-height: 25%;
  width: 50%;
  z-index: 102;
  background-color: 0, 0, 0;
  text-align: center;
  border-radius: 15px;
  display: none;
}

#employeestatusinfo {
  display: none;
}

#saveupdatecallbutton {
  display: none;
}

#editemployeediv {
  display: none;
}

.urgent {
  background-color: #fc427b;
}

.normal {
  background-color: #f8efba;
  color: black;
}

#prioritydiv {
  display: inline;
}

.low {
  background-color: #55e6c1;
  color: black;
}

.allocated {
  background-color: #1b9cfc;
}

.complete {
  background-color: #ffffff;
}

#editcallnotesstatus {
  display: none;
}

.card {
  margin-bottom: 3px;
}

.rowspacing {
  margin-top: 5px;
  margin-bottom: 5px;
}

#loginsuccess {
  display: none;
}

#callsuccess {
  display: none;
}

#callfailed {
  display: none;
}

#loginfailed {
  display: none;
}

#signupsuccess {
  display: none;
}

#signupfailed {
  display: none;
}

div {
  border: 0px solid black;
}

.callitem {
  color: white;
}

.black {
  background: black;
}

#editcustomeraccountcard {
  display: none;
}

#editcustomercontactcard {
  display: none;
}

#editcustomernotescard {
  display: none;
}

#editcustomercontractscard {
  display: none;
}

.fullwidth {
  width: 100%;
  margin-top: 8px;
}

#newcustomersection {
  display: none;
}

.spacetop {
  margin-top: 5px;
}

#addnewcontact {
  display: none;
}

#addcontract {
  display: none;
}

#newCustomerError {
  display: none;
}

textarea {
  width: 100%;
  height: 200px;
}

#solutiondiv {
  width: 100%;
}

#callsolutioncard {
  display: none;
}

#calltable {
  border: 1px solid black;
  color: black;
  width: 90%;
}

th,
td {
  border: 1px solid black;
  padding: 3px;
}

#newcall {
  display: none;
}

#forgottenpasswordalert {
  display: none;
}

#nousername {
  display: none;
}

#resetsuccess {
  display: none;
}

#resetfailed {
  display: none;
}

#reports {
  background-color: gainsboro;
  padding: 5px;
  margin: 5px;
}

#callnodropdown {
  display: none;
}

#calldatedropdown {
  display: none;
}

#callcustdropdown {
  display: none;
}

#expiredcontractsdropdown {
  display: none;
}

.menustyle {
  cursor: pointer;
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.menustyle:hover {
  background-color: #a7c1e3;
}

a:hover {
  background-color: #a7c1e3;
}

.active:hover {
  background-color: #a7c1e3;
}

#knowledgeTable {
  width: 80%;
}
/* Modernized Jumbotron */
.jumbotron {
  background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", sans-serif;
}

.nav-link:hover {
  background-color: #a7c1e3;
}

.nav-tabs:hover {
  background-color: #a7c1e3;
}

.nav-item:hover {
  background-color: #a7c1e3;
}

#chatlist {
  padding: 1.5rem;
  display: none;
}

#uploadmessage {
  display: none;
}

#sendmessage {
  display: none;
}

.container-fluid {
  width: 95%;
}

#callproblemcard {
  display: none;
}

#callsolutioncard {
  display: none;
}

#callsolutiondiv {
  border: 1px solid black;
  border-radius: 8px;
  padding: 10px;
}

#updatebuttons {
  display: none;
}

#callsolutiontextarea {
  display: none;
}

@media only screen and (max-width: 800px) {
  .menustyle {
    cursor: pointer;
    margin-right: 0.1rem;
    padding: 0.2rem 0.2rem;
    border-radius: 0.2rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
  }

  /* Adjustments for small screens remove display-4 class from customerlogin.php headers */
  h1.display-4 {
    font-size: 1.5rem;
  }
  h2.display-4 {
    font-size: 1rem;
  }
  .btn-group {
    row-gap: 1;
  }

  .jumbotron {
    width: 100%;
  }
  body {
    line-height: 1;
    overflow-x: hidden;
  }
}

@media (max-width: 600px) {
  .calendar-grid {
    font-size: 12px;
  }
  .day {
    padding: 0;
  }

  .day-name {
    padding: 0;
  }
}
