* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  background-color: #f4f4f4;
}*/

/* Sidebar base (hidden) */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background-color: #801810;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

/* Sidebar visible */
.sidebar.sidebar-active {
  transform: translateX(0);
}

/* Hide main content interaction when sidebar is open */
body.sidebar-open .main-content {
  filter: blur(2px);
  pointer-events: none;
}

body.sidebar-open {
  overflow: hidden;
}

/* Hide ☰ when sidebar is open */
body.sidebar-open .open-icon {
  display: none;
}

/* Close ✕ icon inside sidebar */
.close-icon {
  align-self: flex-end;
  margin-bottom: 20px;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

/* Show ✕ when sidebar is active */
.sidebar.sidebar-active .close-icon {
  display: block;
}

/* Sidebar links */
.sidebar a {
  display: block;
  color: white;
  padding: 15px;
  text-decoration: none;
}

.sidebar a:hover {
  background-color: #575757;
}

.sidebar h1 {
  font-size: 24px;
  margin-bottom: 30px;
}

.bottom-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar button {
  padding: 10px;
  background-color: #801810;
  color: white;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.sidebar button:hover {
  background-color: #62c0a6;
}

.container h2 {
  color: white;
  background: linear-gradient(to right, #000000, #0029f5);
  border-radius: 20px;
  padding: 20px;
  margin: 20px;
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  background-color: black;
  color: white;
  width: 100%;
  padding: 20px;
}

form {
  font-size: 24px;
  padding: 20px;
  padding-block: inherit;
  background-color: black;
  /* margin: 20px; */
  padding: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="datetime-local"],
select {
  width: 100%;
  padding: 12px 16px;
  margin: 10px 0;
  box-sizing: border-box;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button[type="submit"],
button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  font-size: 1rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pricing-key {

}

.pricing-container {
  display: flex;
  width: 100%;
  gap: 20px;
  margin: 20px;
  padding: 20px;
  color: black;
  background-color: black;
  background: black;
  /*background: url('images/flag-1.jpg') no-repeat center center;*/
}

.price-sheet {
  display: flex;
  width: 100%;
  background: url('images/pricing.png') no-repeat center center;
}

.schedule-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 20px;
  padding: 20px;
}

/* Headings */
.schedule-container h2 {
  margin-top: 20px;
  font-size: 1.2rem;
}

.contact-content {
  flex: 1;
  padding: 20px;
  background-color: black;
  color: white;
  min-height: 100vh;
  z-index: 0;
  text-align: center;
  font-size: 36px;
  font-family: sans-serif;
}

.content-contact h1 {
  display: block;
  font-size: 24px;
  text-align: right;
}

.content-contact p {
  font-size: 14px;
}

.main-content {
  flex: 1;
  padding: 20px;
  background-color: black;
  color: white;
  min-height: 100vh;
  min-width: 100%;
  z-index: 0;
}

.main-content h1 {
  font-size: 48px;
}

.main-content p {
  font-size: 36px;
}

.container {
  display: flex;
  /*  flex-direction: row;*/
  width: 100%;
  background: url('images/flag-1.jpg') no-repeat center center;
}

.header {
  background: url('images/header_01.jpg') no-repeat center center;
  background-size: cover;
  background-color: black;
  height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header2 {
  background: url('images/typing.jpg') no-repeat center center;
  background-size: cover;
  height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
}

.header3 {
  background: url('images/flag-1.jpg') no-repeat center center;
  background-size: cover;
  height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
}

.header2 h1 {
  padding: 20px;
  margin: 20px;
  gap: 20px;
  color: white;
  background-color: black;
}

.header3 {
  background: url('images/wires.jpg') no-repeat center center;
  background-size: cover;
  height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
}

.header-content {
  position: relative;
  /*bottom: 20px;*/
  height: 500px;
  right: 20px;
  text-align: right;
  margin-right: 120px;
}

.header-content h1 {
  font-size: 32px;
  /*margin-bottom: 10px;*/
}

.header-content p {
  font-size: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  background-color: #f4f4f4;
  color: black;
}

/* Sidebar base (hidden) */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background-color: #075233;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

/* Sidebar visible */
.sidebar.sidebar-active {
  transform: translateX(0);
}

/* Hide main content interaction when sidebar is open */
body.sidebar-open .main-content {
  filter: blur(2px);
  pointer-events: none;
}

body.sidebar-open {
  overflow: hidden;
}

.hamburger.open-icon {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 28px;
  background-color: #075233;
  color: black;
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1100;
  max-width: 120px;
}

.hamburger.tab-icon {
  font-size: 44px;
  color: black;
  padding: 10px 14px;
  border-radius: 4px;
  max-width: 120px;
}

/* Hide when sidebar is open */
body.sidebar-open .open-icon {
  display: none;
}

/* Close icon inside sidebar */
.close-icon {
  align-self: flex-end;
  margin-bottom: 20px;
  font-size: 44px;
  cursor: pointer;
  display: none;
}

/* Show when sidebar is active */
.sidebar.sidebar-active .close-icon {
  display: block;
}

/* Sidebar links */
.sidebar a {
  display: block;
  color: white;
  padding: 15px;
  text-decoration: none;
}

.sidebar a:hover {
  background-color: darkgray;
}

.sidebar h1 {
  font-size: 24px;
  margin-bottom: 30px;
}

.bottom-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar button {
  padding: 10px;
  background-color: royalblue;
  color: white;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.sidebar button:hover {
  background-color: grey;
}

.header-content {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-align: right;
}

.header-content h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.header-content p {
  font-size: 18px;
}



.body2 {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  display: flex;
}

.tab-bar {
  display: flex;
  justify-content: center;
  background-color: #2e8b57;
  padding: 10px 0;
}

.tab-bar button {
  background: none;
  border: none;
  color: white;
  padding: 14px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tab-bar button:hover,
.tab-bar button.active {
  background-color: #246b45;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

h2 {
  color: #333;
}

.hidden {
  display: none;
}

/*.create-account-btn {
  display: hidden;
  font-size: 24px;
  background: linear-gradient(to right, black, darkgray);
  border-radius: 12px;
  padding: 20px;
  width: 90vw;
  margin: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}*/

.account-box {
  font-size: 24px;
  background: linear-gradient(to right, black, darkgray);
  border-radius: 12px;
  padding: 20px;
  width: 90vw;
  margin: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-row {
  font-size: 18px;
  background-color: whitesmoke;
  color: black;
  border-radius: 20px;
  margin: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
}

.detail-row label {
  font-size: 26px;
  display: block;
  font-weight: bold;
  width: 150px;
  margin: 20px;
  text-align: left;
}

.detail-row span {
  font-size: 18px;
  text-align: center;
  margin: 20px;
  flex: 1;
}

.detail-row input {
  font-size: 18px;
  text-align: center;
  width: 90%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin: 10px;
  flex: 1;
}

.delete-device-btn {
  float: right;
  border: none;
  background: none;
  color: red;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}

.edit-device-btn {
  float: right;
  border: none;
  background: none;
  color: green;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}

/*Mobile*/

@media (max-width: 600px) {
  .schedule-container {
    padding: 10px;
  }

  input,
  select,
  button {
    font-size: 1rem;
  }

   #month-nav {
    flex-direction: row;
    gap: 10px;
  }

  #month-label {
    font-size: 1em;
    padding: 8px 12px;
  }

  #month-nav button {
    font-size: 1em;
    width: 26px;
    height: 36px;
  }

}

/*.device-entry {
  margin-bottom: 1em;
  padding: 0.5em;
  border: 1px solid #ddd;
  border-radius: 5px;
}*/

.device-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  border-radius: 6px;
}

.device-info {
  flex: 1;
}

.device-actions {
  display: flex;
  gap: 10px;
}

.edit-device-btn,
.delete-device-btn {
  padding: 5px 10px;
  cursor: pointer;
}

/*body {
  font-family: sans-serif;
  margin: 0;
  padding: 20px;
}*/

/*#month-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  padding: 60px;
  margin-top: 60px;
}

#month-nav button {
  padding: 6px 10px;
  font-size: 1.2em;
}

#month-label {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 20px;
  margin-top: 60px;
  font-weight: bold;
  font-size: 1.2em;
  color: black;
  background: whitesmoke;
  text-align: center;
  padding: 20px;
}*/


.calendar-container {
  display: none;
  padding: 40px;
  align-items: center;
  text-align: center;
  justify-content: center;
}

#calendar-container h1 {
 /* padding: 60px;
  font-size: 42px;
  margin: 60px;
  align-items: center;
  text-align: center;
  justify-content: center;*/
  color: black;
  text-align: center;
  padding: 40px 0 20px;
  font-size: 42px;
  margin: 0 auto;
  background: whitesmoke;
  padding: 10px 16px;
  border-radius: 6px;
}

#calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  min-height: 500px;
}

.day-header {
  color: black;
  text-align: center;
  font-weight: bold;
  background: #f2f2f2;
  padding: 15px;
}

.day-cell {
  border: 1px solid #ddd;
  min-height: 80px;
  padding: 4px;
  position: relative;
  background-color: black;
}

.day-cell .date-label {
  font-size: 0.85em;
  font-weight: bold;
}

.day-cell .appointment {
  color: black;
  margin-top: 4px;
  font-size: 0.75em;
  background: #d1eaff;
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
}

#popup-details {
  position: absolute;
  background-color: #fff;
  border: 1px solid #aaa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 10px;
  border-radius: 8px;
  z-index: 999;
  min-width: 200px;
  max-width: 250px;
  font-size: 0.9em;
}

#popup-details.hidden {
  display: none;
}

#month-label {
  font-weight: bold;
  font-size: 1.2em;
  background: whitesmoke;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  color: black;
  min-width: 120px;
}

#month-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 30px auto;
  flex-wrap: wrap;
}

#month-nav button {
  padding: 6px 10px;
  font-size: 1.2em;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: none;
  background-color: #0077cc;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

#month-nav button:hover {
  background-color: #005fa3;
}