/* revolv® Rental Listings — v1.8.0 */

#revolv-rentals-app {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px 60px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: #2d3748;
}

/* ---- Search bar ---- */
.rv-search-bar { text-align: center; margin-bottom: 32px; }
.rv-search-bar h1 { font-size: 2rem; font-weight: 800; margin: 0 0 6px; color: #1a202c; }
.rv-subtitle { color: #718096; margin: 0 0 24px; font-size: 1.05rem; }

.rv-filters {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}
.rv-filters select {
	padding: 12px 16px;
	font-size: .95rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #2d3748;
	min-width: 160px;
	cursor: pointer;
	outline: none;
	transition: border-color .2s;
}
.rv-filters select:focus { border-color: #e87c2a; }
.rv-filters button {
	padding: 12px 28px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: #e87c2a;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background .2s;
}
.rv-filters button:hover { background: #cf6a1e; }

/* ---- Loading ---- */
#rv-loading { text-align: center; padding: 60px 20px; }
.rv-spinner {
	width: 44px; height: 44px;
	border: 4px solid #e2e8f0; border-top-color: #e87c2a;
	border-radius: 50%; margin: 0 auto 16px;
	animation: rv-spin .8s linear infinite;
}
@keyframes rv-spin { to { transform: rotate(360deg); } }
#rv-loading p { color: #718096; }

/* ---- Results count ---- */
.rv-count { font-size: .95rem; color: #718096; margin: 0 0 16px; }

/* ---- Grid ---- */
.rv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 32px;
}

.rv-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 22px;
	transition: box-shadow .2s;
}
.rv-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.rv-card-price {
	font-size: 1.4rem;
	font-weight: 800;
	color: #e87c2a;
	margin: 0 0 4px;
}
.rv-card-price span {
	font-size: .85rem;
	font-weight: 400;
	color: #a0aec0;
}
.rv-card-address {
	font-weight: 600;
	font-size: .95rem;
	color: #2d3748;
	margin: 0 0 12px;
	line-height: 1.3;
}
.rv-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}
.rv-tag {
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	padding: 3px 10px;
	font-size: .8rem;
	color: #4a5568;
}
.rv-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: .8rem;
	color: #a0aec0;
}
.rv-type-badge {
	background: #ebf4ff;
	color: #3182ce;
	font-size: .75rem;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
}

/* ---- Empty ---- */
.rv-empty-card {
	text-align: center;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.06);
	padding: 48px 32px;
}
.rv-empty-card h3 { color: #2d3748; margin: 0 0 10px; }
.rv-empty-card p { color: #718096; margin: 0; }

/* ---- CTA ---- */
.rv-cta {
	background: #fff;
	border: 2px solid #e87c2a;
	border-radius: 12px;
	padding: 32px;
	text-align: center;
	margin-top: 8px;
}
.rv-cta h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; color: #1a202c; }
.rv-cta p { color: #718096; margin: 0 0 20px; font-size: .95rem; line-height: 1.5; }

.rv-contact-form {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.rv-contact-form input {
	flex: 1 1 180px; max-width: 220px;
	padding: 12px 14px; font-size: .95rem;
	border: 2px solid #e2e8f0; border-radius: 8px; outline: none;
	transition: border-color .2s;
}
.rv-contact-form input:focus { border-color: #e87c2a; }
.rv-contact-form button {
	padding: 12px 24px; font-size: .95rem; font-weight: 700;
	color: #fff; background: #e87c2a; border: none; border-radius: 8px;
	cursor: pointer; transition: background .2s;
}
.rv-contact-form button:hover { background: #cf6a1e; }

/* ---- Toast ---- */
.rv-toast {
	position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
	background: #276749; color: #fff; padding: 14px 28px; border-radius: 8px;
	font-weight: 600; font-size: .95rem; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	z-index: 99999; animation: rv-fade .3s;
}
@keyframes rv-fade { from { opacity:0; transform: translateX(-50%) translateY(20px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

/* ---- Mobile ---- */
/* ---- Tablet ---- */
@media (max-width: 768px) {
	.rv-search-bar h1 { font-size: 1.7rem; }
	.rv-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
	.rv-cta { padding: 24px 18px; }
	.rv-contact-form input { max-width: none; }
}
@media (max-width: 640px) {
	#revolv-rentals-app { padding: 24px 16px 40px; }
	.rv-filters button { width: 100%; min-height: 48px; }
	.rv-search-bar h1 { font-size: 1.5rem; }
	.rv-filters { flex-direction: column; align-items: stretch; }
	.rv-filters select { min-width: auto; }
	.rv-grid { grid-template-columns: 1fr; }
	.rv-contact-form input { max-width: none; }
}
