/* === BASE RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: inherit;
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #333;
  height: 100vh;
}

.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* === LEFT PANEL === */
.left-panel {
  width: 50%;
  background: linear-gradient(to bottom right, #10b981, #0d9488, #0e7490);
  overflow-y: auto;
  display: flex;
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
  padding-left: 48px;
  padding-right: 48px;
  justify-content: center;
  flex-direction: column;
  min-height: 100%;
  z-index: 10;
}

.left-panel h1.heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  color: rgb(255 255 255 /1);
  margin-bottom: 24px;
  opacity: 1;
  transform: none; 
}

.left-panel h1.heading .highlight  {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(to right, #fde047, #fdba74);
  background-clip: text;
  color: transparent;
  display: inline-block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.left-panel p {
  font-size: 20px;
  line-height: 1.625;
 /* margin: 16px 0 24px; */
  color: rgb(209 250 229 /1);
  margin-bottom: 48px;
}

.feature-box {
  display: flex;
  align-items: center;
  border: 1px solid #fff3;
  background-color: #ffffff1a;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 25px;
  opacity: 1;
  transform: none;
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.feature-box img {
  width: 40px;
  height: 40px;
  /*font-size: 20px; */
  color: rgb(253 224 71 /1);
  filter: brightness(0) saturate(100%) invert(75%) sepia(91%) saturate(650%) hue-rotate(2deg) brightness(102%) contrast(100%); 
  margin-top: 3px;
  margin-right: 12px;
  flex-shrink: 0;
}

.feature-box strong {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  display: block;
  color: rgb(255 255 255 /1);
  margin-bottom: 4px;
  margin: 0;

}

.feature-box p {
  font-size: 16px;
  margin: 0;
  color: rgb(209 250 229 /1);
}

/* === TRUSTED SECTION === */
.trusted-section {
  margin-top: 25px !important; 
  padding: 32px;
  background: #ffffff1a;
  border-color: #fff3;
  border-width: 1px;
  border-radius: 24px;
  border-style: solid;
  opacity: 1;
  transform: none;
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.trusted-section h4 {
  color: rgb(255 255 255 /1);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 32px;
}

.trusted-logos {
  display: flex;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex-direction: column; 
  gap: 16px;
}

.logo-row {
  display: flex;
  justify-content: space-between;
  gap: 16px; 
} 

.logo-box {
  width: 340px;  
  height: 48px;
  background-color: #fff3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-box {
  width: 32px;
  height: 32px;
  background-color: #ffffff4d;
  border-radius: 4px;
}

/* === RIGHT PANEL === */
.right-panel {
  width: 50%;
  /*padding: 60px 40px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  height: 100%;
  background: linear-gradient(to bottom right, #f9fafb, #ffffff)
}

.alert-container {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.alert {
  background-color: rgb(254 242 242 / 1);
  color: rgb(185 28 28 /1);
  border: 1px solid rgb(254 202 202 / 1);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  max-width: 400px;
  width: 100%;
  position: relative;
}

.success {
  background-color: #e6ffed;
  color: #0f5132;
  border: 1px solid #a3f7bf;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 15px;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

form {
  width: 100%;
  max-width: 448px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 32px;
  opacity: 1;
  transform: none;
}

form h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  line-height: 36px;
  color: rgb(17 24 39 /1);
}

form p {
  font-size: 16px;
  margin-bottom: 32px;
  color: rgb(75 85 99 /1);
  text-align: center;
}

.name-row {
  display: flex;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  margin-bottom: 18px;
  width: 100%;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 8px;
  text-align: left;
  color: #111827 !important;
  cursor: default;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper input {
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 48px;
  padding-right: 16px;
  font-size: 16px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  transition-duration: .2s;
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

input::placeholder {
  color: rgb(156 163 175 /1); 
  opacity: 1; 
}

.input-icon-wrapper img {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  --tw-translate-y: -50%;
  color: rgb(156 163 175 /1);
  /*font-size: 14px;*/
  height: 20px;
  width: 20px;
  display: block;
}

.input-icon-wrapper img#toggle-password1 {
  position: absolute;
  top: 50%;
  left: auto;
  right: 12px;
  transform: translateY(-50%);
  --tw-translate-y: -50%;
  color: rgb(156 163 175 /1);
  width: 20px;
  height: 20px;
  cursor: pointer;
}


.input-icon-wrapper img#toggle-password2 {
  position: absolute;
  top: 50%;
  left: auto;
  right: 12px;
  transform: translateY(-50%);
  --tw-translate-y: -50%;
  color: rgb(156 163 175 /1);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.input-icon-gray {
  filter: brightness(0) saturate(100%) invert(80%) sepia(3%) saturate(250%) hue-rotate(180deg) brightness(95%) contrast(85%);
}

/* === CHECKBOX & LINKS === */
.form-group input[type="checkbox"] {
  vertical-align: middle;
  margin-right: 4px;
  transform: scale(1);
  color: rgb(5 150 105 /1);
  border-color: rgb(209 213 219 /1);
  border-radius: 4px;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background-color: initial;
  cursor: default;
  appearance: auto;
}

.form-group label[for="terms"] {
  display: inline;
  vertical-align: middle;
  font-size: 14px;
  line-height: 20px;
  margin-left: 6px;
  cursor: default;
  color: rgb(75 85 99 /1);
}

.form-group label a {
  color: rgb(5 150 105 /1);
  text-decoration: inherit;
  cursor: pointer;
}

/* === SUBMIT BUTTON === */
.create-btn {
  background: linear-gradient(to right, #059669,#0d9488);
  color: rgb(255 255 255 /1);
  padding: 12px 12px 16px 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; 
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.create-btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.signin-link {
  font-size: 14px;
  margin-top: 32px;
  text-align: center;
  color: rgb(75 85 99 /1);
}

.signin-link a {
  color: rgb(5 150 105 /1);
  font-weight: 500;
  text-decoration: inherit;
  cursor: pointer;
}

.mini-spinner {
  display:inline-block;
  width:20px;height:20px;
  border:3px solid rgba(255,255,255,.6);
  border-top-color:#fff;
  border-radius:50%;
  animation:mini-spin .7s linear infinite;
}
@keyframes mini-spin{to{transform:rotate(360deg)}}

button.spinning{
  pointer-events:none;          
  opacity:0.9;
}

/* Mobile: stack panels vertically */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-panel, .right-panel {
    width: 100%;
    padding: 20px;
  }

  body {
    font-size: 90%;
  }
}

/* Tablet: slightly smaller font, less padding */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .left-panel, .right-panel {
    padding: 30px;
  }

  body {
    font-size: 95%;
  }
}

/* Large screens: bigger font, more padding */
@media screen and (min-width: 1440px) {
  .left-panel, .right-panel {
    padding: 60px;
  }

  body {
    font-size: 110%;
  }
}
