/**
 * RECO Information Guide — public application styles.
 *
 * Clean, accessible, and intentionally restrained so RECO branding can be
 * layered on later by adjusting the CSS custom properties in style.css.
 */

/* Layout ------------------------------------------------------------------ */
.reco-container {
	width: 100%;
	max-width: var(--reco-max-width);
	margin: 0 auto;
	padding: 0 20px;
	margin-top:50px;
}

.reco-main {
	padding: 0px 0 64px;
}

/* Application card --------------------------------------------------------- */
.reco-app {
	background: #fff;
	border: 1px solid var(--reco-border);
	border-radius: 12px;
	padding: 32px clamp(20px, 4vw, 40px);
	box-shadow: 0 1px 2px rgba(16, 33, 56, 0.04), 0 8px 28px rgba(16, 33, 56, 0.05);
}

.reco-page-title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--reco-text);
}

.reco-intro {
	margin-bottom: 28px;
	color: var(--reco-muted);
}
.reco-intro :last-child { margin-bottom: 0; }

.reco-required-note {
	font-size: 0.9rem;
	color: var(--reco-muted);
	margin: 0 0 24px;
}
.reco-required-note .reco-req { color: var(--reco-error); font-weight: 700; }

/* Form sections ----------------------------------------------------------- */
.reco-fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 28px;
}
.reco-fieldset__legend {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--reco-accent-dark);
	padding: 0 0 14px;
	margin: 0 0 18px;
	border-bottom: 1px solid var(--reco-border);
	width: 100%;
}

.reco-grid {
	display: grid;
	gap: 18px 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reco-grid--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
	.reco-grid { grid-template-columns: minmax(0, 1fr); }
}

.reco-field { display: flex; flex-direction: column; }
.reco-field--full { grid-column: 1 / -1; }

.reco-label {
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 6px;
	color: var(--reco-text);
}
.reco-req { color: var(--reco-error); margin-left: 2px; }

.reco-input {
	font: inherit;
	color: var(--reco-text);
	padding: 11px 13px;
	border: 1px solid var(--reco-border);
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.reco-input::placeholder { color: #9aa6b2; }
.reco-input:focus {
	outline: none;
	border-color: var(--reco-accent);
	box-shadow: 0 0 0 3px rgba(33, 76, 59, 0.18);
}
.reco-input[aria-invalid="true"] {
	border-color: var(--reco-error);
}
.reco-input[aria-invalid="true"]:focus {
	box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.15);
}

/* Validation messages ----------------------------------------------------- */
.reco-error-msg {
	color: var(--reco-error);
	font-size: 0.85rem;
	margin-top: 6px;
	display: none;
}
.reco-error-msg.is-visible { display: block; }

.reco-form-error {
	background: #fdecea;
	border: 1px solid #f3c4bf;
	color: #7a1a14;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 24px;
}

/* Consumer rows ----------------------------------------------------------- */
.reco-consumer {
	border: 1px solid var(--reco-border);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 16px;
	background: #fbfcfe;
}
.reco-consumer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}
.reco-consumer__title {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--reco-muted);
}

/* Buttons ----------------------------------------------------------------- */
.reco-btn {
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	border-radius: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.reco-btn--primary {
	background: var(--reco-accent);
	color: #fff;
}
.reco-btn--primary:hover { background: var(--reco-accent-dark); }
.reco-btn--secondary {
	background: #fff;
	color: var(--reco-accent-dark);
	border-color: var(--reco-border);
	
    padding: 5px 10px 5px 10px;
    background-color: #1aba8a;
    color: #000;
    border-radius: 7px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 40px;
    margin-top: -10px;
	
	
	
	
}
.reco-btn--secondary:hover { border-color: var(--reco-accent); }
.reco-btn--link {
	background: none;
	border: none;
	color: var(--reco-error);
	padding: 6px 12px;
	font-size: 0.88rem;
    background-color: #bd4f2e;
    color: #ffffff;
    border-radius: 7px;
    cursor: pointer;
	
	
	
	
}
.reco-actions { margin-top: 28px; }

/* Acknowledgement choices ------------------------------------------------- */
.reco-choice {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	border: 1px solid var(--reco-border);
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 12px;
	cursor: pointer;
}
.reco-choice:hover { border-color: var(--reco-accent); }
.reco-choice input { margin-top: 3px; flex: 0 0 auto; }
.reco-choice__label { font-size: 0.95rem; }

/* Disclosure block (SRP pages) -------------------------------------------- */
.reco-disclosure {
	background: #eef4f1;
	border: 1px solid #cfe0d8;
	border-radius: 10px;
	padding: 20px 22px;
	margin-bottom: 24px;
}
.reco-disclosure h2 { margin-top: 0; font-size: 1.1rem; }
.reco-disclosure dt { font-weight: 700; margin-top: 12px; }
.reco-disclosure dd { margin: 2px 0 0; }

/* States ------------------------------------------------------------------ */
.reco-notice {
	border-radius: 10px;
	padding: 22px 24px;
	font-size: 1rem;
}
.reco-notice--success {
	background: var(--reco-success-bg);
	border: 1px solid var(--reco-success-border);
	color: #155a32;
}
.reco-notice--expired {
	background: #fff7ed;
	border: 1px solid #f3d8b0;
	color: #7a4a12;
}
.reco-notice h2 { margin-top: 0; }

.reco-subheading {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 24px 0 12px;
	color: var(--reco-accent-dark);
}

/* Honeypot — visually hidden but reachable to bots. */
.reco-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}



/* --- Accordion Container --- */
.accordion {
    border: 0px solid #ddd;
    border-radius: 0px;
}

/* --- Accordion Item --- */
.accordion-item {
    border-bottom: 1px solid #ddd;
}

/* --- Accordion Button --- */
.accordion-button {
    width: 100%;
    background: #fdf9ed;
    border: none;
    padding: 15px;
    text-align: left;
    font-size: 1rem;
	font-weight:bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.accordion-button:hover {
    background: #eee;
}

/* Chevron indicator */
.accordion-button::after {
    content: "▸";
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

/* When expanded */
.accordion-button.active::after {
    transform: rotate(90deg);
}

/* --- Accordion Content Panel --- */
.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion-body {
	padding: 0px 20px 20px 30px;
	margin-top:-10px;
    background: #fff;
}
