






/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
  min-height: 100vh;
}

/* Back to Home Button */
.back-home {
  position: fixed;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  z-index: 100;
}

.back-home:hover {
  background-color: #333333;
  transform: translateX(-3px);
}

/* Main Container */
.signup-container {
  display: flex;
  min-height: 100vh;
}

/* Left Side - Branding */
.signup-left {
  flex: 1;
  background-color: #000000;
  color: #ffffff;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.signup-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.brand-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.signup-left .brand-content .iconic {
  width: 80px;
  height: 80px;
}

.tagline {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.description {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 50px;
  opacity: 0.85;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}

.feature-item i {
  font-size: 1.3rem;
  color: #ffffff;
}

/**************************************************************
.radios::before {
	display: block;
	width: fit-content;
	margin: 0 auto;
	margin-bottom: 10px;
	content: 'switch to mobile';
	font-weight: bold;
	color: #627ae0;
	background: #e5eaff;
	padding: 5px 10px;
	border-radius: 5px;
}
.radios {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 300px;
}
.radio-wrap {
	text-align: center;
	position: relative;
	width: 10%;
	height: 60px;
	display: inline-block;
	float: left;
}
.radio-wrap .radio-label-fake {
	color: #627ae0;
	font-weight: bold;
}
.radio-wrap > input {
	position: relative;
	top: 5px;
}
.radio-wrap > label {
	width: 20px;
	height: 20px;
	background: #e5eaff;
	border: 1px solid #91a6ff;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,0%);
	cursor: pointer;
}
.radio-wrap > label::before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	background: transparent;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.radio-wrap input[type="radio"] {
	opacity: 0;
}
.radio-wrap input[type="radio"]:checked + label::before {
	background: #91a6ff;
}

@media screen and (max-width: 480px) {
	.radios::before {
		content: 'switch to desktop';
	}
	.radio-wrap {
		background: #fff;
		border: 1px solid #a8b9ff;
		margin: 0;
		height: 40px;
	}
	.radio-wrap .radio-label-fake {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		z-index: 1;
		pointer-events: none;
	} 
	.radio-wrap:first-of-type, .radio-wrap:first-of-type > label {
		border-radius: 5px 0 0 5px;
	}
	.radio-wrap:last-of-type, .radio-wrap:last-of-type > label {
		border-radius: 0 5px 5px 0;
	}
	.radio-wrap:not(:last-child) {
		border-right: 0;
	}
	.radio-wrap > input {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,50%);
	}
	.radio-wrap .radio-label-fake > span {
		position: absolute;
		bottom: -70px;
		left: 50%;
		transform: translate(-50%,-60%);
	}
	.radio-wrap > label {
		width: 100%;
		height: 100%;
		border-radius: 0;
		border: 0;
		top: 0;
		left: 50%;
	}
	.radio-wrap > label::before {
		content: '';
		display: block;
		width: 100%;
		height: 100%;
		background: transparent;
		position: absolute;
		border-radius: 0;
	}
	.radio-wrap input[type="radio"]:checked + label::before {
		background: #bac8ff;
	}
}
***************************************************************************/












/* Right Side - Form */
.signup-right {
  flex: 1.2;
  padding: 80px 60px;
  background-color: #ffffff;
  overflow-y: auto;
  max-height: 100vh;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-container h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.form-subtitle {
  color: #666666;
  margin-bottom: 40px;
  font-size: 1rem;
}

.form-subtitle a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #000000;
}

.form-subtitle a:hover {
  opacity: 0.7;
}

/* Form Sections */
.form-section {
  margin-bottom: 40px;
}

.form-section h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
}
.form-group div {
    display: flex;
    align-items: center;
}

#togglePassword:hover {
    color: #000; /* Darkens the eye icon when hovered */
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #000000;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #000000;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #000000;
}

.form-group input[readonly] {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #666666;
  font-size: 0.85rem;
}

/* Checkboxes */
.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-label span {
  flex: 1;
}

.checkbox-label a {
  color: #000000;
  text-decoration: underline;
}

.checkbox-label a:hover {
  opacity: 0.7;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 15px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}
.login-button {
  width: 100%;
  background-color: white;
  color: black;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top; 10px;
}
.btn-submit:hover {
  background-color: black;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-button:hover{
  background-color: black;
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
}

/* Form Footer */
.form-footer {
  text-align: center;
  margin-top: 20px;
  color: #666666;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 15px 25px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  max-width: 350px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background-color: #d32f2f;
}

.toast.success {
  background-color: #2e7d32;
}

/* Validation States */
.form-group input.error,
.form-group select.error {
  border-color: #d32f2f;
}

.form-group input.success,
.form-group select.success {
  border-color: #2e7d32;
}

.error-message {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Loading State */
.btn-submit.loading {
  position: relative;
  color: transparent;
}

.btn-submit.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 3px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .signup-left {
    padding: 60px 40px;
  }

  .signup-right {
    padding: 60px 40px;
  }

  .brand-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .back-home {
    top: 15px;
    left: 15px;
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .signup-container {
    flex-direction: column;
  }

  .signup-left {
    padding: 40px 30px;
    min-height: auto;
  }

  .brand-content {
    text-align: center;
  }

  .brand-content h1 {
    font-size: 2.5rem;
  }

  .features {
    align-items: center;
  }

  .signup-right {
    padding: 40px 30px;
    max-height: none;
  }

  .form-container h2 {
    font-size: 1.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .signup-left {
    padding: 30px 20px;
  }

  .signup-right {
    padding: 30px 20px;
  }

  .brand-content h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.95rem;
  }

  .form-container h2 {
    font-size: 1.6rem;
  }

  .form-section h3 {
    font-size: 1.15rem;
  }

  .form-group input,
  .form-group select {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 12px;
    font-size: 1rem;
  }
  /* Enhanced Toast/Pop-up */
.toast {
  position: fixed;
  top: 20px; /* Changed from bottom to top for better visibility */
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 15px 30px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  font-weight: 600;
  min-width: 300px;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  background-color: #d32f2f; /* Red */
  border-left: 5px solid #8b0000;
}

.toast.success {
  background-color: #2e7d32; /* Green */
  border-left: 5px solid #1b5e20;
}