.site-report { max-width: 860px; margin: 0 auto; }

.form-group {
  margin-bottom: 1rem;
}

.form-group input {
  display: block;
  margin-top: 0.25rem;
  padding: 0.5rem;
  width: 100%;
}

button[type="button"] {
  margin-top: 0.5rem;
}

.remove-url.is-disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Reset basic spacing */
#hubspot-custom-form {
  max-width: 744px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding:32px;
  border: 1px solid rgba(231, 231, 231, 1);
  border-radius:1rem;
  margin-top:-80px;
  z-index:2;
  position:relative;
  background:#fff;
}
@media(max-width:575px){
	#hubspot-custom-form {
		margin-top:-1rem;
	}
}
#hubspot-custom-form h2{
	font-size:26px;
	font-weight:400;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size:14px;
  line-height:1.5;
  
}
.form-group label span{
	color: red;
}

.label-row p {
	font-size:16px;
	font-weight:400;
	line-height:28px;
	margin:0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"] {
  width: 100%;
  padding: 9.5px 20px;
  font-size: 1rem;
  border: 1px solid rgba(229, 229, 229, 1);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.f-error {
  margin-top: 4px;
  color: #d22626;
  font-size: 0.9rem;
}


/* Two-column layout */
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* URL rows */
.url-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.url-row input {
  flex: 1;
}

.remove-url {
  border: 0;
  background: #fff;
  padding: 0.35rem 0.6rem;
  border-radius: 100px;
  cursor: pointer;
  line-height: 1;
}
.remove-url:hover:not(.is-disabled) {
  background: #e3e3e3;
}

/* Add buttons */
#add-competitor-btn,
#add-category-btn {
  margin-top: 0.25rem;
  padding: 10px 24px;
  background: #fff;
  color: #121213;
  border: 1px solid #121213;
  cursor: pointer;
  border-radius: 100px;
  min-height:40px;
  font-size:16px;
  font-weight:600;
}
#add-competitor-btn:hover,
#add-category-btn:hover {
  background: #ddd;
}

/* Tooltip style attached to wrapper */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #121213;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height:1.5;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.tooltip-wrapper:hover::after {
  opacity: 1;
  transform: translate(-50%, -4px);
}
.tooltip-wrapper::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #121213 transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tooltip-wrapper:hover::before {
  opacity: 1;
}
button.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Submit button */
.submit-btn {
  padding: 0.75rem 1.25rem;
  font-size: 18px;
  font-weight:600;
}
.submit-btn:hover {
  background: #4959b8;
}

/* Responsive: stack fields on smaller screens */
@media (max-width: 600px) {
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
}


.label-row {
  display: flex;
  justify-content: space-between; /* pushes label left and tooltip right */
  align-items: center;
  margin-bottom: 1rem;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Tooltip icon */
.tooltip-icon {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size:18px;
	color: #C732C0;
	font-weight: 600;
	line-height: 1;
}

/* Tooltip content */
.tooltip-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0;                     
  bottom: 125%;                 
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  min-width: 500px;
  z-index: 10;
  transition: opacity 0.2s;
}

/* Little arrow */
.tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Show tooltip on hover */
.tooltip:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
}

.tooltip-icon:hover{
	color:#86107B;
}

.success-message {
  text-align: center;
  background: #f4f8ff;
  border: 1px solid #d0e3ff;
  padding: 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
}
.success-message p {
  margin: 0;
  color: #2c3e50;
}
.site-report:has(.sr-success-wrap){
	max-width:1150px;
}

.custom-sc:has(.sr-success-wrap){
	/*background-image:url(/wp-content/uploads/2024/12/hero-background-unmasked.svg);*/
	background-color: #121213;
	padding-top:10rem;
}
.sr-success-wrap {
  display: grid;
  place-items: center;
  min-height: 55vh; /* fills most of the page content area */
  padding: 2rem 1rem;
}
.sr-success-card {
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 2rem;
  /*background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);*/
}
.sr-success-card h2 { 
	margin: 0 0 .5rem; 
	font-size:48px;
	font-weight: 400;
	line-height:64px;
}
.sr-success-card p  { 
	margin: 0 0 1rem ;
	font-size:24px;
	font-weight:400;
}
.sr-success-actions {
  gap: .75rem; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap;
}
.sr-success-actions p{
	font-size:32px;
	font-weight:500;
}
.sr-link-btn {
  color: #D037C5;
}
.sr-link-btn:hover { 
	color:#86107B; 
}
.sr-resend-status {
	font-size: 1.5rem; 
	color: #fff; 
}
