.cohbg-root {
  max-width: 1440px;
  margin: 40px auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* Card */
.cohbg-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 32px;
  align-items: stretch;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 40px;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.12);
	position: relative;
}

/* Left image */
.cohbg-intro-left {
  border-radius: 24px;
  overflow: hidden;
}

.cohbg-intro-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../img/intro.png');
}

/* Right side */
.cohbg-intro-right {
  display: flex;
  flex-direction: column;
}

.cohbg-intro-title {
    margin: 0px 0 30px;
    color: var(--Black-main, #1E1E1E);
    font-family: Montserrat;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cohbg-intro-text {
}

.cohbg-intro-text p {
  color: var(--Black-main, #1E1E1E);
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}


.cohbg-intro-text--highlight {
  margin-top: 8px;
  font-weight: 600 !important;
  color: #111827;
}

/* Form */
.cohbg-intro-form {
  margin-top: 24px;
}

.cohbg-field {
   margin-bottom: 16px;
  position: relative;
}

.cohbg-label {
  display: block;
  position: relative;
}
.cohbg-label span {
  position: absolute;
  left: 20px;
  top: 0;
  padding: 0 6px;

  background-color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0f172a;
  z-index: 1;
}

.cohbg-root input.cohbg-input {
  width: 100%;
  box-sizing: border-box;

  border-radius: 999px;
  border: 1px solid #b7d7f6;
  background-color: #ffffff;

  padding: 10px 16px;
  height: 40px;

  font-size: 14px;
  line-height: 1.4;
  color: #111827;
  margin-top: 8px;

  outline: none;
  transition:
    border-color 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

.cohbg-root input.cohbg-input::placeholder {
  color: #94a3b8;
}

.cohbg-root input.cohbg-input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.55);
  background-color: #ffffff;
}



/* Checkbox */
.cohbg-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 4px;
  font-size: 12px;
  color: #4b5563;
}

.cohbg-checkbox input[type="checkbox"] {
  margin-top: 2px;
}

.cohbg-error {
  min-height: 16px;
  font-size: 11px;
  color: #dc2626;
  margin-top: 2px;
}

.cohbg-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cohbg-root .cohbg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  line-height: 1.2;
  border-radius: 999px;

  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    background-color 0.1s ease,
    color 0.1s ease;
}

.cohbg-root .cohbg-btn--primary {
  background: #f39a7d;
  color: #111827;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cohbg-root .cohbg-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  border-radius: 999px;
}

.cohbg-root .cohbg-btn--signup {
  background: #a5cef6;
  color: #111827;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cohbg-root .cohbg-btn--signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  border-radius: 999px;
}

.cohbg-root .cohbg-btn--disabled,
.cohbg-root .cohbg-btn--disabled:hover {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Іконки */
.cohbg-root .cohbg-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cohbg-root .cohbg-btn-icon--lightbulb {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background-image: url('../img/Layer_1.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.cohbg-root .cohbg-btn-icon--envelope {
  width: 26px;
  height: 18px;
  border-radius: 4px;
  background-image: url('../img/singUp.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.cohbg-root .cohbg-btn,
.cohbg-root .cohbg-btn:hover,
.cohbg-root .cohbg-btn:focus,
.cohbg-root .cohbg-btn:active {
  border-radius: 999px !important;
}

.cohbg-toast {
  position: fixed;              
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #f9fafb;
  background: #16a34a;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);

  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 9999;

  max-width: min(90%, 400px);
  text-align: center;
}

/* помилка */
.cohbg-toast--error {
  background: #b91c1c;
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.35);
}

/* видимий стан */
.cohbg-toast--visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}


@media (max-width: 1024px) {
	    .cohbg-intro {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px 20px 20px;
        border-radius: 24px;
    }
	
	  .cohbg-intro-left {
		display: none;
	  }
	
	  .cohbg-toast {
		left: 16px;
		right: 16px;
		text-align: center;
		justify-content: center;
	  }
}

/* Mobile layout */
@media (max-width: 768px) {
  .cohbg-root {
    margin: 24px auto;
  }

  .cohbg-intro {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px 20px;
    border-radius: 24px;
  }

  .cohbg-intro-left {
    display: none;
  }

  .cohbg-intro-image {
    min-height: 220px;
  }

  .cohbg-intro-title {
    font-size: 32px;
  }
	.cohbg-intro-text p {
		font-size: 16px;
	}
	.cohbg-intro-actions {
	    flex-wrap: nowrap;
		justify-content: center;
	}
}
