* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
  min-height: 100vh;
}

body.hidden {
  visibility: hidden;
}

.page-container {
  padding: 30px;
  margin: 50px;
  margin-top: 40px;
  background-color: white;
  border-radius: 30px;
  min-height: 90vh;
  height: 90%;
}

.content {
  margin-top: 20px;
  margin-bottom: 20px;
}

.header {
  display: flex;
  justify-content: stretch;
  flex-direction: row;
  /* position: sticky; */
  background-color: white;
  top: 30px;
  padding-bottom: 20px;
  border-bottom-width: 5px;
  border-bottom-style: solid;
  border-bottom-color: rgb(228, 228, 228);
}

.logo-container {
  flex: 2;
  display: flex;
  text-align: start;
}

.logo {
  max-width: 120px;
  height: auto;
  margin-right: 80px;
}

.title {
  margin-top: 5px;
}

.header-right {
  flex: 1;
  display: flex;
  text-align: end;
  align-items: center;
  justify-content: end;
  transition: transform 0.2s ease;
}

.profile-icon {
  width: 57px;
  border: none;
  margin-right: 30px;
  transition: transform 0.2s ease;
}

.profile-icon:hover {
  transform: scale(1.05);
}

.error-message {
  visibility: hidden;
  color: white;
  background-color: red;
  font-weight: 600;
  font-size: 18px;
  border-radius: 10px;
  height: auto;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
}

.hidden {
  visibility: hidden;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.body-loading {
  opacity: 0.5;
  pointer-events: none;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  text-align: center;
  font-size: 12px;
}

.footer-logo {
  filter: grayscale(100%);
  margin-bottom: 10px; /* Adds spacing between logo and text */
  margin-left: 75px;
}

@media (max-width: 600px) {
  .page-container {
    flex-direction: column;
    padding: 15px;
    margin: 15px;
    margin-top: 15px;
    border-radius: 15px;
    min-height: 90vh;
    height: 90%;
  }

  .header {
    flex-direction: column;
  }

  .logo-container {
    text-align: center;
    padding: 10px;
  }

  .header-right {
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .title {
    font-size: 10px;
  }
}