body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

.hide-element {
  display: none;
}

.login-page-container{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f4f4f4;
}

.login-form-container{
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background-color: #fff;
  border-radius: 16px;
  padding-top: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  
}

.login-form-container img{
  max-width: 100px;
}

#loginForm{
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  
}

.login-form-input-group{
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-form-input-group input{
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.login-form-input-group input:focus{
  outline: none;
}

.login-form-submit-btn {
  width: 80%;
  max-height: 40px;
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background-color: #007bff;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-form-submit-btn:hover {
  background-color: #0056b3;
}

.login-form-submit-btn[disabled] {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}


.form-page-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.forms-modal {
  position: fixed;
  z-index: 11;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.forms-modal-content {
  background-color: #fefefe;
  margin: 1% auto;
  padding: 10px 20px;
  border: 1px solid #888;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
}

.forms-modal-content .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.forms-modal-content .close:hover,
.forms-modal-content .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.form-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.form-container h1 {
  text-align: center;
  padding: 0px 10px;
}

#newMemberForm,
#editMemberForm,
#importMembersForm,
#registerForm {
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.required-field::after {
  content: " *";
  color: red;
  font-size: 1.2rem;
}

label {
  font-size: 14px;
  font-weight: 600;
}

.form-group {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group input {
  width: 100%;
  /* height: 20px; */
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* Used in user registration form */
#confirmPswMessage {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: red;
}

.select-input-group {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.select-input-group select{
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: 1rem;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.checkbox-group {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  gap: 10px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.form-submit-btn {
  width: 80%;
  max-height: 40px;
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background-color: #007bff;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-submit-btn:hover {
  background-color: #0056b3;
}

.form-submit-btn[disabled] {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

.cancel-link {
  color: red;
}


.loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
  display: inline-block;
  margin-left: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#toastPopupContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: fixed;
  z-index: 12;
  right: 0;
  top: 90px;
}

.toast {
  position: relative;
  top: 0px;
  right: 30px;
  border-radius: 12px;
  background: #fff;
  padding: 20px 35px 20px 25px;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateX(calc(100% + 30px));
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.toast.active {
  transform: translateX(calc(0% + 20px));
}

.toast .toast-content {
  display: flex;
  align-items: center;
}

.toast-content .check {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  min-width: 35px;
  background-color: #4070f4;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
}

.toast-content .check {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  min-width: 35px;
  background-color: #4070f4;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
}

.toast-content .x-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  min-width: 35px;
  background-color: red;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
}

.toast-content .message {
  display: flex;
  flex-direction: column;
  margin: 0 20px;
}

.message .text {
  font-size: 16px;
  font-weight: 400;
  color: #666666;
}

.message .text.text-1 {
  font-weight: 600;
  color: #333;
}

.toast .close {
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 5px;
  cursor: pointer;
  opacity: 0.7;
}

.toast .close:hover {
  opacity: 1;
}

