* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Comfortaa", sans-serif;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.logo1{
	position: absolute;
	top: 130px;
	left: clamp(40px, 9vw, 90px);
	z-index: 1;
}
.logo img{
	width: 40px;
}
.card-login {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	height: 100vh;
	position: relative;
}

.form-section {
	flex: 1;
	padding: 40px 50px 50px;
	background-color: #E8E8E8;
	color: #1c1c1c;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	text-align: center;
}

.form-section h2 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 15px;
	text-align: center;
}

.tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
	gap: 20px;
}

.tab {
	padding: 10px 25px;
	background-color: #f0d458;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	transition: background-color 0.3s;
	user-select: none;
	color: #333;
}

.tab.active {
	background-color: #000;
	color: #FFD500;
}

.sub-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 25px;
	gap: 15px;
}

.sub-tab {
	padding: 8px 20px;
	background-color: #f0c600;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	transition: background-color 0.3s;
	user-select: none;
	color: #333;
	font-size: 14px;
}

.sub-tab.active {
	background-color: #000;
	color: #FFD500;
}

form {
	width: 100%;
	max-width: 350px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 20px;
	position: relative;
}

/* Input icons */
.icon-input {
	position: relative;
}

.icon-left {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	font-size: 16px;
	pointer-events: none;
}

.icon-right {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	font-size: 16px;
	cursor: pointer;
	user-select: none;
}

.icon-input input.form-control {
	width: 100%;
	padding-left: 40px;
	padding-right: 40px;
	border-radius: 30px;
	border: 1.1px solid #858585;
	font-size: 15px;
	padding-top: 12px;
	padding-bottom: 12px;
	box-sizing: border-box;
}

.form-control:focus {
	outline: none;
	border: 1.1px solid #000000;
}

.btn-custom {
	background-color: #000;
	color: #FFD500;
	border: none;
	padding: 12px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 16px;
	width: 100%;
	cursor: pointer;
	transition: 0.3s;
	font-family: "Comfortaa", sans-serif;
}

.btn-custom:hover {
	background-color: #222;
}

.text-center {
	text-align: center;
	margin-top: 15px;
}

.text-center a {
	color: #000;
	font-weight: 600;
	text-decoration: none;
}

.text-center a:hover {
	text-decoration: underline;
}

.image-section {
	background-color: #fff9e6 ;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 20px;
	/* background: url(/resident-portal/assets/img/workers.png) no-repeat center;
	background-size:120% 110%; */
}

.image-content {
	max-width: 460px;
	text-align: left;
	font-family: "Comfortaa", sans-serif;
}

.hero-logo {
	width: 46px;
	height: auto;
	display: block;
	margin-bottom: 14px;
}

.image-content h1 {
	font-size: 28px;
	line-height: 1.25;
	margin-bottom: 14px;
	color: #000;
	text-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
	font-family: "Comfortaa", sans-serif;
}

.image-content h1::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background-color: #93c5fd;
	margin-top: 14px;
}

.image-content p {
	font-size: 15px;
	line-height: 1.6;
	color: #000;
	margin-bottom: 14px;
	font-family: "Comfortaa", sans-serif;
}

.image-content p:last-child {
	margin-bottom: 0;
}

/* Responsive */
@media (min-width: 768px) {
	.card-login {
		flex-direction: row;
	}

	.form-section,
	.image-section {
		width: 50%;
	}
}

.form {
	display: none;
}

.form.active {
	display: block;
}

@media (max-width: 767px) {
	.logo{
		top: 20px;
		left: 50%;
		transform: translateX(-50%);
	}
	.image-section {
		display: none;
	}
}

.form-bottom-links {
  font-size: 0.85rem;
  margin-top: 10px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}


.form-bottom-links a {
  color: #1c1c1c;
  text-decoration: none;
  margin-left: 5px;
  margin-right: 5px;
}

.form-bottom-links a:hover {
  text-decoration: underline;
}
@media (max-width: 431px) {
	.separeator{
		display: none;
	}
	.form-bottom-links a{
		margin: 5px;
		display: inline-block;
	}
}

.form {
  display: none;
}
.form.active {
  display: block;
}
/* === Remember Me & Forgot Password === */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -5px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #1c1c1c;
  padding: 0 8px;
}

.form-options .remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.form-options .remember-me input[type="checkbox"] {
  accent-color: #000;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-options .forgot-password {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.form-options .forgot-password:hover {
  text-decoration: underline;
  color: #222;
}

@media (max-width: 431px) {
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.forgot-password-container,.reset-password-container{
	width: 100%;
    max-width: 350px;
    margin: 0 auto;
}
.forgot-password-container p,.reset-password-container p{
	margin-bottom: 15px;
}
.loader {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  margin-right: 6px;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
