/* Request-specific styles */

.request-form-section {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 28px;
	margin-bottom: 20px;
	transition: all 0.3s ease;
	overflow: hidden;
}

.request-form-hidden {
	display: none;
}

.request-form-visible {
	display: block;
	animation: slideDown 0.3s ease;
}

.request-form {
	padding: 30px;
}

.request-form h2 {
	margin-bottom: 24px;
	color: #333;
	font-size: 24px;
	font-weight: 600;
}

.form-section {
	margin-bottom: 32px;
}

.form-section h3 {
	margin-bottom: 16px;
	color: #555;
	font-size: 18px;
	font-weight: 500;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 8px;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 12px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s;
	background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: #FF1500;
}

.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	padding-right: 40px;
}

.form-actions {
	display: flex;
	gap: 16px;
	justify-content: flex-end;
	padding-top: 20px;
	border-top: 1px solid #f0f0f0;
}

.btn-cancel {
	background: transparent;
	color: #666;
	border: 1px solid #ddd;
	padding: 12px 24px;
	border-radius: 12px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s;
}

.btn-cancel:hover {
	background: #f5f5f5;
	border-color: #bbb;
}

.btn-submit {
	background: #FF1500;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 12px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.2s;
}

.btn-submit:hover {
	background: #e60000;
}

.btn-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Add Request Button */
.add-request-btn {
	background: #FF1500;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 12px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: background-color 0.2s;
	white-space: nowrap;
	height: 40px;
}

.add-request-btn:hover {
	background: #e60000;
}

/* Request Cards */
.requests-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 24px 16px;
	padding: 0 5px;
}



.request-card {
	/* background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 20px;
	padding: 24px;
	transition: all 0.2s;
	position: relative;
	display: grid;
	align-items: start;
	align-content: space-between;
	justify-content: space-between; */

	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 28px;
	padding: 24px;
	transition: all 0.2s;
	position: relative;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	width: 100%;

}

.request-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	border-color: #d0d0d0;
}

.request-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.request-type {
	background: #f8f9fa;
	/* color: #495057; */
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
}


.request-card[data-type="sell"] .request-type {
	background: #dc3545;
}

.request-card[data-type="rent"] .request-type {
	background: #28a745;
}



.request-date {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #666;
	font-size: 13px;
}

.request-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
	line-height: 1.3;
}

.request-location {
	color: #666;
	font-size: 14px;
	margin-bottom: 12px;
}

.request-budget {
	margin-bottom: 16px;
}

.budget-amount {
	font-size: 22px;
	font-weight: 600;
	color: #2d3748;
}

.budget-period {
	color: #666;
	font-size: 14px;
}

.request-specs {
	display: flex;
	gap: 12px;
	/* margin-bottom: 20px; */
	flex-wrap: wrap;
}

.request-specs .spec {
	background: #f1f3f4;
	color: #333;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 500;
}

/* Example Properties */
.request-examples {
	margin-bottom: 20px;
	padding: 0px;
	/* background: #f8f9fa; */
	/* border-radius: 12px; */
}

.request-examples h3 {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
}

.examples-slider {
	position: relative;
}

.example-slide {
	display: none;
}

.example-slide.active {
	display: block;
}

.slider-controls {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 2px;
}

.slider-prev,
.slider-next {
	background: #fff;
	border: 1px solid #ddd;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	color: #666;
	transition: all 0.2s;
}

.slider-prev:hover,
.slider-next:hover {
	background: #f5f5f5;
	color: #333;
}

.property-example {
	display: flex;
	gap: 12px;
	align-items: center;
	text-decoration: none;
}

.example-image {
	flex-shrink: 0;
	width: 120px;
	height: 80px;
	border-radius: 18px;
	overflow: hidden;
}

.example-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.example-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 4px 8px;
	align-items: baseline;
}

.example-price {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}

.property-example a:hover {
	color: #333;
}

.example-specs {
	font-size: 12px;
	color: #666;
	margin-bottom: 4px;
}

.example-location {
	font-size: 12px;
	color: #999;
	margin-bottom: 6px;
}

.example-link {
	color: #FF1500;
	text-decoration: none;
	font-size: 12px;
	font-weight: 500;
}

.example-link:hover {
	text-decoration: underline;
}

/* Request Actions */
.request-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: flex-end;
}

.submit-offer-btn,
.contact-client-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 28px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
	min-width: 120px;
}

.submit-offer-btn {
	background: #FF1500;
	color: white;
}

.submit-offer-btn:hover {
	background: #e60000;
}

.contact-client-btn {
	background: #f8f9fa;
	color: #495057;
	border: 1px solid #e0e0e0;
}

.contact-client-btn:hover {
	background: #e9ecef;
	border-color: #d0d0d0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.requests-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.request-card {
		padding: 20px;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.request-form {
		padding: 20px;
	}

	.form-actions {
		flex-direction: column;
	}

	.request-header {
		/* flex-direction: column; */
		gap: 8px;
		align-items: flex-start;
	}

	.request-actions {
		/* flex-direction: column; */
	}

	.property-example {
		flex-direction: column;
		text-align: center;
	}

	.example-image {
		width: 100%;
		height: 220px;
	}
}

@media (max-width: 480px) {
	.request-examples {
		padding: 0px;
	}

	.request-specs {
		gap: 8px;
	}

	.request-specs .spec {
		padding: 3px 8px;
		font-size: 12px;
	}
}


/* Добавить в requests.css */

.request-description {
	background: #f8f9fa;
	border-left: 4px solid #007bff;
	padding: 5px 10px;
	margin: 16px 0;
	border-radius: 0 8px 8px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #495057;
}

.request-description strong {
	color: #212529;
	font-weight: 600;
}

.request-description br+strong {
	margin-top: 0px;
	display: inline-block;
}

/* Стили для разных типов запросов */
.request-card[data-type="rent"] .request-description {
	border-left-color: #28a745;
}

.request-card[data-type="sell"] .request-description {
	border-left-color: #dc3545;
}

/* Адаптивные стили */
@media (max-width: 768px) {
	.request-description {
		padding: 12px;
		font-size: 13px;
		margin: 12px 0;
	}
}

/* Ограничение высоты для длинных описаний */
.request-description {
	height: 94px;
	overflow-y: auto;
}

.request-description::-webkit-scrollbar {
	width: 4px;
}

.request-description::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 2px;
}

.request-description::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 2px;
}

.request-description::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}

/* Выделение важной информации */
.request-description .highlight {
	background: #fff3cd;
	padding: 2px 4px;
	border-radius: 3px;
	font-weight: 500;
}

.seo-links {
	margin-top: 60px;
	padding: 40px 0;
	/* background: #f8f9fa; */
	border-radius: 12px;
}

.seo-links-container h3,
.seo-links-container h4 {
	color: #333333;
	margin-bottom: 20px;
	font-weight: 600;
}

.seo-links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.seo-country-group h4 {
	border-bottom: 2px solid #FF1500;
	padding-bottom: 8px;
	margin-bottom: 15px;
}

.seo-links-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.seo-link {
	display: inline-block;
	padding: 8px 12px;
	background: white;
	border: 1px solid #e1e8ed;
	border-radius: 6px;
	color: #333333;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s;
}

.seo-link:hover {
	background: #FF1500;
	color: white;
	border-color: #FF1500;
}

.rental-link {
	border-left: 3px solid #27ae60;
}

.purchase-link {
	border-left: 3px solid #FF1500;
}

.city-link {
	font-size: 13px;
	opacity: 0.9;
}

.budget-links-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.budget-link {
	padding: 10px 16px;
	background: #FF1500;
	color: white;
	border-radius: 20px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.budget-link:hover {
	background: #FF1500;
}


.notification {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
	padding: 15px 20px;
	border-radius: 8px;
	color: white;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	animation: slideIn 0.3s ease-out;
}

.notification-success {
	background: #27ae60;
}

.notification-error {
	background: #FF1500;
}

.notification-info {
	background: #3498db;
}

.notification-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.notification-close {
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	font-size: 16px;
	padding: 0;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}


.seo-description {
	margin: 30px 0;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.seo-title {
	font-size: 24px;
	margin-bottom: 15px;
	color: #2c3e50;
}

.seo-text {
	font-size: 16px;
	line-height: 1.6;
	color: #555;
}

.extended-seo-content {
	margin-top: 50px;
	padding: 40px 20px;
	background: #f8f9fa;
}

.seo-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

.seo-feature h4 {
	color: #2c3e50;
	margin-bottom: 10px;
}

.seo-cta {
	text-align: center;
	margin-top: 40px;
	padding: 20px;
	background: white;
	border-radius: 8px;
}