/* ============================================================
   Post Property Page specific styles (css/post-property.css)
============================================================= */

/* Minimal Animation */
.minimal-fade-in {
	animation: simpleFade 0.6s ease-in-out;
}

@keyframes simpleFade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Background setter for the <main> block */
.bg-property {
	background-color: #f5f6ff;
	margin-top: 10vh;
}

/* Main Wrapper Layer */
.post-property-wrapper {
	padding: 20px 15px 60px 15px;
	/* Reduced top padding as global.css handles navbar spacing */
	font-family: 'Poppins', sans-serif;
}

/* Card Container */
.post-property-card {
	background-color: #ffffff;
	border-radius: 28px;
	padding: 50px 60px;
	width: 100%;
	max-width: 850px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Typography & Headers */
.form-title {
	color: var(--primary-dark);
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.3px;
}

/* Input Fields styling */
.custom-input {
	background-color: #F8F7F4 !important;
	border: none;
	border-radius: 8px;
	height: 52px;
	padding: 10px 20px;
	font-size: 14px;
	color: var(--primary-dark);
	box-shadow: none !important;
	transition: background-color 0.2s ease;
}

.custom-input::placeholder {
	color: #53647A;
	font-weight: 400;
}

.custom-input:focus {
	background-color: #F2F0EC !important;
	outline: 1px solid #1A365D;
}

/* Secondary Number Custom Box */
.custom-input-box {
	padding: 0 20px;
}

/* Custom Checkbox Design */
.cursor-pointer {
	cursor: pointer;
}

.custom-checkbox-label .custom-checkmark {
	width: 22px;
	height: 22px;
	background-color: #ccc;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	font-size: 11px;
	transition: all 0.2s ease;
}

.custom-checkbox-label input:checked~.custom-checkmark {
	background-color: #1A365D;
	color: white;
}

.text-secondary-number,
.need-assistance-text {
	color: #2F3D53;
	font-size: 14px;
	font-weight: 500;
}

/* Property Types Options (Radio Buttons) */
.property-types-container {
	max-width: 700px;
}

.type-btn {
	background-color: #F8F7F4;
	color: #333;
	border: none;
	border-radius: 8px;
	padding: 14px 10px;
	font-size: 14px;
	font-weight: 400;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
}

.type-btn:hover {
	background-color: #e8e6df;
}

/* Bootstrap btn-check styling link to custom label */
.btn-check:checked+.type-btn {
	background-color: #1A365D;
	color: #ffffff;
}

/* Save & Continue Button */
.btn-save-continue {
	background-color: #1A365D;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 12px 35px;
	font-size: 16px;
	font-weight: 400;
	transition: all 0.2s ease;
}

.btn-save-continue:hover {
	background-color: #112543;
	color: #ffffff;
}

/* Terms and Conditions Box */
.terms-box {
	background-color: #EFEFEF;
	border-radius: 10px;
	padding: 25px 30px;
}

.terms-title {
	color: #4A5568;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 12px;
}

.terms-text {
	color: #1a1a1a;
	font-size: 11.5px;
	line-height: 1.6;
	text-align: justify;
}

.terms-box {
	padding: 12px 15px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f8f9fa;
}

.terms-text {
	font-size: 12px;
	line-height: 1.5;
	color: #555;
}

.terms-summary {
	padding-left: 5px;
}

.terms-preview {
	margin-top: 6px;
	max-height: 75px;
	overflow: hidden;
	position: relative;
}

.terms-preview ol {
	margin: 4px 0 0 18px;
	padding: 0;
}

.terms-preview li {
	margin-bottom: 4px;
}

.terms-preview strong {
	color: #333;
}

.show-more-terms {
	border: none;
	background: none;
	padding: 0;
	margin-top: 5px;
	color: #1b365d;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.show-more-terms:hover {
	text-decoration: underline;
}

.terms-preview.expanded {
	max-height: none;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
	.post-property-card {
		padding: 30px 20px;
		border-radius: 20px;
	}

	.terms-box {
		padding: 15px 20px;
	}

	.type-btn {
		padding: 10px 5px;
		font-size: 13px;
	}

	.post-property-wrapper {
		padding: 10px 10px 40px 10px;
	}
}

.terms-box {
	padding: 16px 18px;
	background: #f8f9fb;
	border: 1px solid #e5e8ed;
	border-radius: 10px;
}

.terms-text {
	color: #6f7785;
	font-size: 13px;
	line-height: 1.6;
}

.terms-link {
	color: #131f35;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.terms-link:hover {
	color: #c89b5d;
}

.form-check-input {
	cursor: pointer;
}

.form-check-label {
	cursor: pointer;
}