/* ===== Cap Rate Calculator ===== */
.crc-wrap * { box-sizing: border-box; }
body {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.crc-wrap {
    padding: 32px 16px 48px;
    min-height: 100vh;
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

/* Header */
.crc-header { text-align: center; margin-bottom: 3rem; }
.crc-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
	    line-height: 1;
}

.crc-header p {
    margin: 0;
    margin-top: 0.75rem;
    font-size: 18px;
    color: #64748b;
}

.crc-body {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

/* Cards */
.crc-card {
    background: #fff;
    border-radius: 1rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 2rem;
}
.crc-card-box {
    margin-bottom: 20px;
}
.crc-card:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
	.crc-body {
		grid-template-columns: 1fr 440px;
	}
}
@media (min-width: 768px) {
.crc-header p {
  font-size: 20px;
}
.crc-header h1{
  font-size: 3rem;
}
}
/* Left panel */
.crc-left { flex: 1; min-width: 0; }

/* Section titles */
.crc-section-title {
    color: #008080;
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 33px;
}
.crc-sub { color: #6b7280; font-size: 0.85rem; margin: -10px 0 16px; }

/* Row for purchase + rent */
.crc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
}
@media (min-width: 768px) {
  .crc-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
.crc-row .crc-field { flex: 1; min-width: 130px; }

/* Gross income inline display */
.crc-gross-income { flex: 0 0 auto; }
.crc-gross-value  { font-size: 24px;
  font-weight: 700; color: #008080; padding-top: 8px; white-space: nowrap; }

/* Input fields */
.crc-field label {
 display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 13px;
  color: #475569;
  margin-bottom: 0.5rem;
	font-weight: 400;
}
.crc-heading-buttons {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}
.crc-heading-buttons h2.crc-section-title {
    margin-bottom: 0;
}
.crc-heading-buttons p.crc-sub {
    margin-top: 4px;
    margin-bottom: 0;
}
.crc-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid oklch(86.9% .022 252.894);
    border-radius: .625rem;
    overflow: hidden;
    background: #fff;
    transition: border-color .2s;
}
.crc-input-wrap:focus-within { border-color: #008080; box-shadow: 0 0 0 3px rgba(13,148,136,.12); }

.crc-symbol {
  padding-left: 0.75rem;
  color: #64748b;
  font-size: 15px;
}

body .rpa-form-card input[type="text"], body  input[type="number"], body  .rpa-form-card input[type="email"], body input[type="url"], body .rpa-form-card input[type="password"], body input[type="search"], body .rpa-form-card input[type="reset"], body input[type="tel"], body .rpa-form-card input[type="date"], body .rpa-form-card select, body .rpa-form-card textarea, body .ffc-adv-item-label {
    width: 100%;
    background-color: transparent;
    padding: 0.625rem 0.5rem;
    font-size: 15px;
    color: #1e293b;
    border: none;
}
.crc-input-wrap input:focus {
  outline: none; 
}
.crc-input-wrap input::-webkit-inner-spin-button,
.crc-input-wrap input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Toggle buttons */
.crc-toggle-row {
    width: fit-content;
    display: inline-flex;
    border-radius: 0.375rem;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.crc-toggle {
font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .05em;
    cursor: pointer;
    border: none;
    background: #fff;
    padding: 0.5rem 1.25rem;
    transition: all 0.15s ease;
    background-color: #ffffff;
    color: #334155;
    min-height: 39px;
    min-width: 104px;
    transition: background .2s, color .2s;
	    border-radius: 0;
}
.crc-toggle.active { background: #1f3a4d; color: #fff; }
.crc-toggle:hover:not(.active) {
    background-color: #f8fafc;
    color: #334155;
}

/* Expenses grid */
.crc-expenses-grid { 
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
} 
@media (min-width: 768px) {
.crc-expenses-grid { 
grid-template-columns: repeat(3, 1fr);
} 
}
.crc-total-value { font-size: 1.5rem; font-weight: 700; color: #008080; padding-top: 4px; }

/* Tooltip */
.crc-tooltip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%;
    background: #e5e7eb; color: #6b7280;
    font-size: 0.65rem; font-weight: 700;
    cursor: help; margin-left: 4px;
    vertical-align: middle;
}
.crc-field.crc-total-field {
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
}
/* ===== RIGHT PANEL ===== */
.crc-right {
    width: 100%;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
}

.crc-result-card {
    background: #fff;
    border-radius: 1rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 2rem;
}

.crc-result-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}
.crc-result-header span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.crc-cap-rate-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: #008080;
}
.crc-result-row {
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 0;
    font-size: 14px;
}

.crc-result-row:last-child { border-bottom: none; }
.crc-result-row span:first-child { color: #45556c; }
.crc-result-row span:last-child  { font-weight: 600; color: #0f172b; }

.crc-negative { color: #e7000b !important; }
.crc-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    border-radius: 50%;
    background: #fff;
    color: #90a1b9;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: solid 1px #90a1b9;
}

.crc-tooltip::before {
    content: attr(title);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
	min-width: 220px;
    max-width: 320px;
    padding: 0.5rem 0.75rem;
    background-color: #0f172a;
    color: #fff;
   line-height: 1rem;
   font-size: 0.75rem;
   border-radius: 0.375rem;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: none;
     box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
                0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.crc-tooltip::after {
    content: "";
    position: absolute;
    bottom: calc(130% - 6px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #021639 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.crc-tooltip:hover::before,
.crc-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}
@media(max-width: 767px){
	.crc-card {
    padding: 1rem;
}
.crc-heading-buttons {
margin-top: 1.5rem;
 gap: 1rem;
}
	.crc-row {
    gap: 1rem;
}
	.crc-result-card {
    padding: 1rem;
}
	.crc-body {
    gap: 1rem;
}
	.crc-header p {
    font-size: 16px;
}
}


.crc-sec2{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
.re-faq {
	margin-top: 80px;
	font-family: inherit;
	color: #0f172a;
}

.re-faq__title {
	margin: 0 0 40px;
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	color: #0f172a;
}

.re-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.re-faq__item {
	margin: 0;
}

.re-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 20px 24px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	color: #1e293b;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-align: left;
	cursor: pointer;
	transition: box-shadow 0.2s ease;
    outline: none !important;
}

.re-faq__trigger:hover {
	box-shadow: 0 4px 6px rgba(15, 23, 42, 0.08);
}

.re-faq__trigger:focus-visible {
	outline: 2px solid #008080;
	outline-offset: 2px;
}

.re-faq__item.is-open .re-faq__trigger {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.re-faq__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: #008080;
}

.re-faq__icon--minus {
	display: none;
}

.re-faq__item.is-open .re-faq__icon--plus {
	display: none;
}

.re-faq__item.is-open .re-faq__icon--minus {
	display: block;
}

.re-faq__panel {
	display: none;
	padding: 20px 24px;
	border: 1px solid #e2e8f0;
	border-top: 0;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	color: #334155;
	font-size: 15px;
	line-height: 1.625;
}

.re-faq__item.is-open .re-faq__panel {
	display: block;
}

.re-faq__panel p {
	margin: 0 0 16px;
}

.re-faq__panel p:last-child {
	margin-bottom: 0;
}

.re-faq__panel p.re-faq__lead {
	font-weight: 600;
	color: #0f172a;
}

.re-faq__panel ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.re-faq__panel ol li {
	margin-bottom: 8px;
}

.re-faq__panel ol li:last-child {
	margin-bottom: 0;
}

.re-faq__panel ul {
	margin: 0 0 16px;
	padding-left: 24px;
}

.re-faq__panel ul li {
	margin-bottom: 8px;
}

@media (min-width: 768px) {
	.re-faq__title {
		font-size: 34px;
	}
}