/* Sign-in screen — matches sowandprototype/login.html */
html:has(.login-screen),
body:has(.login-screen) {
  margin: 0;
  padding: 0;
  background: #f6faff;
	 font-family: "Inter", sans-serif !important;
}

.login-screen,
.login-screen * {
  box-sizing: border-box;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 56% 44%;
  overflow: hidden;
  background: #f6faff;
  color: #213c60;
}

.login-screen .left-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 176, 96, 0.1) 0, rgba(70, 58, 111, 0.16) 16%, transparent 36%),
    linear-gradient(165deg, #052652 0%, #042250 42%, #0b2f6b 100%);
}

.login-screen .left-section::before {
  display: none;
}

.login-screen .brand {
  position: absolute;
  left: 53px;
  top: 43px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.login-screen .brand-logo-img {
  width: auto;
  max-width: 180px;
  display: block;
  filter: brightness(0) invert(1);
}

.login-screen .left-content {
  position: relative;
  z-index: 5;
  padding: 128px 56px 200px;
}

.login-screen .left-content h1 {
    margin: 0;
    font-size: 60px;
    line-height: 1.04;
    letter-spacing: -1.5px;
    font-weight: 600;
    color: #ffffff;
}

.login-screen .left-content h1 span {
  display: block;
  color: #ffb52e;
}

.login-screen .intro {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: #edf5ff;
}

.login-screen .features {
  max-width: 430px;
  margin-top: 32px;
}

.login-screen .feature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}

.login-screen .feature-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #153e84;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-screen .feature-icon svg {
  width: 40px;
  height: 40px;
}

.login-screen .feature-text h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
}

.login-screen .feature-text p {
  margin: 0;
  color: #dbe8fa;
  font-size: 15px;
  line-height: 1.45;
}

.login-screen .church-art {
  position: absolute;
  z-index: 2;
  top: 70px;
  right: -2%;
  width: min(54%, 540px);
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 100%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 100%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.login-screen .preview-box {
  position: absolute;
  z-index: 10;
  left: 40px;
  right: 40px;
  bottom: 36px;
  min-height: 110px;
  border-radius: 22px;
  background: #071f42;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 22px 26px;
}

.login-screen .preview-label {
  width: 145px;
  min-width: 145px;
  height: 73px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #cde1ff;
  font-size: 12px;
  font-weight: 700;
}

.login-screen .preview-label .spark {
  color: white;
  font-size: 17px;
}

.login-screen .preview-text {
  padding-left: 27px;
  color: white;
  font-size: 17px;
  line-height: 1.55;
}

.login-screen .preview-text .hl {
  color: #ffb52e;
  font-weight: 500;
}

.login-screen .right-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 135px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(222, 236, 253, 0.9), transparent 38%),
    radial-gradient(ellipse at 0% 100%, rgba(225, 239, 255, 0.8), transparent 35%),
    #f8fbff;
}

.login-screen .login-card {
  position: relative;
  z-index: 5;
  width: 510px;
  min-height: 570px;
  padding: 37px 38px 30px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(35, 67, 105, 0.1);
}

.login-screen .welcome {
    color:#ffb52e;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.login-screen .login-card h2 {
  margin: 0;
  color: #072344;
  font-size: 35px;
  line-height: 1.1;
  font-weight: 700;

}

.login-screen .description {
  color: #5E6A79;
  font-size: 16px;
  line-height: 1.45;
  margin: 18px 0 39px;
}

.login-screen .form-group {
  margin-bottom: 22px;
}

.login-screen .form-label {
  display: block;
  color: #072344;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.login-screen .input-wrapper {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid #dbe3ed;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 15px;
}

.login-screen .input-wrapper svg {
  width: 21px;
  height: 21px;
  margin-right: 11px;
  flex: none;
  stroke: #7a8fa8;
  fill: none;
}

.login-screen .input-wrapper input {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #213c60;
  font-size: 15px;
  font-family: inherit;
  padding: 0;
}

.login-screen .input-wrapper input::placeholder {
  color: #91a0b3;
}

.login-screen .password-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.login-screen .password-header .form-label {
  margin-bottom: 0;
}

.login-screen .forgot,
.login-screen .show-password,
.login-screen .back-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.login-screen .back-link {
  color: #1262c4;
  font-size: 14px;
  font-weight: 700;
}

.login-screen .forgot {
    color: #072344;
    font-size: 14px;
    font-weight: 600;
}

.login-screen .show-password {
  color: #547096;
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
}

.login-screen .signin-button {
  width: 100%;
  height: 57px;
  border: none;
  outline: none;
      border-radius: 10px;
  margin-top: 6px;
  background: linear-gradient(90deg, rgba(255, 191, 66, 1), rgba(255, 168, 66, 1));
  color: #062d5b;
  font-size: 17px;
	    font-family: "Inter", sans-serif !important;
  font-weight: 600;
	text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
}

.login-screen .signin-button:hover:not(:disabled) {
  filter: brightness(0.98);
}

.login-screen .signin-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-screen .arrow {
  font-size: 24px;
  vertical-align: -2px;
  margin-left: 7px;
  color: #072344;
}

.login-screen .create-account {
  text-align: center;
  margin-top: 17px;
  color: #506a8c;
  font-size: 14px;
}

.login-screen .create-account a {
  color: #ffb52e;
  font-weight: 600;
  text-decoration: none;
}

.login-screen .dots {
  position: absolute;
  right: 20px;
  bottom: 215px;
  width: 125px;
  height: 85px;
  background-image: radial-gradient(#c9ddf5 4px, transparent 4px);
  background-size: 31px 28px;
  opacity: 0.8;
  pointer-events: none;
}

.login-screen .form-alert,
.login-screen .form-success {
  margin: -6px 0 16px;
  font-size: 14px;
  line-height: 1.4;
}

.login-screen .form-alert {
  color: #b42318;
}

.login-screen .form-success {
  color: #067647;
}

.login-screen .form-success a {
  color: #1262c4;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .login-screen {
    grid-template-columns: 54% 46%;
  }

  .login-screen .left-content {
    padding-left: 45px;
  }

  .login-screen .preview-box {
    left: 40px;
    right: 35px;
  }

  .login-screen .church-art {
    transform: scale(0.85);
    transform-origin: right top;
  }
}

@media (max-width: 950px) {
  .login-screen {
    grid-template-columns: 1fr;
  }

  .login-screen .left-section {
    min-height: 760px;
  }

  .login-screen .right-section {
    min-height: 700px;
    padding: 70px 20px;
  }
}

@media (max-width: 650px) {
	
.login-screen .preview-box {
    position: static;
}
	.intro br, .feature-text br, .description br{
		display: none !important;
	}
	
  .login-screen .left-section {
    min-height: 850px;
  }

  .login-screen .brand {
    left: 30px;
  }

  .login-screen .left-content {
    padding: 120px 30px 0;
  }

  .login-screen .left-content h1 {
    font-size: 40px;
  }

  .login-screen .intro {
    font-size: 16px;
  }

  .login-screen .church-art {
    opacity: 0.35;
    right: -70px;
  }

  .login-screen .preview-box {
    left: 25px;
    right: 25px;
    padding: 22px;
  }

  .login-screen .preview-label {
    display: none;
  }

  .login-screen .preview-text {
    padding-left: 0;
    font-size: 15px;
  }

  .login-screen .login-card {
    width: 100%;
    padding: 30px 24px;
  }
}
