.cp-signup-wrap {
	max-width: 720px;
	margin: 0 auto;
}

.cp-signup-wrap h2 {
	margin-top: 2em;
	padding-bottom: 0.4em;
	border-bottom: 1px solid #e2e2e2;
}

.cp-signup-messages {
	display: none;
	margin-bottom: 1em;
	padding: 12px 16px;
	border-radius: 4px;
	background: #fdecea;
	color: #a94442;
	border: 1px solid #f5c6cb;
}

.cp-signup-messages.cp-visible {
	display: block;
}

.cp-field {
	margin-bottom: 1.1em;
}

.cp-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
	font-size: 0.92em;
}

.cp-field input[type="text"],
.cp-field input[type="email"],
.cp-field input[type="tel"],
.cp-field input[type="url"],
.cp-field input[type="number"],
.cp-field select,
.cp-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 1em;
}

.cp-field-row {
	display: flex;
	gap: 16px;
}

.cp-field-row .cp-field {
	flex: 1;
}

.cp-field-row-3 .cp-field {
	flex: 1;
}

.cp-inline-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: normal;
	margin-right: 18px;
	margin-bottom: 6px;
}

.cp-help-text {
	color: #666;
	font-size: 0.9em;
	margin-top: -0.5em;
}

.cp-char-count {
	display: block;
	text-align: right;
	font-size: 0.8em;
	color: #888;
}

.cp-categories {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cp-category-group {
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	padding: 12px 14px;
}

.cp-category-master {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	cursor: pointer;
}

.cp-category-subs {
	margin-top: 8px;
	padding-left: 24px;
	display: flex;
	flex-direction: column;
}

.cp-field-error {
	color: #a94442;
	font-size: 0.85em;
	margin-top: 4px;
}

.cp-upload-status {
	margin-top: 6px;
	font-size: 0.85em;
	color: #3c9a5f;
}

.cp-upload-status.cp-uploading {
	color: #888;
}

.cp-upload-status.cp-error {
	color: #a94442;
}

.cp-submit-btn {
	margin-top: 1.5em;
	width: 100%;
	padding: 14px 20px;
	background: #e2231a;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1.05em;
	font-weight: 700;
	cursor: pointer;
}

.cp-submit-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

@media (max-width: 640px) {
	.cp-field-row,
	.cp-categories {
		flex-direction: column;
		grid-template-columns: 1fr;
	}
}


/* ==========================================================
   PROTOTYPE STYLE OVERRIDES - PART 1
   Based on become-certified.html
   ========================================================== */

/*.cp-signup-wrap{
    max-width:900px;
    margin:40px auto;
    padding:40px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 8px 30px rgba(15,23,42,.05);
    box-sizing:border-box;
}*/

/*--------------------------------------------------------------
# Form Typography
--------------------------------------------------------------*/

.cp-signup-wrap,
.cp-signup-wrap input,
.cp-signup-wrap select,
.cp-signup-wrap textarea,
.cp-signup-wrap button {
	font-family: inherit;
	color: #334155;
	font-size: 16px;
	line-height: 1.5;
}

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/

.cp-signup-wrap h2 {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 50px 0 28px;
	padding: 0 0 14px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #0f172a;
	border: none;
	border-bottom: 2px solid #e2e8f0;
}

.cp-signup-wrap h2:first-of-type {
	margin-top: 0;
}

.cp-signup-wrap h2 small {
	font-size: 14px;
	font-weight: 500;
	color: #64748b;
}

/*--------------------------------------------------------------
# Fields
--------------------------------------------------------------*/

.cp-field {
	margin-bottom: 24px;
}

.cp-field:last-child {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
# Labels
--------------------------------------------------------------*/

.cp-field label:not(.cp-inline-check) {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #334155;
}

.cp-field label small {
	font-weight: 400;
	color: #64748b;
}

/*--------------------------------------------------------------
# Inputs / Selects / Textareas
--------------------------------------------------------------*/

.cp-field input[type="text"],
.cp-field input[type="email"],
.cp-field input[type="tel"],
.cp-field input[type="url"],
.cp-field input[type="number"],
.cp-field select,
.cp-field textarea {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
	color: #334155;
	font-size: 15px;
	line-height: 1.5;
	transition: border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
	box-sizing: border-box;
}

.cp-field textarea {
	min-height: 160px;
	resize: vertical;
}

/*--------------------------------------------------------------
# Placeholder
--------------------------------------------------------------*/

.cp-field input::placeholder,
.cp-field textarea::placeholder {
	color: #94a3b8;
	opacity: 1;
}

/*--------------------------------------------------------------
# Focus
--------------------------------------------------------------*/

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
	outline: none;
	border-color: #ef4444;
	box-shadow: 0 0 0 4px rgba(239,68,68,.10);
}

/*--------------------------------------------------------------
# Select
--------------------------------------------------------------*/

.cp-field select {
	cursor: pointer;
	background-color: #fff;
}

/*--------------------------------------------------------------
# Field Rows
--------------------------------------------------------------*/

.cp-field-row {
	display: flex;
	gap: 24px;
	margin-bottom: 0;
}

.cp-field-row .cp-field {
	flex: 1;
	margin-bottom: 24px;
}

/*--------------------------------------------------------------
# Help Text
--------------------------------------------------------------*/

.cp-help-text {
	margin: -10px 0 22px;
	font-size: 14px;
	line-height: 1.6;
	color: #64748b;
}

/*--------------------------------------------------------------
# Character Counter
--------------------------------------------------------------*/

.cp-char-count {
	display: block;
	margin-top: 8px;
	text-align: right;
	font-size: 13px;
	color: #94a3b8;
}

/*--------------------------------------------------------------
# Validation Messages
--------------------------------------------------------------*/

.cp-field-error {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #dc2626;
}

.cp-signup-messages {
	margin-bottom: 30px;
	padding: 18px 22px;
	border-radius: 10px;
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #b91c1c;
}

/*--------------------------------------------------------------
# Submit Button
--------------------------------------------------------------*/

.cp-submit-btn {
	display: block;
	width: 100%;
	margin-top: 40px;
	padding: 16px 28px;
	border: none;
	border-radius: 10px;
	background: #e2231a;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: background .25s ease,
        transform .15s ease,
        box-shadow .25s ease;
}

.cp-submit-btn:hover {
	background: #c91c15;
	box-shadow: 0 8px 20px rgba(226,35,26,.25);
	transform: translateY(-1px);
}

.cp-submit-btn:active {
	transform: translateY(0);
}

.cp-submit-btn:disabled {
	opacity: .65;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}
/* ==========================================================
   PROTOTYPE STYLE OVERRIDES - PART 2
   Categories / Checkboxes / Uploads
   ========================================================== */


/*--------------------------------------------------------------
# Categories Grid
--------------------------------------------------------------*/

.cp-categories {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 24px;
	margin-top: 18px;
}


/*--------------------------------------------------------------
# Category Card
--------------------------------------------------------------*/

.cp-category-group {
	background: #fff;
	border: 1px solid #dbe4ee;
	border-radius: 12px;
	padding: 20px;
	transition: border-color .25s ease,
        box-shadow .25s ease,
        transform .2s ease;
}

.cp-category-group:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 18px rgba(15,23,42,.06);
	transform: translateY(-2px);
}


/*--------------------------------------------------------------
# Master Category
--------------------------------------------------------------*/

.cp-category-master {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	cursor: pointer;
}


/*--------------------------------------------------------------
# Sub Categories
--------------------------------------------------------------*/

.cp-category-subs {
	margin-top: 18px;
	padding-top: 18px;
	padding-left: 34px;
	border-top: 1px solid #edf2f7;
	display: flex;
	flex-direction: column;
	gap: 12px;
}


/*--------------------------------------------------------------
# Checkbox Labels
--------------------------------------------------------------*/

.cp-inline-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	color: #475569;
	cursor: pointer;
}


/*--------------------------------------------------------------
# Checkbox Inputs
--------------------------------------------------------------*/

.cp-inline-check input[type="checkbox"],
.cp-category-master input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-top:0px;
	accent-color: #e2231a;
	cursor: pointer;
	flex-shrink: 0;
}


/*--------------------------------------------------------------
# Project Type Section
--------------------------------------------------------------*/

.cp-field > .cp-inline-check {
	display: inline-flex;
	margin-right: 28px;
	margin-top: 0px;
}


/*--------------------------------------------------------------
# References
--------------------------------------------------------------*/

.cp-field-row {
	margin-bottom: 8px;
}

.cp-field-row:last-child {
	margin-bottom: 0;
}


/*--------------------------------------------------------------
# Upload Inputs
--------------------------------------------------------------*/

.cp-file-input {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 14px;
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	background: #f8fafc;
	cursor: pointer;
	transition: border-color .25s ease,
        background .25s ease;
}

.cp-file-input:hover {
	background: #fff;
	border-color: #e2231a;
}


/*--------------------------------------------------------------
# Upload Status
--------------------------------------------------------------*/

.cp-upload-status {
	margin-top: 10px;
	font-size: 14px;
	color: #16a34a;
}

.cp-upload-status.cp-uploading {
	color: #64748b;
}

.cp-upload-status.cp-error {
	color: #dc2626;
}


/*--------------------------------------------------------------
# Certification Box
--------------------------------------------------------------*/

.cp-field:has(> .cp-inline-check input[disabled]) {
	margin-top: 36px;
	padding: 18px 20px;
	background: #fff8e8;
	border: 1px solid #f6d98b;
	border-radius: 10px;
}

.cp-field:has(> .cp-inline-check input[disabled]) .cp-inline-check {
	margin: 0;
	font-size: 15px;
	font-style: normal !important;
	color: #6b4f00;
	font-weight: 500;
}


/*--------------------------------------------------------------
# Required Asterisk
--------------------------------------------------------------*/

.cp-field label strong,
.cp-field label b {
	color: #dc2626;
}


/*--------------------------------------------------------------
# Upload Section Labels
--------------------------------------------------------------*/

.cp-field label small {
	display: inline-block;
	margin-left: 4px;
	font-size: 13px;
	color: #64748b;
}


/*--------------------------------------------------------------
# Category Error
--------------------------------------------------------------*/

#cp-categories-error {
	margin-top: 16px;
	margin-bottom: 8px;
}


/*--------------------------------------------------------------
# Better spacing between sections
--------------------------------------------------------------*/

.cp-signup-wrap h2 + .cp-field,
.cp-signup-wrap h2 + .cp-help-text {
	margin-top: 0;
}


/*--------------------------------------------------------------
# File inputs remove browser spacing
--------------------------------------------------------------*/

.cp-file-input::-webkit-file-upload-button {
	background: #e2231a;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	margin-right: 16px;
}

.cp-file-input::file-selector-button {
	background: #e2231a;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	margin-right: 16px;
}
/* ==========================================================
   PROTOTYPE STYLE OVERRIDES - PART 3
   Responsive + Final Polish
   ========================================================== */


/*--------------------------------------------------------------
# Better Box Model
--------------------------------------------------------------*/

.cp-signup-wrap *,
.cp-signup-wrap *:before,
.cp-signup-wrap *:after {
	box-sizing: border-box;
}


/*--------------------------------------------------------------
# Nice transition everywhere
--------------------------------------------------------------*/

.cp-signup-wrap input,
.cp-signup-wrap textarea,
.cp-signup-wrap select,
.cp-signup-wrap button,
.cp-category-group {
	transition: all .25s ease;
}


/*--------------------------------------------------------------
# Number input cleanup
--------------------------------------------------------------*/

.cp-signup-wrap input[type=number]::-webkit-inner-spin-button,
.cp-signup-wrap input[type=number]::-webkit-outer-spin-button {
	margin: 0;
}

.cp-signup-wrap input[type=number] {
	-moz-appearance: textfield;
}


/*--------------------------------------------------------------
# Better file inputs
--------------------------------------------------------------*/

.cp-file-input {
	font-size: 15px;
	color: #475569;
}


/*--------------------------------------------------------------
# Upload field spacing
--------------------------------------------------------------*/

.cp-upload-status:empty {
	display: none;
}


/*--------------------------------------------------------------
# Small helper text
--------------------------------------------------------------*/

.cp-signup-wrap small {
	color: #64748b;
}


/*--------------------------------------------------------------
# Disabled fields
--------------------------------------------------------------*/

.cp-signup-wrap input:disabled,
.cp-signup-wrap textarea:disabled,
.cp-signup-wrap select:disabled {
	background: #f8fafc;
	color: #94a3b8;
	cursor: not-allowed;
}


/*--------------------------------------------------------------
# Better select arrow spacing
--------------------------------------------------------------*/

.cp-signup-wrap select {
	padding-right: 42px;
	background-position: right 16px center;
}


/*--------------------------------------------------------------
# Textarea
--------------------------------------------------------------*/

.cp-signup-wrap textarea {
	line-height: 1.7;
}


/*--------------------------------------------------------------
# Input Hover
--------------------------------------------------------------*/

.cp-signup-wrap input:hover,
.cp-signup-wrap textarea:hover,
.cp-signup-wrap select:hover {
	border-color: #94a3b8;
}


/*--------------------------------------------------------------
# Better spacing after paragraphs
--------------------------------------------------------------*/

.cp-help-text + .cp-categories {
	margin-top: 20px;
}

.cp-help-text + .cp-field-row {
	margin-top: 18px;
}


/*--------------------------------------------------------------
# Horizontal rule feeling between sections
--------------------------------------------------------------*/

.cp-signup-wrap h2:not(:first-of-type) {
	scroll-margin-top: 40px;
}


/*--------------------------------------------------------------
# Better inline checkbox spacing
--------------------------------------------------------------*/

.cp-inline-check + .cp-inline-check {
	margin-top:0px;
}


/*--------------------------------------------------------------
# Prevent long category names breaking layout
--------------------------------------------------------------*/

.cp-category-master,
.cp-inline-check {
	word-break: break-word;
}


/*--------------------------------------------------------------
# Category cards equal height
--------------------------------------------------------------*/

.cp-category-group {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}


/*--------------------------------------------------------------
# Reference rows
--------------------------------------------------------------*/

.cp-field-row {
	align-items: flex-start;
}


/*--------------------------------------------------------------
# Submit Button
--------------------------------------------------------------*/

.cp-submit-btn {
	letter-spacing: .2px;
}

.cp-submit-btn:focus {
	outline: none;
	box-shadow: 0 0 0 4px rgba(226,35,26,.15);
}


/*--------------------------------------------------------------
# Error field highlight
--------------------------------------------------------------*/

.cp-field input.cp-error,
.cp-field textarea.cp-error,
.cp-field select.cp-error {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}


/*--------------------------------------------------------------
# Success field highlight
--------------------------------------------------------------*/

.cp-field input.cp-success,
.cp-field textarea.cp-success,
.cp-field select.cp-success {
	border-color: #16a34a;
	box-shadow: 0 0 0 3px rgba(22,163,74,.08);
}

.cp-claim-notice {
    background: #eaf4ff;
    border: 1px solid #1462b5;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #002751;
    line-height: 1.6;
}

.cp-claim-notice strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media (max-width:991px) {

	.cp-signup-wrap {
		padding: 32px 28px;
	}

	.cp-categories {
		grid-template-columns: 1fr;
	}
}

@media (max-width:767px) {

	.cp-signup-wrap {
		padding: 24px 18px;
		margin: 20px auto;
	}

	.cp-signup-wrap h2 {
		font-size: 18px;
		margin: 40px 0 20px;
	}

	.cp-field-row {
		flex-direction: column;
		gap: 0;
	}

	.cp-field-row .cp-field {
		width: 100%;
	}

	.cp-submit-btn {
		width: 100%;
	}

	.cp-field > .cp-inline-check {
		display: flex;
		margin-right: 0;
		margin-bottom: 12px;
	}
}

@media (max-width:480px) {

	.cp-signup-wrap {
		border-radius: 10px;
		padding: 18px 14px;
	}

	.cp-signup-wrap h2 {
		font-size: 17px;
	}

	.cp-field input,
    .cp-field textarea,
    .cp-field select {
		font-size: 16px;
	}
}
/*--------------------------------------------------------------
# Form actions — Submit + "Save, I'll finish later"
--------------------------------------------------------------*/

.cp-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
}

.cp-form-actions .cp-submit-btn {
	width: auto;
	margin-top: 0;
}

.cp-save-draft-btn {
	display: inline-block;
	padding: 12px 24px !important;
	border: 2px solid #002751 !important;
	border-radius: 10px;
	background: #fff !important;
	color: #002751 !important;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .25s ease, color .25s ease;
}

.cp-save-draft-btn:hover,
.cp-save-draft-btn:focus {
	background: #002751 !important;
	color: #fff !important;
	outline: none;
}

.cp-save-draft-btn:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.cp-save-draft-help {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #64748b;
}

/*--------------------------------------------------------------
# Success message (draft saved)
--------------------------------------------------------------*/

.cp-signup-messages.cp-success {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

/*--------------------------------------------------------------
# Draft notices (resumed / expired)
--------------------------------------------------------------*/

.cp-draft-notice {
	margin-bottom: 24px;
	padding: 14px 18px;
	border: 1px solid #16a34a;
	border-radius: 4px;
	background: #f0fdf4;
	color: #14532d;
	font-size: 14px;
	line-height: 1.6;
}

.cp-draft-notice strong {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
}

.cp-draft-notice--expired {
	border-color: #f0b849;
	background: #fff8e1;
	color: #7a5c00;
}

/*--------------------------------------------------------------
# Field validation text (used by JS)
--------------------------------------------------------------*/

.cp-field-validation {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #dc2626;
}

@media (max-width: 767px) {
	.cp-form-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cp-form-actions .cp-submit-btn,
	.cp-save-draft-btn {
		width: 100%;
	}
}