* {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;

}

@font-face {
  font-family: 'poppins';
  src: url('assets/fonts/Poppins-Black') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* setup page  */
.setupbg {
  background-image: url('../img/setupbg.jpg');
  background-size: cover;

}

body.loginbg {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

.frm {
  background-color: #fafafa;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  width: 90%;
  max-width: 450px;
  /* shrink on small screens */
  padding: 30px 25px;
  color: #000;
}

.frmlogin {
  background: rgba(255, 255, 255, 0.644);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  width: 90%;
  max-width: 450px;
  /* shrink on small screens */
  padding: 30px 25px;
  color: #000;
}

/* Form heading */
.frm form h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 25px;
}


/* Logo */
.lglogo {
  width: 70%;
  max-width: 250px;
  margin: 0 auto 20px auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .frm form h2 {
    font-size: 24px;
  }

  .btnprimary {
    font-size: 16px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .frm {
    padding: 20px 15px;
  }

  .frm form h2 {
    font-size: 20px;
  }

  .btnprimary {
    font-size: 15px;
    height: 40px;
  }
}


.nav {
  position: fixed;
  top: 0px;
  left: 70px;
  width: calc(100% - 250px);
  background-color: #ffff;
  border-bottom: 1px solid #e8e8e8;
  height: 80px;
  z-index: -1;
  transition: 0.3s ease;
}

.nav h1 {
  margin: 20px 0px 0px 25px;
}

.profile {
  position: fixed;
  top: 15px;
  left: 90%;
  cursor: pointer;
  background: linear-gradient(135deg, #4e73df, #00c6ff);
}

.profilesubmenu {
  position: fixed;
  left: 138vh;
  top: 70px;
  width: 150px;
  background: #fafafa;
  height: 120px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
  border-radius: 10px;
}

.profilesubmenu ul {
  padding: 10px;
  font-size: 19px;
}

.profilesubmenu ul li {
  list-style: none;
  margin-bottom: 10px;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  border-radius: 10px;
}

.logout {
  color: #e91e63;
}

.profilesubmenu ul li:hover {
  background: linear-gradient(135deg, #4e73df, #00c6ff);
  color: #ffff;
  border-radius: 15px;
}

#page {
  position: fixed;
  top: 80px;
  left: 70px;
  /* sidebar default width */
  width: calc(100% - 70px);
  /* page fills remaining space */
  height: 100%;
  background-color: #fafafa;
  overflow-y: auto;
  z-index: -1;
  transition: all 0.3s ease;
  /* smooth resize */
}

/* Overview Grid */
.overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 5px;
  margin: 40px 0;
  padding: 10px;
}

/* Card Box */
.overview .box {
  background: #fff;
  padding: 20px;
  width: 90%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.overview .box:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Icon Container */
.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}

/* Details */
.overview .details label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

.overview .details span {
  font-size: 24px;
  font-weight: bold;
  color: #111;
}

/* Color Themes */
.society .icon {
  background: linear-gradient(135deg, #4e73df, #00c6ff);
}

.members .icon {
  background: linear-gradient(135deg, #28a745, #6dd5ed);
}

.flats .icon {
  background: linear-gradient(135deg, #ff9800, #ffc107);
}

.dues .icon {
  background: linear-gradient(135deg, #e91e63, #ff6f61);
}

.complaints .icon {
  background: linear-gradient(135deg, #f44336, #ff8a65);
}

.toggle {
  cursor: pointer;
  background: linear-gradient(135deg, #4e73df, #00c6ff);
  transform: rotate(0deg) translate(-10px, 0px);
  transition: 0.3s ease;

}

.headingtext {
  font-size: 30px;
  font-weight: 600;
  color: #444;
}

.welcome {
  padding: 20px;
  width: 100%;
  background-color: #fff;
}

.frmbox {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  padding: 30px 20px;
  /* smaller padding for mobile */
  background-color: #fff;
  border-radius: 8px;
}

/* Container for input + label */
.int {
  margin: 15px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Label */
.int label {
  margin-bottom: 5px;
  font-size: 14px;
  color: #333;
}

/* Input fields */
.int input,
.textbox {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #4e73df;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

/* Input focus effect */
.int input:focus,
.textbox:focus {
  border-color: #0056b3;
}

/* Select styling */
.select {
  padding: 10px;
  border: 1px solid #4e73df;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 16px;
  width: 100%;
  font-family: Arial, sans-serif;
  color: #333;
  outline: none;
  transition: 0.3s;
  cursor: pointer;
}

/* Hover effect */
.select:hover {
  border-color: #4e73df;
  background-color: #fff;
}

/* Focus effect */
.select:focus {
  border-color: #4e73df;
  box-shadow: 0 0 5px rgba(81, 137, 241, 0.5);
}

/* Option styling */
.select option {
  padding: 10px;
  font-size: 15px;
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .frmbox {
    padding: 20px 15px;
  }

  .btn {
    font-size: 16px;
    padding: 10px;
  }
}

.toast {
  position: absolute;
  top: 25px;
  right: 30px;
  border-radius: 6px;
  background: #fff;
  padding: 20px 35px 20px 25px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  border-left: 8px solid #40f467;
  /* success default */
  overflow: hidden;
  transform: translateX(calc(100% + 30px));
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.25, 1.35);
  z-index: 9999;
}

.toast.active {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
}

.toast-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
}

.toast.success .toast-icon {
  background-color: #40f467;
}

.toast.error {
  border-left-color: #f44336;
}

.toast.error .toast-icon {
  background-color: #f44336;
}

.message {
  display: flex;
  flex-direction: column;
  margin: 0 20px;
}

.message-text {
  font-size: 20px;
  font-weight: 600;
}

.text-1 {
  color: #333;
}

.text-2 {
  color: #666;
  font-weight: 400;
  font-size: 16px;
}

.toast-close {
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 5px;
  cursor: pointer;
  opacity: 0.7;
}

.toast-close:hover {
  opacity: 1;
}

.progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #ddd;
}

.progress::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: #40f467;
}

.toast.error .progress::before {
  background-color: #f44336;
}

.progress.active::before {
  animation: progress 5s linear forwards;
}

@keyframes progress {
  100% {
    right: 100%;
  }
}

/* 
.overlay{
  display: none;
  height: 100vh;
  width: 100%;
  background-color: #000a0883;
  backdrop-filter: saturated(180%) blur(10px);
}
.scmodal{
  display:none;
  position: fixed;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  z-index: 999;
  background-color: #fafafa;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  height: 350px;
  width:400px;
  padding: 20px;
  border-radius:10px;
  font-size:16px;
  transition: 0.3s ease;
}
.scmodal i{
   position: absolute;
   left:90%;
   font-size: 20px;
   color:#000;
   cursor: pointer;
} */
.gap {
  height: 150px;
}

.sint {
  margin-bottom: 10px;
  font-size: 16px;

}

.tab {
  font-size: 18px;
  margin: 10px 5px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Tabs menu */
.tab ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  /* allow wrapping on small screens */
  justify-content: flex-start;
  border-bottom: 2px solid #ddd;
}

.tab ul li {
  list-style: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  background: #f9f9f9;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-right: 5px;
}

.tab ul li:hover {
  background: #f0f0f0;
}

.tab ul li.tabactive {
  background-color: #fff;
  border-bottom: 2px solid #4e73df;
  color: #4e73df;
}

/* Tab content */
.con {
  display: none;
  margin: 0;
  padding: 15px;
  background-color: #fff;
  border-radius: 0 6px 6px 6px;
}

/* Active content */
.con.active {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .tab ul {
    flex-direction: column;
    /* stack tabs */
    border-bottom: none;
  }

  .tab ul li {
    border-radius: 6px;
    margin-bottom: 5px;
    width: 100%;
    text-align: center;
  }

  .con {
    border-radius: 6px;
    margin-top: 5px;
  }
}

.box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.radiogroup {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* radio box */
.radiobox {
  flex: 1 1 calc(33.333% - 15px);
  /* 3 per row */
  min-width: 250px;
  /* prevent too small shrink */
  padding: 15px;
  border: 2px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fafafa;
}

/* custom radio */
.radiobox input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #4e73df;
  border-radius: 50%;
  margin-top: 5px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.radiobox input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #4e73df;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.radiobox input[type="radio"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}

.radiobox input[type="radio"]:checked~.content h5,
.radiobox input[type="radio"]:checked~.content {
  color: #4e73df;
}

.radiobox:hover {
  border-color: #4e73df;
  background: #f0f8ff;
}

/* text */
.radiobox .content {
  display: flex;
  flex-direction: column;
}

.radiobox .content h5 {
  margin: 0;
  font-size: 16px;
}

.radiobox .content span {
  font-size: 14px;
  color: #555;
}

/* responsive */
@media (max-width: 992px) {
  .radiobox {
    flex: 1 1 calc(50% - 15px);
    /* 2 per row */
  }
}

@media (max-width: 576px) {
  .radiobox {
    flex: 1 1 100%;
    /* full width */
  }
}

#fixedform,
#unitform,
#penaltyform {
  overflow: hidden;
  transition: height 0.5s ease, opacity 0.5s ease;
  height: 0px;
  opacity: 0;
}

#fixedform.active,
#unitform.active,
#penaltyform.active {
  height: 500px;
  /* or auto with max-height trick */
  opacity: 1;
}

.bxs {
  background-color: #fafafa;
  border-radius: 35px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 200px;
  font-size: 10px;
}

.btntabs-wrapper {
  position: relative;
  display: flex;
  border-radius: 30px;
  overflow: hidden;
}

.btntab {
  flex: 1;
  text-align: center;
  padding: 15px 30px;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s ease;
}

.btntab.active {
  color: #fff;
}

.btntab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #4e73df;
  border-radius: 30px;
  transition: transform 0.3s ease;
  z-index: 0;
}

/* Scale + fade animation for the modal dialog */
.modal.m-animate {
  display: none;
  /* make sure it's rendered */
  pointer-events: none;
}

.modal.m-animate .modal-dialog {
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.modal.m-animate.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}