/* AREAPM Consulting Form - Front-end + Admin styles */

.areapm-cf-wrapper {
	max-width: 760px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #2b2b2b;
}

.areapm-cf-letterhead {
	background: linear-gradient(135deg, #d4af37, #e9cf6b);
	padding: 18px 20px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.areapm-cf-logo {
	font-weight: 800;
	font-size: 22px;
	background: #1a1a1a;
	color: #d4af37;
	border-radius: 50%;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.areapm-cf-title-block h2 {
	margin: 0;
	font-size: 18px;
	color: #1a1a1a;
}
.areapm-cf-title-block h3 {
	margin: 2px 0;
	font-size: 14px;
	color: #1a1a1a;
}
.areapm-cf-motto {
	margin: 0;
	font-style: italic;
	font-size: 12px;
	color: #3a3a3a;
}
.areapm-cf-address {
	margin-left: auto;
	font-size: 12px;
	color: #1a1a1a;
	text-align: right;
}

.areapm-cf-form-heading {
	text-align: center;
	text-decoration: underline;
	font-size: 18px;
	margin-bottom: 20px;
}

.areapm-cf-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 18px;
	font-size: 14px;
}
.areapm-cf-success {
	background: #e6f6ea;
	border: 1px solid #34a853;
	color: #1e7e34;
}
.areapm-cf-error {
	background: #fdecea;
	border: 1px solid #d93025;
	color: #b3261e;
}

.areapm-cf-form fieldset {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 16px 18px;
	margin-bottom: 18px;
}
.areapm-cf-form legend {
	font-weight: 700;
	padding: 0 8px;
	color: #8a6d1d;
}

.areapm-cf-row {
	margin-bottom: 14px;
}
.areapm-cf-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 14px;
}
.areapm-cf-row input[type="text"],
.areapm-cf-row input[type="email"],
.areapm-cf-row input[type="date"],
.areapm-cf-row input[type="file"],
.areapm-cf-row textarea {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}
.areapm-cf-row textarea {
	resize: vertical;
}
.req {
	color: #d93025;
}

.areapm-cf-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.areapm-cf-three {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 14px;
}
@media (max-width: 600px) {
	.areapm-cf-two,
	.areapm-cf-three {
		grid-template-columns: 1fr;
	}
}

.areapm-cf-radio-group {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}
.areapm-cf-inline {
	font-weight: 400 !important;
	display: flex !important;
	align-items: center;
	gap: 6px;
}

.areapm-cf-admin-note {
	font-size: 13px;
	color: #6b6b6b;
	font-style: italic;
	margin: 0;
}

.areapm-cf-terms {
	border: 1px solid #e3dcc2;
	background: #fffdf6;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 18px;
	max-height: 320px;
	overflow-y: auto;
	font-size: 12.5px;
	line-height: 1.5;
	color: #3a3a3a;
}
.areapm-cf-terms h3 {
	margin-top: 0;
	font-size: 14px;
	color: #8a6d1d;
}
.areapm-cf-terms p {
	margin: 0 0 8px;
}
.areapm-cf-terms ol {
	margin: 0;
	padding-left: 20px;
}
.areapm-cf-terms li {
	margin-bottom: 8px;
}

.areapm-cf-agreement-text {
	font-size: 13px;
	color: #555;
	background: #f8f6ef;
	border-left: 4px solid #d4af37;
	padding: 10px 14px;
	margin-bottom: 18px;
}

.areapm-cf-submit-btn {
	background: #1a1a1a;
	color: #d4af37;
	border: none;
	padding: 12px 28px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.areapm-cf-submit-btn:hover {
	background: #333;
}

/* Admin styles */
.areapm-cf-admin-wrap table.widefat td,
.areapm-cf-admin-wrap table.widefat th {
	vertical-align: middle;
}
.areapm-cf-status {
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}
.areapm-cf-status-new {
	background: #fdecea;
	color: #b3261e;
}
.areapm-cf-status-processed {
	background: #e6f6ea;
	color: #1e7e34;
}
.areapm-cf-actions {
	margin: 14px 0;
}
.areapm-cf-edit-form .form-table th {
	padding-left: 0;
}
.areapm-cf-detail-table th {
	background: #faf7ee;
}
