/**
 * Public-facing Stylesheet for the Property Data Manager plugin.
 *
 * This file contains all the CSS for the frontend components of the plugin,
 * including the property archive (filters, grid, cards), the single property
 * detail page, and the hero search shortcode.
 *
 * @since 1.0.0
 */




/* ==========================================================================
   1. Property Archive: Filter Form (Modernized)
   ========================================================================== */
.pdm-filter-form {
	background: #ffffff;
	padding: 16px 20px;
	margin-bottom: 20px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
}

.pdm-header-dark {
	padding: 20px !important;
}

.pdm-filter-form .form-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	align-items: end;
}

.pdm-filter-form .form-group {
	display: flex;
	flex-direction: column;
}

.pdm-filter-form .form-group-span-2 {
	grid-column: span 2;
}

.pdm-filter-form label {
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 11px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pdm-filter-form input[type="text"],
.pdm-filter-form input[type="number"],
.pdm-filter-form select {
	padding: 0 14px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #1A1A1A;
	height: 40px;
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
	-webkit-appearance: none;
}

.pdm-filter-form select {
	padding-right: 32px;
	background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 14px;
	cursor: pointer;
}

.pdm-filter-form input[type="text"]:focus,
.pdm-filter-form input[type="number"]:focus,
.pdm-filter-form select:focus {
	border-color: #1E88E5;
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
	background: #ffffff;
}

.pdm-filter-form .form-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

@media screen and (max-width: 767px) {
	.pdm-filter-form .form-actions {
		flex-wrap: wrap;
	}

	.pdm-agent-main-content {
		width: 100% !important;
	}
}

.pdm-filter-form .search-button {
	background: #1E88E5;
	color: #ffffff;
	padding: 0 24px;
	border: none;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.2s;
	height: 40px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pdm-filter-form .search-button:hover {
	background: #1565C0;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
}

.pdm-filter-form .reset-button {
	background: transparent;
	color: #64748b;
	padding: 0 18px;
	text-decoration: none;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	border: 1px solid #e2e8f0;
	transition: all 0.2s;
	height: 40px;
	display: inline-flex;
	align-items: center;
	border-radius: 8px;
	cursor: pointer;
}

.pdm-filter-form .reset-button:hover {
	color: #ef4444;
	border-color: #fca5a5;
	background: #fef2f2;
}

/* --- Styles for Select2 Library --- */
.select2-container--default .select2-selection--single {
	height: 40px !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	background: #f8fafc !important;
	display: flex !important;
	align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 38px !important;
	padding: 0 14px !important;
	color: #1A1A1A !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 38px !important;
	right: 8px !important;
}

.select2-dropdown {
	border: 1px solid #e2e8f0 !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
	margin-top: 4px !important;
	overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background-color: #1E88E5 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid #e2e8f0 !important;
	border-radius: 6px !important;
	padding: 8px 12px !important;
	font-size: 13px !important;
}

.select2-container {
	width: auto !important;
}

.select2-container .select2-selection--single .select2-selection__clear {
	background-color: transparent !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #94a3b8 !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #1E88E5 !important;
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1) !important;
	background: #ffffff !important;
}

/* ==========================================================================
   2. Active Filters & Pagination (Modern)
   ========================================================================== */

/* --- Active Filters: Results bar with chip pills --- */
.pdm-active-filters {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
	min-height: 32px;
}

.filter-tags-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pdm-active-filters .filters-label {
	font-weight: 600;
	color: #1A1A1A;
	font-size: 13px;
	margin-right: 4px;
}

.pdm-active-filters .filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pdm-active-filters .filter-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 10px 0 12px;
	background: #E3F2FD;
	color: #1565C0;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.2s;
}

.pdm-active-filters .filter-tag:hover {
	background: #BBDEFB;
}

.pdm-active-filters .remove-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(21, 101, 192, 0.15);
	color: #1565C0;
	font-weight: bold;
	font-size: 13px;
	text-decoration: none;
	line-height: 1;
	transition: all 0.2s;
	margin-left: 2px;
}

.pdm-active-filters .remove-filter:hover {
	background: #ef4444;
	color: #ffffff;
}

.results-status {
	font-size: 14px;
	color: #64748b;
	font-weight: 500;
	white-space: nowrap;
}

/* --- Pagination: Rounded pill style --- */
.pdm-pagination {
	margin-top: 40px;
	text-align: center;
}

.pdm-pagination .page-numbers {
	display: inline-flex;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pdm-pagination .page-numbers li {
	margin: 0;
}

.pdm-pagination .page-numbers a,
.pdm-pagination .page-numbers span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #393E46;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
}

.pdm-pagination .page-numbers a:hover {
	background: #f8fafc;
	border-color: #1E88E5;
	color: #1E88E5;
}

.pdm-pagination .page-numbers.current,
.pdm-pagination .page-numbers span.current {
	background: #1E88E5 !important;
	border-color: #1E88E5 !important;
	color: #ffffff !important;
	font-weight: 600;
	cursor: default;
	box-shadow: 0 2px 8px rgba(30, 136, 229, 0.25);
}

.pdm-pagination .page-numbers .dots {
	color: #94a3b8;
	border: none;
	background: transparent;
}

.pdm-pagination .page-numbers a.prev,
.pdm-pagination .page-numbers a.next {
	font-size: 12px;
	font-weight: 600;
	color: #1E88E5;
	padding: 0 16px;
}

.pdm-pagination .page-numbers a.prev:hover,
.pdm-pagination .page-numbers a.next:hover {
	background: #E3F2FD;
	border-color: #1E88E5;
}

@media (max-width: 768px) {
	.pdm-active-filters {
		flex-direction: column;
		align-items: flex-start;
	}

	.pdm-pagination .page-numbers a,
	.pdm-pagination .page-numbers span {
		min-width: 34px;
		height: 34px;
		font-size: 12px;
		padding: 0 8px;
	}
}

/* ==========================================================================
   3. Property Archive: Grid & Cards
   Card styles are defined in the "DESIGN REFRESH v2" block at bottom of file.
   ========================================================================== */

/* ==========================================================================
   4. Single Property Page
   ========================================================================== */


.pdm-tabs-nav {
	display: flex;
	border-bottom: 2px solid #eee;
	margin-bottom: 15px;
}

.pdm-tab-btn {
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 10px 20px !important;
	font-weight: 600 !important;
	color: #666 !important;
	cursor: pointer !important;
	border-bottom: 2px solid transparent !important;
	margin-bottom: -2px !important;
}

.pdm-tab-btn.active {
	color: var(--pdm-primary, #0073aa) !important;
	border-bottom-color: var(--pdm-primary, #0073aa) !important
}

.pdm-mortgage-box {
	background: #f9f9f9;
	padding: 15px;
	border-radius: 8px;
}

.pdm-mortgage-total {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
}

.pdm-mortgage-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
	font-size: 0.9em;
	color: #555;
}

.pdm-branding-bar img {
	max-height: 40px;
	margin-right: 15px;
}

.pdm-error {
	background-color: #fff5f5;
	border: 1px solid #e53e3e;
	color: #c53030;
	padding: 20px;
}

.pdm-single-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	padding: 1.5rem;
	background: #fff;

}

.pdm-single-address {
	margin: 0;
	font-size: 2rem !important;
	font-weight: 700;
	color: #2d3748;
}

.pdm-single-city-state {
	margin: 5px 0 0;
	font-size: 1.1rem;
	color: #718096;
}

.pdm-single-price {
	font-size: 2.5rem;
	font-weight: bold;
	color: #1E88E5;
	/* Brand Color */
	white-space: nowrap;
	padding-left: 20px;
	text-align: right;
}

@media screen and (max-width:767px) {
	.pdm-single-price {
		padding-left: 0 !important;
	}
}

.pdm-single-status {
	display: block;
	font-size: 0.9rem;
	font-weight: normal;
	color: #4a5568;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* --- Single Property: Swiper.js Gallery --- */
.pdm-swiper-gallery {
	margin-bottom: 30px;
}

.swiper-wrapper {
	box-sizing: border-box !important;
}

.pdm-gallery-main {
	height: 450px;
	border-radius: 14px;
	overflow: hidden;
}

.pdm-gallery-main .swiper-slide {
	background-color: #f8fafc;
}

.pdm-gallery-main .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
}

/* Remove pagination dots */
.swiper-pagination {
	display: none !important
}

/* Arrow styling */
.swiper-button-prev,
.swiper-button-next {
	width: 40px !important;
	height: 40px !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
	transition: all 0.3s ease !important
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
	background: #fff !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
	transform: scale(1.05) !important
}

.swiper-button-prev::after,
.swiper-button-next::after {
	font-size: 16px !important;
	font-weight: bold !important;
	color: #1A1A1A !important
}

/* Position arrows */
.swiper-button-prev {
	left: 12px !important
}

.swiper-button-next {
	right: 12px !important
}

/* Hide arrows on mobile */
@media (max-width: 640px) {

	.swiper-button-prev,
	.swiper-button-next {
		display: none
	}
}

.pdm-gallery-thumbs {
	height: 80px;
	margin-top: 8px;
}

.pdm-gallery-thumbs .swiper-slide {
	width: 25%;
	height: 100%;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.2s;
	border-radius: 8px;
	overflow: hidden;
}

.pdm-gallery-thumbs .swiper-slide:hover {
	opacity: 0.8;
}

.pdm-gallery-thumbs .swiper-slide-thumb-active {
	opacity: 1;
	border: 2px solid #1E88E5;
	border-radius: 8px;
}

.pdm-gallery-thumbs .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
}

.pdm-no-gallery-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 410px;
	background-color: #f8fafc;
	color: #94a3b8;
	font-weight: 500;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
}

/* --- Single Property: Main Content Layout --- */
/* (Primary layout defined in the section cards block below) */

.pdm-details-column h2,
.pdm-details-column h3 {
	font-family: 'Archivo', 'Inter', sans-serif;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 12px;
	margin-top: 0;
	margin-bottom: 20px;
	color: #1A1A1A;
	font-size: 18px;
	font-weight: 700;
}

.pdm-description {
	line-height: 1.7;
	color: #393E46;
	margin-bottom: 24px;
	font-size: 14px;
}

.pdm-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pdm-tag {
	background: #E3F2FD;
	color: #1565C0;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 500;
	border-radius: 100px;
}

/* --- Single Property: Sidebar (Agent & Map) --- */
.pdm-agent-info,
.pdm-map-container {
	border: 1px solid #e2e8f0;
	padding: 24px;
	margin-bottom: 24px;
	border-radius: 14px;
	background: #ffffff;
}

.pdm-agent-info h4,
.pdm-map-container h4 {
	font-family: 'Archivo', 'Inter', sans-serif;
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1A;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 12px;
}

.pdm-agent-name {
	margin: 0 0 5px;
	font-weight: bold;
	font-size: 1.3rem;
}

.pdm-broker-name {
	margin-bottom: 0 !important;
	color: #718096;
}

/* --- Single Property: Agent Contact Form --- */
.pdm-agent-contact-form {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
}

.pdm-agent-details {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pdm-agent-contact-form p {
	margin: 0 0 12px;
	font-weight: 500;
	color: #393E46;
	font-size: 14px;
}

.pdm-agent-contact-form input[type="text"],
.pdm-agent-contact-form input[type="email"],
.pdm-agent-contact-form input[type="tel"],
.pdm-agent-contact-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	font-size: 13px;
	font-family: 'Inter', sans-serif;
	border-radius: 8px;
	background: #f8fafc;
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
}

.pdm-agent-contact-form input:focus,
.pdm-agent-contact-form textarea:focus {
	border-color: #1E88E5;
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
	background: #ffffff;
}

.pdm-form-group input[name="user_login"] {
	width: 100% !important;
}

.pdm-agent-contact-form textarea {
	resize: vertical;
}

.pdm-agent-button:disabled {
	background: #94a3b8;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.pdm-form-response {
	display: none;
	padding: 14px;
	margin-top: 12px;
	text-align: center;
	font-weight: 500;
	font-size: 13px;
	border-radius: 8px;
}

.pdm-form-response.loading {
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.pdm-form-response.success {
	color: #166534;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}

.pdm-form-response.error {
	color: #991b1b;
	background: #fef2f2;
	border: 1px solid #fecaca;
}

/* --- New Single Property Layout (Sections) --- */

.pdm-single-city-state {
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
}

/* Layout Columns */
.pdm-single-main-content {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin-top: 0;
}

.pdm-details-column {
	flex: 2;
	min-width: 300px;
}

.pdm-sidebar-column {
	flex: 1;
	min-width: 280px;
}

/* --- Section Cards --- */
.pdm-section {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 24px;
}

.pdm-section-title {
	font-family: 'Archivo', 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #1A1A1A;
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}

/* Key Facts Grid */
.pdm-key-facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pdm-key-facts-grid li {
	background: #f8fafc;
	padding: 14px 12px;
	border-radius: 10px;
	text-align: center;
	border: 1px solid #e2e8f0;
}

.pdm-key-facts-grid strong {
	display: block;
	font-size: 11px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
}

.pdm-key-facts-grid span {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #1E88E5;
	margin-top: 4px;
	font-family: 'Archivo', 'Inter', sans-serif;
}

/* Description Text */
.pdm-description-text {
	line-height: 1.7;
	color: #393E46;
	font-size: 14px;
}

/* Features Tags & Grid */
.pdm-tags-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.pdm-feature-tag {
	background: #E3F2FD;
	color: #1565C0;
	padding: 5px 12px;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 5px;
}

.pdm-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.pdm-detail-group h4 {
	font-family: 'Archivo', 'Inter', sans-serif;
	font-size: 15px;
	margin-bottom: 10px;
	font-weight: 700;
	color: #1A1A1A;
}

.pdm-detail-group ul {
	padding-left: 20px;
	margin: 0;
	color: #393E46;
	font-size: 14px;
}

.pdm-detail-group li {
	margin-bottom: 4px;
}

/* Data Tables (History/Taxes) */
.pdm-table-wrapper {
	overflow-x: auto;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
}

.pdm-data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.pdm-data-table th,
.pdm-data-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #f1f5f9;
}

.pdm-data-table th {
	background: #f8fafc;
	color: #1A1A1A;
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pdm-data-table td {
	color: #393E46;
}

.pdm-data-table tr:last-child td {
	border-bottom: none;
}

.pdm-data-table tr:hover td {
	background: #fafbfc;
}

/* Schools List */
.pdm-school-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid #f1f5f9;
}

.pdm-school-item:last-child {
	border-bottom: none;
}

.pdm-school-info strong {
	display: block;
	color: #1A1A1A;
	font-size: 14px;
}

.pdm-school-grades {
	font-size: 12px;
	color: #64748b;
}

.pdm-school-meta {
	text-align: right;
}

.pdm-school-rating {
	display: block;
	font-weight: 700;
	color: #1E88E5;
	font-size: 14px;
}

.pdm-school-dist {
	font-size: 12px;
	color: #94a3b8;
}

/* --- SIDEBAR WIDGETS --- */
.pdm-sidebar-widget {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 24px;
}

.pdm-widget-title {
	font-family: 'Archivo', 'Inter', sans-serif;
	margin-top: 0;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 12px;
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 700;
	color: #1A1A1A;
}

/* Agent Widget Specifics */
.pdm-agent-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
}

.pdm-agent-avatar {
	width: 52px;
	height: 52px;
	background: #E3F2FD;
	color: #1E88E5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	font-family: 'Archivo', 'Inter', sans-serif;
	flex-shrink: 0;
}

.pdm-agent-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.pdm-agent-name {
	margin: 0;
	font-family: 'Archivo', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #1A1A1A;
}

.pdm-broker-name {
	margin: 2px 0 0;
	font-size: 13px;
	color: #64748b;
}

/* Form Styles */
.pdm-input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	margin-bottom: 6px;
	background: #f8fafc;
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
}

.pdm-input:focus {
	border-color: #1E88E5;
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
	background: #ffffff;
}

.pdm-agent-button {
	width: 100%;
	background: #1E88E5;
	color: #fff;
	padding: 12px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s;
	margin-top: 4px;
}

.pdm-agent-button:hover {
	background: #1565C0;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
	.pdm-single-main-content {
		flex-direction: column;
		gap: 20px;
	}

	.pdm-details-column,
	.pdm-sidebar-column {
		min-width: 100%;
		width: 100%;
	}

	.pdm-sidebar-column {
		order: 2;
	}

	.pdm-key-facts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pdm-single-header {
		flex-direction: column;
		gap: 8px;
	}

	.pdm-single-address {
		font-size: 20px;
	}

	.pdm-single-price {
		font-size: 22px;
	}

	.pdm-section {
		padding: 18px;
		border-radius: 12px;
	}

	.pdm-sidebar-widget {
		padding: 18px;
		border-radius: 12px;
	}

	.pdm-gallery-main {
		height: 260px;
		border-radius: 12px;
	}

	.pdm-gallery-thumbs {
		height: 60px;
	}

	.pdm-details-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   5. Hero Search Form Shortcode
   ========================================================================== */



/* Hero search styles are defined in the "DESIGN REFRESH v2" block at bottom of file. */


/* ==========================================================================
   6. AJAX Loading States
   ========================================================================== */
#pdm-ajax-container {
	position: relative;
}

/*  */

/* --- Styles for Advanced Filters Toggle --- */
.pdm-advanced-filters {
	display: none;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.pdm-advanced-filters .form-grid {
	grid-template-columns: repeat(4, 1fr) !important;
}

@media screen and (max-width: 767px) {
	.pdm-advanced-filters .form-grid {
		grid-template-columns: 1fr;
	}
}

.pdm-toggle-filters-button {
	background: transparent;
	color: #1E88E5;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	cursor: pointer;
	padding: 0 16px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	transition: all 0.2s;
}

.pdm-toggle-filters-button:hover,
.pdm-toggle-filters-button:focus {
	background: rgba(30, 136, 229, 0.04);
	border-color: #1E88E5;
	color: #1565C0;
}

/* Adjust form actions to position the new button */
.pdm-filter-form .form-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.form-actions-left,
.form-actions-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Responsive */
@media screen and (max-width: 1024px) {
	.pdm-filter-form .form-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 767px) {
	.pdm-filter-form {
		padding: 14px;
	}

	.pdm-filter-form .form-grid {
		grid-template-columns: 1fr!important;
		gap: 8px;
	}

	.pdm-filter-form input[type="text"],
	.pdm-filter-form input[type="number"],
	.pdm-filter-form select {
		font-size: 12px;
		padding: 0 10px;
	}

	.pdm-filter-form label {
		font-size: 10px;
		margin-bottom: 3px;
	}

	.pdm-filter-form .form-actions {
		flex-wrap: wrap;
		gap: 8px;
		padding-top: 10px;
		margin-top: 10px;
	}

	.form-actions-left {
		width: 100%;
		display: flex;
		gap: 8px;
	}

	.form-actions-left .search-button {
		flex: 1;
		justify-content: center;
		text-align: center;
	}

	.form-actions-left .reset-button {
		flex: 1;
		justify-content: center;
		text-align: center;
	}

	.form-actions-right {
		width: 100%;
	}

	.form-actions-right .pdm-toggle-filters-button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	/* Select2 mobile fix */
	.select2-container--default .select2-selection--single .select2-selection__rendered {
		font-size: 12px !important;
	}
}

@media screen and (max-width: 480px) {
	.pdm-filter-form .form-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}



/* === Single Property Page Styling === */

.pdm-single-property-container {
	max-width: 1200px;
	margin: 0 auto;
	color: #1A1A1A;
	font-family: 'Inter', sans-serif;
}

@media screen and (max-width: 768px) {
	.pdm-single-property-container {
		padding: 0 12px;
	}
}

/* Header */
.pdm-single-header {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.pdm-single-address {
	margin: 0;
	font-family: 'Archivo', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 24px;
	color: #1A1A1A;
	line-height: 1.3;
}

.pdm-single-city-state {
	font-size: 14px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
}

.pdm-single-price {
	font-family: 'Archivo', 'Inter', sans-serif;
	font-size: 28px;
	font-weight: 800;
	color: #1E88E5;
}

.pdm-single-status {
	display: inline-block;
	margin-left: 8px;
	background: #E3F2FD;
	color: #1565C0;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 100px;
	vertical-align: middle;
}

/* Gallery */
.pdm-swiper-gallery {
	margin-bottom: 24px;
}

.pdm-no-gallery-image {
	text-align: center;
	font-size: 14px;
	padding: 60px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	color: #94a3b8;
}

/* Layout */
.pdm-single-main-content {
	display: flex;
	gap: 32px;
	margin-top: 0;
}

.pdm-details-column {
	flex: 2;
	min-width: 0;
}

.pdm-sidebar-column {
	flex: 1;
	min-width: 280px;
}

/* Key facts */
.pdm-key-facts-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px 0;
}

.pdm-key-facts-list li {
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 14px;
	color: #393E46;
}

.pdm-key-facts-list li:last-child {
	border-bottom: none;
}

.pdm-key-facts-list li strong {
	display: inline-block;
	min-width: 130px;
	color: #64748b;
	font-weight: 500;
	font-size: 13px;
}

/* Description */
.pdm-description {
	background: #f8fafc;
	padding: 20px 24px;
	line-height: 1.7;
	margin-bottom: 24px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	color: #393E46;
	font-size: 14px;
}

/* Tags */
.pdm-tags-list {
	margin: 16px 0;
}

.pdm-tag {
	display: inline-block;
	margin: 3px;
	padding: 5px 12px;
	background: #E3F2FD;
	border: none;
	font-size: 12px;
	font-weight: 500;
	color: #1565C0;
	border-radius: 100px;
}

/* Tables */
.pdm-tax-history {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
	font-size: 13px;
}

.pdm-tax-history th,
.pdm-tax-history td {
	border-bottom: 1px solid #f1f5f9;
	padding: 12px 14px;
	text-align: left;
}

.pdm-tax-history th {
	background: #f8fafc;
	font-weight: 600;
	color: #1A1A1A;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.pdm-tax-history td {
	color: #393E46;
}

.pdm-tax-history tr:hover td {
	background: #fafbfc;
}

/* Schools */
.pdm-schools {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}

.pdm-school {
	padding: 14px 18px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	border-radius: 10px;
	font-size: 13px;
	transition: border-color 0.2s;
}

.pdm-school:hover {
	border-color: #1E88E5;
}

.pdm-school strong {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	color: #1A1A1A;
}

/* Mortgage */
.pdm-mortgage-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pdm-mortgage-list li {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 14px;
	color: #393E46;
}

.pdm-mortgage-list li:last-child {
	border-bottom: none;
}

.pdm-mortgage-list em {
	color: #1E88E5;
	font-weight: 600;
	font-style: normal;
}

/* Agent Info */
.pdm-agent-info {
	border: 1px solid #e2e8f0;
	background: #ffffff;
	padding: 24px;
	margin-bottom: 24px;
	border-radius: 14px;
}

.pdm-agent-name {
	font-family: 'Archivo', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #1A1A1A;
}

.pdm-broker-name {
	font-size: 13px;
	color: #64748b;
}

/* Map */
.pdm-map-container iframe {
	border: 0;
	width: 100%;
	height: 300px;
	border-radius: 14px;
}

/* Accordion container */
.pdm-accordion {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 12px;
	overflow: hidden;
}

/* Accordion header */
.pdm-accordion-header {
	background: #f8fafc;
	color: #1A1A1A;
	padding: 14px 18px;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	position: relative;
	transition: background 0.2s, color 0.2s;
}

.pdm-accordion-header:hover {
	background: #E3F2FD;
	color: #1E88E5;
}

/* Add chevron indicator */
.pdm-accordion-header::after {
	content: '+';
	position: absolute;
	right: 18px;
	font-size: 18px;
	color: #94a3b8;
	transition: transform 0.2s ease;
}

.pdm-accordion-header.active {
	background: #E3F2FD;
	color: #1E88E5;
}

.pdm-accordion-header.active::after {
	content: '\2212';
	color: #1E88E5;
}

/* Accordion content */
.pdm-accordion-content {
	display: none;
	padding: 18px;
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
}

.pdm-accordion-content.open {
	display: block;
}



.pdm-cart,
.pdm-checkout {
	max-width: 700px;
	margin: 0 auto;
	font-family: Arial, sans-serif;
}

.pdm-cart-item,
.pdm-order-summary {
	border: 1px solid #ddd;
	padding: 15px;
	margin-bottom: 15px;
}

.pdm-checkout-button,
.subscribe-btn,
.pdm-checkout button {
	background: #1FACE5;
	color: #fff;
	padding: 12px 20px;
	border: none;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
}

.pdm-checkout-button:hover,
.subscribe-btn:hover {
	background: #034a9c;
}



/* ==========================================================================
   7. State Selector Page
   ========================================================================== */
.pdm-state-selector-container {
	max-width: 900px;
	margin: 2rem auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pdm-plan-summary {

	padding: 0 25px 25px 0;
	/* border-bottom: 1px solid #e2e8f0; */
}

.pdm-plan-summary h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.8rem;
}

.pdm-plan-summary p {
	margin-bottom: 0;
	font-size: 1.1rem;
	color: #4a5568;
}

.pdm-state-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1px;
	/* background-color: #e2e8f0; */
	/* Grid line color */
	/* border-bottom: 1px solid #e2e8f0; */
}

.pdm-state-label {
	display: flex;
	align-items: center;
	padding: 15px;
	background-color: #fff;
	cursor: pointer;
	transition: background-color 0.2s;
}

.pdm-state-label:hover {
	background-color: #f7f9fc;
}

.pdm-state-label input[type="checkbox"] {
	margin-right: 12px;
	transform: scale(1.2);
}

.pdm-selection-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 25px;
	background-color: #f7f9fc;
	flex-wrap: wrap;
	gap: 15px;
}

.pdm-price-summary {
	font-size: 1.2rem;
	color: #2d3748;
}

#pdm-state-count {
	font-weight: bold;
}

.pdm-total-price {
	font-weight: bold;
	font-size: 1.5rem;
	color: #1E88E5;
	/* Brand color */
	margin-left: 10px;
}

.pdm-checkout-button {
	font-size: 1rem;
	padding: 12px 25px;
	text-align: center;
	font-weight: bold;
	background-color: #1E88E5;
	color: #fff !important;
	text-decoration: none;
	transition: background-color 0.2s;
}

.pdm-checkout-button:hover {
	background-color: #1FACE5;
}

.pdm-checkout-button.disabled {
	background-color: #a0aec0;
	cursor: not-allowed;
	pointer-events: none;
}


/* --- Styles for New State Selector --- */
.pdm-state-select-wrapper {
	padding: 25px;
}

/* Style Select2 to match our theme */
.select2-container--default .select2-selection--multiple {
	border: 1px solid #cbd5e0;
	padding: 5px;
}

.select2-container--default .select2-search--inline .select2-search__field {
	font-size: 1rem;
	margin-top: 8px;
	padding: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #1E88E5;
	border-color: #1FACE5;
	color: #fff;
	padding: 5px 10px;
	font-size: 0.9rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #fff;
	margin-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
	color: #e2e8f0;
}


/* ==========================================================================
   8. Agent Archive Page
   ========================================================================== */

.pdm-agents-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

a.pdm-agent-card-link,
a.pdm-agent-card-link:hover {
	text-decoration: none;
	color: inherit;
}

.pdm-agent-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 28px 22px 22px;
	text-align: center;
	position: relative;
}

.pdm-agent-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 20px;
	right: 20px;
	height: 3px;
	background: #1E88E5;
	border-radius: 3px 3px 0 0;
	opacity: 0;
	transition: opacity 0.3s;
}

.pdm-agent-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pdm-agent-card:hover::after {
	opacity: 1;
}

.pdm-agent-card-photo-wrapper {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
	flex-shrink: 0;
	margin-bottom: 16px;
	border: 3px solid #f1f5f9;
}

.pdm-agent-card-photo-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdm-agent-card-no-photo {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Archivo', 'Inter', sans-serif;
	font-size: 28px;
	font-weight: 800;
	color: #1E88E5;
	background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.pdm-agent-card-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-grow: 1;
	width: 100%;
}

.pdm-agents-list a {
	text-decoration: none !important;
}

.pdm-agent-card-name {
	font-family: 'Archivo', 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1A;
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.pdm-agent-card-broker {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 13px;
	color: #64748b;
	margin: 0 0 14px 0;
	line-height: 2.2;
}

.pdm-agent-card-broker svg {
	color: #1E88E5;
	flex-shrink: 0;
}

.pdm-agent-card-location {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 12px;
	color: #94a3b8;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #e2e8f0;
	width: 100%;
}

.pdm-agent-card-location svg {
	color: #1E88E5;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.pdm-agents-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.pdm-agents-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.pdm-agents-list {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   9. Agent Filter Form Layout
   ========================================================================== */

/* ==========================================================================
   Modern Filter Bar (shared by Properties & Agents)
   ========================================================================== */

.pdm-filter-bar-wrap {
    margin-bottom: 20px;
}

.pdm-filter-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
}

.pdm-fb-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pdm-fb-group {
    position: relative;
}

.pdm-fb-select,
.pdm-fb-input {
    height: 40px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.pdm-fb-input {
    cursor: text;
}

.pdm-fb-select {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.pdm-fb-select:focus,
.pdm-fb-input:focus {
    border-color: #1E88E5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    background: #ffffff;
}

.pdm-fb-search {
    height: 40px;
    padding: 0 20px;
    background: #1E88E5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pdm-fb-search:hover {
    background: #1565C0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
}

.pdm-fb-search svg {
    flex-shrink: 0;
}

.pdm-fb-reset {
    height: 40px;
    padding: 0 18px;
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.pdm-fb-reset:hover {
    color: #ef4444;
    border-color: #fca5a5;
    background: #fef2f2;
}

/* More Filters button */
.pdm-fb-more {
    height: 40px;
    padding: 0 14px;
    background: transparent;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pdm-fb-more:hover {
    border-color: #1E88E5;
    color: #1E88E5;
    background: rgba(30, 136, 229, 0.04);
}

.pdm-fb-more.is-open {
    background: #E3F2FD;
    color: #1E88E5;
    border-color: #1E88E5;
}

/* Advanced Filters Panel */
.pdm-advanced-filters {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.pdm-fb-adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.pdm-fb-adv-grid label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.pdm-fb-adv-grid .pdm-fb-input,
.pdm-fb-adv-grid .pdm-fb-select {
    width: 100%;
}

/* Select2 inside filter bar */
.pdm-fb-location .select2-container--default .select2-selection--single {
    height: 40px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
}

.pdm-fb-location .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    padding: 0 14px !important;
    color: #1A1A1A !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.pdm-fb-location .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    right: 8px !important;
}

.pdm-fb-location .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
}

.pdm-fb-location .select2-container {
    width: 100% !important;
}

.pdm-fb-location .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #1E88E5 !important;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1) !important;
    background: #ffffff !important;
}

/* Mobile filter bar */
@media screen and (max-width: 767px) {
    .pdm-fb-row {
        gap: 6px;
    }

    .pdm-fb-location {
        flex: 1 1 100%;
    }

    .pdm-fb-search {
        flex: 1;
    }

    .pdm-fb-more-text {
        display: none;
    }

    .pdm-fb-adv-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pdm-fb-status .pdm-fb-select,
    .pdm-fb-city .pdm-fb-input,
    .pdm-fb-zip .pdm-fb-input,
    .pdm-fb-sort .pdm-fb-select {
        width: 100%;
    }
}

/* Agent filter uses the shared .pdm-filter-form styles.
   Only needs a grid override for 3 columns. */

.pdm-agent-filter-form .form-grid.pdm-agent-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .pdm-agent-filter-form .form-grid.pdm-agent-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   10. Modern State Selector
   ========================================================================== */

.pdm-selector-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	max-width: 1100px;
	margin: 2rem auto;
}

.pdm-selector-main {
	flex: 1;
	min-width: 60%;
}

.pdm-selector-sidebar {
	flex-basis: 320px;
	position: relative;
}

.pdm-summary-box {
	position: sticky;
	top: 50px;
	/* Adjust this value based on your theme's sticky header height */
	background: #fff;
	border: 1px solid #e2e8f0;
	/* border-radius: 8px; */
	padding: 25px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pdm-summary-box h4 {
	margin-top: 0;
	font-size: 1.3rem;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

#pdm-selected-list-container {
	max-height: 200px;
	overflow-y: auto;
	margin-bottom: 20px;
	border: 1px solid #e2e8f0;
	padding: 15px;
	background-color: #f7f9fc;
}

#pdm-selected-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

#pdm-selected-list li {
	padding: 4px 0;
	font-size: 0.95rem;
}

.pdm-no-states {
	color: #718096;
	font-style: italic;
	margin: 0;
}

.pdm-price-summary {
	border-top: 1px solid #e2e8f0;
	padding-top: 20px;
	margin-bottom: 20px;
}

.pdm-price-summary .pdm-price-line {
	display: flex;
	justify-content: space-between;
	font-size: 1.1rem;
	margin-bottom: 10px;
}

.pdm-price-summary .pdm-price-line.total {
	font-size: 1.4rem;
	font-weight: bold;
}

.pdm-price-summary .pdm-price-line.total strong {
	color: #1E88E5;
}

.pdm-state-filter input {
	width: 100%;
	padding: 12px;
	font-size: 1rem;
	border: 1px solid #cbd5e0;
	margin-bottom: 20px;
	border-radius: 0 !important;
}

.pdm-state-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
}

.pdm-state-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	line-height: 1;
	/* border-radius: 5px; */
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.pdm-state-item:hover {
	border-color: #1E88E5;
	transform: translateY(-2px);
}

.pdm-state-item.selected {
	background-color: #e9f2ff;
	border-color: #1E88E5;
	color: #1E88E5;
}

.pdm-state-checkbox {
	width: 20px;
	height: 20px;
	border: 2px solid #cbd5e0;
	border-radius: 50%;
	transition: all 0.2s;
	flex-shrink: 0;
	margin-left: 10px;
}

.pdm-state-item.selected .pdm-state-checkbox {
	background-color: #1E88E5;
	border-color: #1E88E5;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/%3E%3C/svg%3E');
}

@media (max-width: 768px) {
	.pdm-selector-sidebar {
		flex-basis: 100%;
		order: -1;
		/* Move sidebar to the top on mobile */
	}

	.pdm-summary-box {
		position: static;
	}
}

/* ==========================================================================
   Dashboard Widgets
   ========================================================================== */
.pdm-dashboard-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.pdm-widget {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 20px;
}

.pdm-widget h3 {
	margin-top: 0;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 15px;
}

.pdm-chart-container {
	position: relative;
	height: 300px;
}

.pdm-log-filters {
	display: flex;
	gap: 10px;

}

/* ==========================================================================
   11. Modern "My Account" Page Dashboard
   ========================================================================== */

/* General Layout */
.pdm-myaccount-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-bottom: 40px;
}

/* @media (min-width: 768px) {
    .pdm-myaccount-grid {
        grid-template-columns: 1fr 1fr;
    }
} */

.pdm-myaccount-widget {
	background-color: #fff;
	border: 1px solid #e2e8f0;
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.pdm-myaccount-widget h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 1.2rem;
	padding-bottom: 15px;
	border-bottom: 1px solid #e2e8f0;
}

.pdm-widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* API Key Widget */
.pdm-api-key-display {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pdm-api-key-display code {
	background: #f7f9fc;
	padding: 10px;
	border: 1px solid #e2e8f0;
	flex-grow: 1;
	overflow-wrap: break-word;
	font-family: monospace;
}

.pdm-key-note {
	margin-top: auto;
	/* Pushes to the bottom */
	padding-top: 15px;
	color: #718096;
	font-size: 0.9em;
}

/* Usage Widget */
.pdm-usage-filters {
	display: flex;
	gap: 10px;
}

.pdm-usage-filters select {
	max-width: 150px;
}

.pdm-chart-container-account {
	position: relative;
	height: 250px;
	margin-top: 20px;
}

/* ==========================================================================
   12. Modern WooCommerce "My Account" Page Styles (v2)
   ========================================================================== */

/* Define CSS variables for easy themeing */
:root {
	--pdm-primary-color: #1E88E5;
	--pdm-dark-blue: #1565C0;
	--pdm-light-gray-bg: #f8f9fa;
	--pdm-border-color: #dee2e6;
	--pdm-text-dark: #212529;
	--pdm-text-light: #6c757d;
}

/* Main Layout Container */
.woocommerce-account .woocommerce {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Sidebar Navigation Menu */
.woocommerce-account .woocommerce-MyAccount-navigation {
	flex: 1;
	min-width: 240px;
	background-color: #fff;
	border: 1px solid var(--pdm-border-color);
	padding: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 14px 18px;
	text-decoration: none;
	color: var(--pdm-text-light);
	font-weight: 500;
	border-left: 3px solid transparent;
	transition: all 0.2s ease-in-out;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background-color: var(--pdm-light-gray-bg);
	color: var(--pdm-text-dark);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active>a {
	background-color: var(--pdm-light-gray-bg);
	color: var(--pdm-primary-color);
	font-weight: 700;
	border-left-color: var(--pdm-primary-color);
}

/* Main Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
	flex: 3;
	min-width: 65%;
	background-color: #fff;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	margin-top: 0;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--pdm-text-dark);
	border-bottom: 1px solid var(--pdm-border-color);
	padding-bottom: 15px;
	margin-bottom: 25px;
}

.woocommerce-account .woocommerce-MyAccount-content p {
	line-height: 1.7;
	color: var(--pdm-text-dark);
	margin-bottom: 25px;
}

.woocommerce-account .woocommerce-MyAccount-content p a {
	color: var(--pdm-primary-color);
	text-decoration: none;
	font-weight: 600;
}

/* Table Styles */
.woocommerce-account table.woocommerce-table {
	border: 1px solid var(--pdm-border-color);
	border-collapse: collapse;
	width: 100%;
	font-size: 0.95rem;
}

.woocommerce-account table.woocommerce-table th,
.woocommerce-account table.woocommerce-table td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid var(--pdm-border-color);
}

.woocommerce-account table.woocommerce-table th {
	background-color: var(--pdm-light-gray-bg);
	font-weight: 600;
	color: var(--pdm-text-dark);
}

.woocommerce-account table.woocommerce-table tr:last-child td {
	border-bottom: none;
}

.woocommerce-account table.woocommerce-table .button {
	white-space: nowrap;
}

/* General Button Styles */
.woocommerce-account .button,
.woocommerce-account .button:hover {
	background: var(--pdm-primary-color) !important;
	color: #fff !important;
	border-radius: 0 !important;
	padding: 10px 20px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	font-size: 0.9rem !important;
	letter-spacing: 0.5px;
	transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out !important;
	border: none !important;
}

.woocommerce-account .button:hover {
	background: var(--pdm-dark-blue) !important;
	transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.woocommerce-account .woocommerce {
		flex-direction: column;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		min-width: 100%;
	}
}

/* ==========================================================================
   13. Modern "My Account" Subscriptions Table
   ========================================================================== */

/* Remove default borders and add our own modern structure */
.woocommerce-account .my_account_subscriptions {
	border: 1px solid var(--pdm-border-color);
	border-radius: 0;
	/* No rounded corners */
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}

/* Style the table header */
.woocommerce-account .my_account_subscriptions thead th {
	background-color: var(--pdm-light-gray-bg);
	border-bottom: 2px solid var(--pdm-border-color);
	padding: 15px 20px;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--pdm-text-light);
	text-align: left;
}

/* Style the table rows */
.woocommerce-account .my_account_subscriptions tbody tr {
	transition: background-color 0.2s ease-in-out;
}

.woocommerce-account .my_account_subscriptions tbody tr:hover {
	background-color: #fcfdff;
}

.woocommerce-account .my_account_subscriptions tbody td {
	padding: 20px;
	border-bottom: 1px solid var(--pdm-border-color);
	vertical-align: middle;
	color: var(--pdm-text-dark);
}

.woocommerce-account .my_account_subscriptions tbody tr:last-child td {
	border-bottom: none;
}

/* Style specific columns */
.woocommerce-account .my_account_subscriptions .subscription-id a {
	font-weight: 700;
	color: var(--pdm-primary-color);
	text-decoration: none;
}

.woocommerce-account .my_account_subscriptions .subscription-next-payment small {
	display: block;
	font-size: 0.85rem;
	color: var(--pdm-text-light);
	margin-top: 4px;
}

.woocommerce-account .my_account_subscriptions .subscription-total .amount {
	font-weight: 600;
	font-size: 1rem;
}

/* Modern "Status" Pill */
.woocommerce-account .my_account_subscriptions .subscription-status {
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
}

/* Style for the 'Active' status (you can add more for other statuses like on-hold, etc.) */
.woocommerce-orders-table__row--status-active .subscription-status {
	color: #28a745;
	/* Green for active */
}

/* Modernize the "View" button */
.woocommerce-account .my_account_subscriptions .subscription-actions .button.view {
	background-color: var(--pdm-text-dark) !important;
	font-size: 0.85rem !important;
	padding: 8px 15px !important;
	text-transform: none;
	letter-spacing: 0;
}

.woocommerce-account .my_account_subscriptions .subscription-actions .button.view:hover {
	background-color: #000 !important;
	transform: translateY(0);
	/* Disable the hover effect for this smaller button */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
	.woocommerce-account .my_account_subscriptions thead {
		display: none;
	}

	.woocommerce-account .my_account_subscriptions tbody tr {
		display: block;
		margin-bottom: 20px;
		border: 1px solid var(--pdm-border-color);
	}

	.woocommerce-account .my_account_subscriptions tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: right !important;
		border-bottom: 1px solid #f0f2f5;
	}

	.woocommerce-account .my_account_subscriptions tbody td::before {
		content: attr(data-title);
		font-weight: 600;
		margin-right: auto;
		text-align: left;
		color: var(--pdm-text-dark);
	}

	.woocommerce-account .my_account_subscriptions tbody td:last-child {
		border-bottom: none;
	}

	.woocommerce-account .my_account_subscriptions .subscription-actions {
		justify-content: flex-end;
	}
}

.woocommerce table.shop_table {
	border-radius: 0 !important;
}

/* ==========================================================================
   14. Modern "My Account" Form Styles (Edit Account, Addresses)
   ========================================================================== */

/* Form container adjustments */
.woocommerce-account .woocommerce-MyAccount-content form {
	margin-top: 25px;
}

/* Style for individual form rows */
.woocommerce-account .form-row {
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
}

/* Style for form labels */
.woocommerce-account .form-row label {
	font-weight: 600;
	color: var(--pdm-text-dark);
	margin-bottom: 8px;
	font-size: 0.95rem;
}

/* Style for input fields and textareas */
.woocommerce-account .form-row input.input-text,
.woocommerce-account .form-row textarea {
	background-color: #fff;
	border: 1px solid var(--pdm-border-color);
	padding: 12px 15px;
	width: 100%;
	box-shadow: none;
	font-size: 1rem;
	color: var(--pdm-text-dark);
	transition: border-color 0.2s ease-in-out;
	border-radius: 0;
	/* No rounded corners */
}

.woocommerce-account .form-row input.input-text:focus,
.woocommerce-account .form-row textarea:focus {
	border-color: var(--pdm-primary-color);
	box-shadow: 0 0 0 1px var(--pdm-primary-color);
	outline: none;
}

/* Specific adjustments for password fields */
.woocommerce-account .woocommerce-form-edit-account .password-input {
	position: relative;
}

.woocommerce-account .show-password-input {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

/* Style for fieldset legends (like in the password change section) */
.woocommerce-account fieldset {
	border: none;
	padding: 0;
	margin: 0 0 30px;
}

.woocommerce-account legend {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--pdm-text-dark);
	margin-bottom: 15px;
	width: 100%;
}

/* Address section layout */
.woocommerce-MyAccount-content .woocommerce-Address {
	margin-bottom: 30px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
	font-size: 1.2rem;
	border: none;
	padding: 0;
	margin-bottom: 10px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit {
	font-size: 0.9rem;
	font-weight: 400;
}

.woocommerce-MyAccount-content address {
	border: 1px solid var(--pdm-border-color);
	padding: 20px;
	font-style: normal;
	line-height: 1.7;
}



/* ==========================================================================
   18. Custom Hero Search Suggestions
   ========================================================================== */

.pdm-hero-input-group {
	position: relative;
	/* Required for suggestion positioning */
}

.pdm-suggestions-container {
	display: none;
	position: absolute;
	top: 110%;
	left: 0;
	right: 0;
	background-color: #fff;
	border: 1px solid var(--pdm-border-color);
	border-top: none;
	z-index: 1000;
	max-height: 240px;
	overflow-y: auto;
	border-radius: 16px;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 6px 20px;
	padding: 16px;
}

/* --- Custom Rounded Grey Scrollbar --- */
.pdm-suggestions-container {
	scrollbar-width: thin !important;
	/* Firefox */
	scrollbar-color: #c1c1c1 #f1f1f1 !important;
	/* thumb | track for Firefox */
}

/* Chrome, Edge, Safari */
.pdm-suggestions-container::-webkit-scrollbar {
	width: 8px !important;
	height: 8px !important;
}

.pdm-suggestions-container::-webkit-scrollbar-track {
	background: #f1f1f1 !important;
	border-radius: 10px !important;
}

.pdm-suggestions-container::-webkit-scrollbar-thumb {
	background-color: #c1c1c1 !important;
	/* Neutral grey thumb */
	border-radius: 10px !important;
	border: 2px solid #f1f1f1 !important;
	/* Padding effect */
}

.pdm-suggestions-container::-webkit-scrollbar-thumb:hover {
	background-color: #a0a0a0 !important;
	/* Slightly darker on hover */
}

/* Remove the scrollbar arrows (up/down buttons) */
.pdm-suggestions-container::-webkit-scrollbar-button {
	display: none !important;
	height: 0 !important;
	width: 0 !important;
}







.pdm-suggestion-item {
	display: flex;
	align-items: center;
	padding: 10px 20px;
	border-radius: 16px;
	font-size: 1rem;
	color: #363636;
	cursor: pointer;
	/* border-bottom: 1px solid #eee; */
}

.pdm-suggestion-item:hover {
	background-color: rgb(233, 231, 228);
}

.pdm-suggestion-icon {
	margin-right: 8px;
	color: #666;
	font-size: 14px;
}

.pdm-suggestion-text strong {
	font-weight: bold;
	color: #000;
}

.pdm-suggestion-icon {
	margin-right: 8px;
	color: #666;
	font-size: 14px;
	font-weight: 700;
}

/* --- Loading Indicator Spinner --- */


@keyframes pdm-spin {
	0% {
		transform: translateY(-50%) rotate(0deg);
	}

	100% {
		transform: translateY(-50%) rotate(360deg);
	}
}

/* --- Active Suggestion for Keyboard Navigation --- */
.pdm-suggestion-item.suggestion-active {
	background-color: #f0f5fa;
	cursor: pointer;
}



/* --- Custom Cart Layout --- */

/* SaaS Cart Layout */
.pdm-saas-cart {
	max-width: 700px;
	margin: 0 auto;
	padding: 30px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	font-family: 'Inter', sans-serif;
}

.pdm-cart-title {
	font-size: 28px;
	font-weight: 700;
	color: #1E88E5;
	margin-bottom: 20px;
	text-align: center;
}

.pdm-cart-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.woocommerce-cart-form {
	border: none !important;
}

.woocommerce-cart-form table.shop_table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-cart-form table.shop_table th,
.woocommerce-cart-form table.shop_table td {
	padding: 15px;
	border-bottom: 1px solid #eee;
}

.woocommerce-cart-form table.shop_table th {
	text-align: left;
	font-weight: 600;
	color: #444;
}

.pdm-cart-summary {
	padding: 20px;
	background: #f9fbff;
	border-radius: 10px;
	border: 1px solid #e0ebff;
}

.pdm-cart-summary h2 {
	font-size: 20px;
	color: #1E88E5;
	margin-bottom: 15px;
}

.pdm-checkout-btn {
	display: block;
	width: 100%;
	padding: 15px;
	background: #1E88E5;
	color: #fff !important;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	border-radius: 8px;
	transition: background 0.2s ease-in-out;
}

.pdm-checkout-btn:hover {
	background: #045bc3;
}

body.cart .debug-test {
	background: yellow !important;
}


/* ==========================================================================
   20. Properties Carousel
   ========================================================================== */

.pdm-carousel-container {
	padding: 40px 0;
}

.pdm-property-card-link {
	width: 100%;
}

.pdm-properties-carousel {
	width: 100%;
	padding: 20px 10px 60px 10px !important;
	/* Add padding for shadows and pagination */
}


.pdm-properties-carousel .pdm-property-card {
	width: 100%;
	/* Ensure card fills the slide */
}





/* Carousel Loading State */
#pdm-carousel-placeholder.loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	/* Give it some height while loading */

}

/* ==========================================================================
   21. Skeleton Loading Animation
   ========================================================================== */

.pdm-property-card.is-loading .pdm-skeleton {
	background-color: #e2e8f0;
	position: relative;
	overflow: hidden;
}

/* Shimmer/Pulse Animation */
.pdm-property-card.is-loading .pdm-skeleton::after {
	content: '';
	position: absolute;
	top: 0;
	left: -150%;
	width: 150%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: pdm-shimmer 1.5s infinite;
}

@keyframes pdm-shimmer {
	0% {
		left: -150%;
	}

	100% {
		left: 150%;
	}
}

/* Placeholder Element Styles */
.pdm-skeleton-image {
	height: 230px;
}

.pdm-skeleton-price {
	width: 40%;
	height: 2.2rem;
	margin-bottom: 10px;
}

.pdm-skeleton-address {
	width: 80%;
	height: 1.2rem;
	margin-bottom: 12px;
}

.pdm-skeleton-location {
	width: 50%;
	height: 1rem;
	margin-bottom: 20px;
}

.pdm-card-details .pdm-skeleton-detail {
	height: 1rem;
	flex-grow: 1;
}

/* Agent Card Skeleton Styles */
.pdm-agent-card.is-loading .pdm-skeleton {
	background-color: #e2e8f0;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

.pdm-agent-card.is-loading .pdm-skeleton::after {
	content: '';
	position: absolute;
	top: 0;
	left: -150%;
	width: 150%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: pdm-shimmer 1.5s infinite;
}

.pdm-agent-card.is-loading {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	padding: 28px 22px 22px;
	align-items: center;
}

.pdm-skeleton-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin-bottom: 16px;
}

.pdm-skeleton-name {
	width: 65%;
	height: 16px;
	margin: 0 auto 10px;
}

.pdm-skeleton-broker {
	width: 80%;
	height: 13px;
	margin: 0 auto 8px;
}

.pdm-skeleton-location-agent {
	width: 50%;
	height: 12px;
	margin: 12px auto 0;
}

.pdm-skeleton-grid {
	width: 100%;
}

@media(max-width: 1024px) {
	.pdm-skeleton-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media(max-width: 640px) {
	.pdm-skeleton-grid {
		grid-template-columns: 1fr !important;
	}
}





/* 🔹 General Table Styling */
.pdm-usage-table,
.pdm-logs-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	font-size: 14px;
	background: #fff;
	/* border-radius: 6px; */
	overflow: hidden;
	/* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); */
}

.pdm-usage-table thead,
.pdm-logs-table thead {
	background: #f9fafb;
	border-bottom: 2px solid #e5e7eb;
}

.pdm-usage-table th,
.pdm-usage-table td,
.pdm-logs-table th,
.pdm-logs-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}

.pdm-usage-table th,
.pdm-logs-table th {
	font-weight: 600;
	color: #374151;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.pdm-usage-table td,
.pdm-logs-table td {
	color: #4b5563;
	vertical-align: middle;
}

/* 🔹 Row Hover Effect */
.pdm-usage-table tbody tr:hover,
.pdm-logs-table tbody tr:hover {
	background: #f3f4f6;
}

/* 🔹 Status Colors */
.pdm-logs-table td[style*="green"] {
	font-weight: 600;
	color: #16a34a !important;
	/* Success */
}

.pdm-logs-table td[style*="orange"] {
	font-weight: 600;
	color: #d97706 !important;
	/* Client Error */
}

.pdm-logs-table td[style*="red"] {
	font-weight: 600;
	color: #dc2626 !important;
	/* Server Error */
}

/* 🔹 Code Styling for Endpoints */
.pdm-logs-table code {
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: monospace;
	font-size: 13px;
	color: #111827;
}

/* 🔹 Responsive */
@media (max-width: 768px) {

	.pdm-usage-table,
	.pdm-logs-table {
		font-size: 13px;
	}

	.pdm-usage-table th,
	.pdm-usage-table td,
	.pdm-logs-table th,
	.pdm-logs-table td {
		padding: 8px 10px;
	}
}


/* Disabled state styling */
.pdm-state-item.disabled {
	opacity: 0.5;
	pointer-events: none;
	background: #f5f5f5;
	border: 1px dashed #ccc;
}

.pdm-state-item.disabled .pdm-state-checkbox {
	background: #ccc !important;
}


/* Action Button Styles */

.pdm-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 15px;
}

.pdm-actions .button {
	flex: 1;
	text-align: center;
}

.pdm-actions .button {
	background-color: var(--pdm-primary-color) !important;
	color: #fff !important;
	border-radius: 0 !important;
	padding: 10px 20px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	font-size: 0.9rem !important;
	letter-spacing: 0.5px;
	transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out !important;
	border: none !important;
}

.pdm-actions .button:hover {
	background-color: var(--pdm-dark-blue) !important;
	transform: translateY(-2px);
}

.pdm-actions .button:disabled,
.pdm-actions .button.disabled {
	background-color: #a0aec0 !important;
	cursor: not-allowed;
	pointer-events: none;
	transform: none;
}


/*
 * Property Data Manager - Single Agent Profile Styles
 *
 * This stylesheet provides modern, responsive styling for the single agent profile template.
 * Inspired by leading real estate platforms like Zillow and Realtor.com.
 */
/* ==========================================================================
   Base & Typography
   ========================================================================== */
:root {
	--pdm-primary-color: #1E88E5 !important;
	--pdm-secondary-color: #000000 !important;
	--pdm-accent-color: #1E88E5 !important;
	--pdm-text-color: #333 !important;
	--pdm-text-light: #555 !important;
	--pdm-border-color: #e0e0e0 !important;
	--pdm-background-light: #f7f9fa !important;
	--pdm-background-white: #fff !important;
	--pdm-font-family: inherit, sans-serif !important;
	/* --pdm-border-radius: 8px !important; */
	--pdm-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
	--pdm-transition: all 0.3s ease-in-out !important;
}

/* Import Google Font */
.pdm-single-agent-profile-wrapper {
	font-family: var(--pdm-font-family) !important;
	color: var(--pdm-text-color) !important;
	line-height: 1.6 !important;
}

.pdm-single-agent-profile {

	margin: 0 auto !important;

}

.pdm-single-agent-profile h1,
.pdm-single-agent-profile h2,
.pdm-single-agent-profile h3 {
	font-weight: 600 !important;
	color: var(--pdm-secondary-color) !important;
	margin-top: 0 !important;
}

.pdm-single-agent-profile p {
	margin-top: 0 !important;
	margin-bottom: 1em !important;
	color: var(--pdm-text-light) !important;
}

.pdm-single-agent-profile a {
	color: var(--pdm-primary-color) !important;
	text-decoration: none !important;
	transition: var(--pdm-transition) !important;
}

.pdm-single-agent-profile a:hover {
	color: var(--pdm-secondary-color) !important;
	text-decoration: underline !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.pdm-single-agent-profile .pdm-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 12px 24px !important;
	border-radius: var(--pdm-border-radius) !important;
	border: 1px solid transparent !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	cursor: pointer !important;
	transition: var(--pdm-transition) !important;
	text-decoration: none !important;
}

.pdm-single-agent-profile .pdm-btn-primary {
	background-color: var(--pdm-primary-color) !important;
	color: #fff !important;
	border-color: var(--pdm-primary-color) !important;
}

.pdm-single-agent-profile .pdm-btn-primary:hover {
	background-color: #000000 !important;
	border-color: #000000 !important;
	color: #fff !important;
	transform: translatey(-2px) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.pdm-single-agent-profile .pdm-btn-secondary {
	background-color: transparent !important;
	color: var(--pdm-primary-color) !important;
	border: 1px solid var(--pdm-primary-color) !important;
}

.pdm-single-agent-profile .pdm-btn-secondary:hover {
	background-color: var(--pdm-primary-color) !important;
	color: #fff !important;
}

.pdm-single-agent-profile .pdm-btn-tertiary {
	background-color: transparent !important;
	color: var(--pdm-text-light) !important;
	border-color: var(--pdm-border-color) !important;
	font-weight: 500 !important;
}

.pdm-single-agent-profile .pdm-btn-tertiary:hover {
	background-color: #e9edf0 !important;
	border-color: #ccc !important;
}

.pdm-single-agent-profile .pdm-btn-full {
	width: 100% !important;
}

/* ==========================================================================
   Header Section
   ========================================================================== */
.pdm-agent-header {
	display: grid !important;
	grid-template-columns: auto 1fr auto !important;
	gap: 24px !important;
	align-items: center !important;
	background-color: var(--pdm-background-white) !important;
	padding: 24px !important;
	border-radius: var(--pdm-border-radius) !important;
	box-shadow: var(--pdm-box-shadow) !important;
	margin-bottom: 32px !important;
}

.pdm-agent-photo {
	width: 120px !important;
	height: 120px !important;
}

.pdm-agent-photo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 50% !important;
	border: 4px solid var(--pdm-background-white) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.pdm-agent-no-photo {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	background-color: var(--pdm-primary-color) !important;
	color: #fff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 48px !important;
	font-weight: 600 !important;
}

.pdm-agent-name {
	font-size: 1.5rem !important;
	margin-bottom: 0px !important;
}

.pdm-agent-broker {
	font-size: 1.1rem !important;
	color: var(--pdm-text-light) !important;
	margin-bottom: 12px !important;
}

.pdm-header-badges {
	display: flex !important;
	gap: 8px !important;
	margin-bottom: 12px !important;
}

.pdm-badge {
	display: inline-block !important;
	padding: 4px 10px !important;
	border-radius: 16px !important;
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.pdm-realtor-badge {
	background-color: #e9f3ff !important;
	color: #005cc8 !important;
	border: 1px solid #b7d5f9 !important;
}

.pdm-experience-badge {
	background-color: #f0f0f0 !important;
	color: var(--pdm-text-light) !important;
}

.pdm-agent-rating {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 1rem !important;
}

.pdm-stars .pdm-star-icon {
	color: #f7a828 !important;
	font-style: normal !important;
}

.pdm-rating-text {
	font-weight: 600 !important;
}

.pdm-reviews-count {
	color: var(--pdm-text-light) !important;
}

.pdm-agent-header-actions {
	display: flex !important;
	gap: 12px !important;
}

/* ==========================================================================
   Main Layout (Grid)
   ========================================================================== */
.pdm-agent-body {
	display: grid !important;
	grid-template-columns: 2fr 1fr !important;
	gap: 32px !important;
	align-items: flex-start !important;
}

.pdm-agent-main-content {
	display: flex !important;
	flex-direction: column !important;
	gap: 32px !important;
	max-width: 100% !important;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.pdm-card {
	background-color: var(--pdm-background-white) !important;
	border-radius: var(--pdm-border-radius) !important;
	box-shadow: var(--pdm-box-shadow) !important;
	overflow: hidden !important;
}

.pdm-card-header {
	font-size: 1.5rem !important;
	padding: 20px 24px !important;
	border-bottom: 1px solid var(--pdm-border-color) !important;
	margin-bottom: 0 !important;
}

.pdm-card-body {
	padding: 24px !important;
}

.pdm-card-body>*:last-child {
	margin-bottom: 0 !important;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.pdm-agent-bio {
	font-size: 1.1rem !important;
}

.pdm-about-video {
	margin-top: 24px !important;
}

.pdm-video-responsive {
	position: relative !important;
	overflow: hidden !important;
	padding-top: 56.25% !important;
	/* 16:9 aspect ratio */
}

.pdm-video-responsive iframe {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
	border-radius: var(--pdm-border-radius) !important;
}

.pdm-agent-credentials {
	margin-top: 24px !important;
	border-top: 1px solid var(--pdm-border-color) !important;
	padding-top: 16px !important;
	font-size: 0.9rem !important;
}

.pdm-credential-label {
	font-weight: 600 !important;
}

/* ==========================================================================
   Expertise & Pills
   ========================================================================== */
.pdm-expertise-group {
	margin-bottom: 24px !important;
}

.pdm-expertise-group:last-child {
	margin-bottom: 0 !important;
}

.pdm-expertise-title {
	font-size: 1.1rem !important;
	font-weight: 600 !important;
	margin-bottom: 12px !important;
	color: var(--pdm-text-color) !important;
}

.pdm-pills-container {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

.pdm-pill {
	padding: 6px 14px !important;
	background-color: #eef1f3 !important;
	color: var(--pdm-text-light) !important;
	border-radius: 20px !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
}

.pdm-show-more {
	margin-top: 16px !important;
	padding: 0 !important;
	border: none !important;
}

.pdm-show-more:hover {
	text-decoration: underline !important;
	cursor: pointer !important;
	background-color: transparent !important;
}

.pdm-hidden {
	display: none !important;
}

/* ==========================================================================
   Listing Stats Section
   ========================================================================== */
.pdm-listing-stats-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
	gap: 24px !important;
	margin-bottom: 32px !important;
}

.pdm-listing-stat-item {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	background-color: var(--pdm-background-light) !important;
	padding: 20px !important;
	border-radius: var(--pdm-border-radius) !important;
}

.pdm-stat-icon {
	font-size: 2rem !important;
	color: var(--pdm-primary-color) !important;
}

.pdm-stat-info {
	display: flex !important;
	flex-direction: column !important;
}

.pdm-stat-value {
	font-size: 2rem !important;
	font-weight: 700 !important;
	color: var(--pdm-secondary-color) !important;
	line-height: 1.1 !important;
}

.pdm-stat-label {
	font-size: 1rem !important;
	font-weight: 500 !important;
	color: var(--pdm-text-light) !important;
}

.pdm-stat-meta {
	font-size: 0.85rem !important;
	color: #888 !important;
}

.pdm-subsection-title {
	font-size: 1.25rem !important;
	margin-top: 16px !important;
	margin-bottom: 16px !important;
	border-top: 1px solid var(--pdm-border-color) !important;
	padding-top: 24px !important;
}

.pdm-listings-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
	gap: 16px !important;
}

.pdm-listing-card {
	border: 1px solid var(--pdm-border-color) !important;
	border-radius: var(--pdm-border-radius) !important;
	overflow: hidden !important;
	transition: var(--pdm-transition) !important;
}

.pdm-listing-card:hover {
	transform: translatey(-4px) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
}

.pdm-listing-photo img {
	width: 100% !important;
	height: 150px !important;
	object-fit: cover !important;
	display: block !important;
	border-radius: 0 !important;
}

.pdm-listing-info {
	padding: 16px !important;
}

.pdm-listing-price {
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: var(--pdm-secondary-color) !important
}

.pdm-listing-address {
	color: var(--pdm-text-light) !important;
	margin-bottom: 8px !important;
}

.pdm-listing-details {
	display: flex !important;
	gap: 16px !important;
	font-size: 0.9rem !important;
	color: #666 !important;
}

/* ==========================================================================
   Q&A Accordion
   ========================================================================== */
/* Accordion Styles */
.pdm-accordion-agent {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.5rem !important;
}

.pdm-accordion-item-agent {
	border: 1px solid var(--border-color) !important;
	border-radius: 0 !important;
	overflow: hidden !important;
	transition: var(--transition) !important;
}

.pdm-accordion-item-agent:hover {
	box-shadow: var(--shadow) !important;
}

.pdm-accordion-header-agent {
	width: 100% !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 1rem 1.5rem !important;
	background: var(--card-background) !important;
	border: none !important;
	cursor: pointer !important;
	font-weight: 600 !important;
	font-size: 1.125rem !important;
	color: var(--text-color) !important;
	transition: var(--transition) !important;
	border-radius: 0 !important;
}

.pdm-accordion-header-agent:hover {
	border-radius: 0 !important;
	background: #f3f4f6 !important;
}

.pdm-accordion-icon {
	transition: transform 0.3s ease !important;
	font-size: 1rem !important;
	color: var(--primary-color) !important;
}

.pdm-accordion-item-agent.active .pdm-accordion-icon {
	transform: rotate(180deg) !important;
}

.pdm-accordion-content-agent {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	padding: 0 1.5rem;
	/* keep side padding */
	padding-top: 0;
	padding-bottom: 0;
	background: #f9fafb;
	border-radius: 0 !important;
}

.pdm-accordion-item-agent.active .pdm-accordion-content-agent {
	border-radius: 0 !important;
	padding: 1rem 1.5rem;
}


.pdm-accordion-content-agent p {
	border-radius: 0 !important;
	margin: 0 !important;
	line-height: 1.6 !important;
	color: #4b5563 !important;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.pdm-agent-sidebar {
	position: sticky !important;
	top: 24px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 24px !important;
}

.pdm-sidebar-card {
	background-color: var(--pdm-background-white) !important;
	border-radius: var(--pdm-border-radius) !important;
	box-shadow: var(--pdm-box-shadow) !important;
	padding: 24px !important;
}

.pdm-sidebar-header {
	font-size: 1.25rem !important;
	margin-bottom: 16px !important;
}

/* Sidebar Contact Form */
.pdm-contact-form .pdm-form-group {
	margin-bottom: 16px !important;
}

.pdm-contact-form label {
	display: block !important;
	font-weight: 500 !important;
	font-size: 0.9rem !important;
	margin-bottom: 4px !important;
	color: var(--pdm-text-light) !important;
}

.pdm-contact-form input,
.pdm-contact-form textarea {
	width: 100% !important;
	padding: 12px !important;
	border: 1px solid var(--pdm-border-color) !important;
	border-radius: var(--pdm-border-radius) !important;
	font-family: var(--pdm-font-family) !important;
	font-size: 1rem !important;
	transition: border-color 0.2s !important;
}

.pdm-contact-form input:focus,
.pdm-contact-form textarea:focus {
	outline: none !important;
	border-color: var(--pdm-primary-color) !important;
	box-shadow: 0 0 0 2px rgba(0, 120, 130, 0.2) !important;
}

.pdm-form-footer {
	font-size: 0.8rem !important;
	color: #999 !important;
	text-align: center !important;
	margin-top: 16px !important;
}

/* Sidebar Contact Info */
.pdm-contact-info-list {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
}

.pdm-contact-info-item {
	display: flex !important;
	gap: 12px !important;
	align-items: flex-start !important;
}

.pdm-contact-info-item i {
	color: var(--pdm-primary-color) !important;
	margin-top: 4px !important;
}

.pdm-contact-info-item strong {
	display: block !important;
	color: var(--pdm-text-color) !important;
	font-weight: 600 !important;
}

.pdm-contact-info-item a {
	word-break: break-all !important;
}

/* Sidebar Social Media */
.pdm-social-links {
	display: flex !important;
	gap: 12px !important;
	flex-wrap: wrap !important;
}

.pdm-social-icon {
	width: 40px !important;
	height: 40px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background-color: #f0f0f0 !important;
	color: #555 !important;
	font-size: 1.1rem !important;
}

.pdm-social-icon:hover {
	background-color: var(--pdm-primary-color) !important;
	color: #fff !important;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
/* ==========================================================================
   Responsive Design
   ========================================================================== */

/*
 * Tablet and Smaller Desktop Styles (Max 1024px)
 * This handles the transition from two-column to single-column layout.
 */
@media (max-width: 1024px) {

	/* Main Layout: Stack main content and sidebar vertically */
	.pdm-accordion-agent {
		gap: 0 !important;
	}

	.pdm-agent-body {

		display: flex !important;
		flex-wrap: wrap !important;
		gap: 24px !important;
		/* Slightly reduce gap */
	}

	/* Sidebar: Remove sticky position for better scrolling */
	.pdm-agent-sidebar {
		position: static !important;
		top: auto !important;
	}

	/* Header: Align items better when space is reduced */
	.pdm-agent-header {
		grid-template-columns: 120px 1fr auto !important;
		/* Keep photo on the left */
		gap: 16px !important;
	}

	/* Listing Stats: Ensure statistics are flexible but not too wide */
	.pdm-listing-stats-grid {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
		gap: 16px !important;
	}
}



/*
 * Mobile Styles (Max 768px)
 * This is for typical tablet portrait and mobile phone screens.
 */
@media (max-width: 768px) {

	.pdm-accordion-header-agent {
		font-size: 1rem !important;
		line-height: 1.5 !important;
		text-wrap: wrap !important;
		padding: 0.75rem 0 !important;
	}

	.pdm-accordion-header-agent span {
		text-align: left !important;
	}

	/* General Padding */
	.pdm-single-agent-profile-wrapper {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.pdm-single-agent-profile {
		max-width: 100% !important;
	}

	/* Agent Header: Stack elements for a full-width mobile view */
	.pdm-agent-header {
		grid-template-columns: 1fr !important;
		/* Single column */
		text-align: center !important;
		padding: 20px !important;
		/* Slightly reduced padding */
	}

	/* Agent Photo: Center the image */
	.pdm-agent-photo {
		margin: 0 auto 16px !important;
		/* Center photo and add bottom margin */
	}

	/* Agent Info: Center text details */
	.pdm-agent-info {
		text-align: center !important;
	}

	/* Name and Brokerage: Adjust font sizes */
	.pdm-agent-name {
		font-size: 1.3rem !important;
	}

	.pdm-agent-broker {
		font-size: 1rem !important;
	}

	/* Badges and Rating: Center badges/ratings */
	.pdm-header-badges,
	.pdm-agent-rating {
		justify-content: center !important;
		margin-bottom: 16px !important;
		align-items: center !important;
	}

	/* Actions: Stack buttons to be full width */
	.pdm-agent-header-actions {
		flex-direction: column !important;
		width: 100% !important;
		gap: 10px !important;
	}

	/* Buttons: Ensure buttons are full width in the actions block */
	.pdm-agent-header-actions .pdm-btn {
		width: 100% !important;
	}

	/* Card Titles: Reduce card header font size */
	.pdm-card-header {
		font-size: 1.3rem !important;
		padding: 16px 20px !important;
	}

	/* Card Body: Reduce padding in the card body */
	.pdm-card-body {
		padding: 20px !important;
	}

	/* Listing Stats: Force a single column for stats if necessary, or let them wrap */
	.pdm-listing-stats-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	/* Stat Item: Remove flex for stat info for better stacking */
	.pdm-listing-stat-item {
		padding: 16px !important;
	}

	.pdm-stat-value {
		font-size: 1.8rem !important;
	}

	.pdm-stat-label {
		font-size: 0.9rem !important;
	}

	/* Listing Cards Grid: Ensure listings take up full width for easy viewing */
	.pdm-listings-grid {
		grid-template-columns: 1fr !important;
	}

	/* Listing Photo: Adjust height for mobile */
	.pdm-listing-photo img {
		height: 200px !important;
	}

	/* Form Inputs: Ensure text areas are a reasonable size */
	.pdm-contact-form textarea {
		min-height: 100px !important;
	}
}




/*
 * Small Mobile Adjustments (Max 480px)
 * Minor tweaks for very small screens.
 */
@media (max-width: 480px) {
	.pdm-agent-photo {
		width: 100px !important;
		height: 100px !important;
	}

	.pdm-agent-name {
		font-size: 1.6rem !important;
	}

	/* Further refine button padding for smaller screens */
	.pdm-single-agent-profile .pdm-btn {
		padding: 10px 20px !important;
		font-size: 15px !important;
	}

	/* Adjust padding of main wrappers */
	.pdm-agent-header,
	.pdm-sidebar-card,
	.pdm-card-body {
		padding: 16px !important;
	}
}



/* Premium Quote Form Styles */
/* ==========================================================================
   Get a Quote Form (Auth-style)
   ========================================================================== */

.pdm-get-quote-container {
	max-width: 520px;
	margin: 0 auto;
	padding: 40px 36px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Context bar (states / plan scope) */
.pdm-quote-context-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #E3F2FD;
	border-radius: 8px;
	margin-bottom: 24px;
	font-size: 13px;
}

.pdm-quote-context-label {
	font-weight: 600;
	color: #1A1A1A;
	white-space: nowrap;
}

.pdm-quote-context-value {
	color: #1E88E5;
	font-weight: 600;
}

/* Two-column rows */
.pdm-quote-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* Floating label overrides for textarea */
.pdm-input-wrapper-textarea {
	position: relative !important;
}

.pdm-input-wrapper-textarea textarea {
	width: 100% !important;
	padding: 20px 16px 8px 16px !important;
	font-size: 15px !important;
	border: 1px solid var(--pdm-border-color, #e2e8f0) !important;
	border-radius: 8px !important;
	background: var(--pdm-background-white, #ffffff) !important;
	color: var(--pdm-text-color, #1A1A1A) !important;
	transition: border-color 0.2s, box-shadow 0.2s !important;
	font-family: var(--pdm-font-family, 'Inter', sans-serif) !important;
	outline: none !important;
	resize: vertical !important;
	min-height: 100px !important;
}

.pdm-input-wrapper-textarea label {
	position: absolute !important;
	left: 16px !important;
	top: 18px !important;
	font-size: 15px !important;
	color: var(--pdm-text-light, #94a3b8) !important;
	pointer-events: none !important;
	transition: all 0.2s ease !important;
	background: var(--pdm-background-white, #ffffff) !important;
	padding: 0 4px !important;
}

.pdm-input-wrapper-textarea textarea:focus + label,
.pdm-input-wrapper-textarea textarea:not(:placeholder-shown) + label {
	top: -1px !important;
	font-size: 12px !important;
	color: var(--pdm-primary-color, #1E88E5) !important;
	font-weight: 500 !important;
}

.pdm-input-wrapper-textarea textarea:focus {
	border-color: var(--pdm-primary-color, #1E88E5) !important;
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1) !important;
}

/* Full-width button */
.pdm-btn-full {
	width: 100% !important;
}

/* Form Messages */
.pdm-get-quote-container .pdm-form-message {
	padding: 12px 16px;
	margin-bottom: 20px;
	display: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.pdm-get-quote-container .pdm-form-message.pdm-success {
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
	color: #2e7d32;
	display: block;
}

.pdm-get-quote-container .pdm-form-message.pdm-error {
	background: #ffebee;
	border: 1px solid #ef9a9a;
	color: #c62828;
	display: block;
}

/* Responsive */
@media (max-width: 600px) {
	.pdm-get-quote-container {
		padding: 28px 20px;
		margin: 0 auto;
		border-radius: 10px;
	}

	.pdm-quote-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.pdm-click-hint {
	font-size: 0.8em;
	color: #1E88E5;
	/* Your brand color */
	font-weight: normal;
	text-decoration: underline;
	margin-left: 5px;
}

.pdm-reveal-trigger {
	cursor: pointer;
	color: #333;
	text-decoration: none;
	transition: color 0.2s;
}

.pdm-reveal-trigger:hover {
	color: #1E88E5;
}

.pdm-reveal-trigger.pdm-revealed {
	color: #10b981;
	/* Green to indicate it is now active */
	font-weight: 600;
}

/* Map Search Layout */
.pdm-map-search-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#pdm-google-map {
	border: 1px solid #e2e8f0;

	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pdm-map-infowindow img {
	border-radius: 4px;
}


.pdm-full-map-layout .pdm-pagination {
	padding: 20px 0;
	margin: 0;
}

.pdm-full-map-layout .pdm-active-filters {
	margin: 0;
}




/* ==========================================================================
   24. Custom Map InfoWindow (Floating Card Style)
   ========================================================================== */

/* --- 1. Override Google Maps Default Styles --- */

/* The main bubble container */
.gm-style .gm-style-iw-c {
	padding: 0 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	background-color: transparent !important;
	/* Remove white bg */
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
	max-height: none !important;
}

/* The inner content wrapper */
.gm-style .gm-style-iw-d {
	overflow: hidden !important;
	/* Remove scrollbars */
	padding: 0 !important;
	max-height: none !important;
}

/* Hide the Close (X) Button */
.gm-ui-hover-effect {
	display: none !important;
}

/* Hide the Triangle Tail (Pointer) */
.gm-style .gm-style-iw-tc::after {
	display: none !important;
}

/* --- 2. Custom Card Styles --- */

.pdm-map-card-container {
	width: 260px;
	height: 180px;
	font-family: 'Inter', sans-serif;
	/* Use your theme font */
}

.pdm-map-card-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.pdm-map-card-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	border-radius: 12px;
	/* Rounds the image */
	overflow: hidden;
}

/* The Gradient Overlay */
.pdm-map-card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* Gradient from transparent top to dark bottom */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
	display: flex;
	align-items: flex-end;
	/* Push text to bottom */
}

.pdm-map-card-info {
	padding: 15px;
	width: 100%;
	color: #fff;
}

.pdm-map-price {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pdm-map-address {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 2px;
}

.pdm-map-city {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.8);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Adjust the badge position inside the new layout */
.pdm-map-card-bg .pdm-status-badge {
	top: 10px;
	left: 10px;
	right: auto;
	font-size: 10px;
	padding: 4px 8px;
	background-color: #1E88E5;
	/* Brand color */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   22. Full Screen Map Search Layout
   ========================================================================== */

/* Main Container: Flex Row (Sidebar + Map) */
.pdm-full-map-layout {
	display: flex;
	flex-wrap: nowrap;
	height: 85vh;
	/* Occupy most of the viewport height */
	min-height: 600px;
	border: 1px solid #e2e8f0;
	background: #fff;
	overflow: hidden;
	/* Prevent outer scroll */
	position: relative;
}

/* --- Left Sidebar --- */
.pdm-map-sidebar {
	width: 320px;
	min-width: 320px;
	background: #fff;
	border-right: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	z-index: 10;
}

.pdm-sidebar-header {
	padding: 16px 16px;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
}

.pdm-sidebar-header h3 {
	margin: 0;
	font-family: 'Archivo', 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #1A1A1A;
}

.pdm-sidebar-scroll {
	flex: 1;
	overflow-y: auto;
	/* Scrollable filters */
	padding: 0;
}

/* Override existing form styles for Sidebar context */
.pdm-map-sidebar .pdm-filter-form {
	border: none;
	box-shadow: none;
	margin: 0;
	padding: 16px;
	background: transparent;
	border-radius: 0;
}

/* Force form grid to stack vertically in sidebar */
.pdm-map-sidebar .pdm-filter-form .form-grid {
	display: flex;
	flex-direction: column;
	align-items: unset;
	gap: 12px;
}

.pdm-map-sidebar .pdm-filter-form .form-group-span-2 {
	grid-column: auto;
}

.pdm-map-sidebar .pdm-filter-form .form-actions {
	border-top: none;
	padding-top: 8px;
	margin-top: 4px;
}

.pdm-map-sidebar .pdm-filter-form .form-actions-left {
	width: 100%;
	display: flex;
	flex-direction: row;
	gap: 8px;
}

.pdm-map-sidebar .pdm-filter-form .search-button {
	flex: 1;
	justify-content: center;
	text-align: center;
}

.pdm-map-sidebar .pdm-filter-form .reset-button {
	flex: 1;
	justify-content: center;
	text-align: center;
}

.pdm-map-sidebar .pdm-filter-form .form-actions-right {
	width: 100%;
	margin-top: 4px;
}

.pdm-map-sidebar .pdm-filter-form .pdm-toggle-filters-button {
	width: 100%;
	justify-content: center;
}

/* --- Right Main Content --- */
.pdm-map-main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Top Bar (Active Filters) */
.pdm-map-top-bar {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	z-index: 5;
}

/* Override active filters styling to fit bar */
.pdm-map-top-bar .pdm-active-filters {
	margin-bottom: 0;
	border: none;
	padding: 10px 16px;
	min-height: auto;
}

/* Map Canvas */
.pdm-map-canvas {
	flex: 1;
	/* Take remaining height */
	width: 100%;
	height: 100%;
	background: #eee;
	/* Placeholder color while loading */
}

/* --- Responsive Mobile View --- */
@media (max-width: 960px) {
	.pdm-full-map-layout {
		flex-direction: column;
		height: auto;
	}

	.pdm-map-sidebar {
		width: 100%;
		min-width: 100%;
		height: auto;
		max-height: 300px;
		/* Collapsible area hint */
		border-right: none;
		border-bottom: 1px solid #e2e8f0;
	}

	.pdm-map-canvas {
		height: 500px;
		/* Fixed height on mobile */
	}

	.pdm-sidebar-scroll {
		overflow-y: visible;
	}
}

.pdm-full-map-layout .pdm-filter-form .form-actions {
	flex-wrap: wrap;
}

.pdm-full-map-layout .pdm-filter-form .form-actions .pdm-toggle-filters-button {
	width: 100%;
	justify-content: center;
}

/* --- Map Loader --- */
.pdm-map-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 50;
	background: rgba(255, 255, 255, 0.9);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: none;
	/* Hidden by default */
	text-align: center;
	font-weight: 600;
	color: #333;
}

.pdm-spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: pdm-spin 1s linear infinite;
	margin: 0 auto 10px auto;
}

@keyframes pdm-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}


/* --- No Results Overlay --- */
.pdm-map-message-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 40;
	/* Below loader (50) but above map (0) */
	background: rgba(255, 255, 255, 0.95);
	padding: 30px 50px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	text-align: center;
	max-width: 400px;
	width: 90%;
}

.pdm-map-message-overlay h3 {
	margin: 15px 0 10px 0;
	color: #333;
	font-size: 1.4rem;
}

.pdm-map-message-overlay p {
	margin: 0;
	color: #666;
	font-size: 1rem;
}

.pdm-map-message-overlay svg {
	margin-bottom: 5px;
	stroke: #999;
}

/* ==========================================================================
   23. Mobile / Phone Optimizations
   ========================================================================== */

@media (max-width: 960px) {

	/* 1. Stack Layout Vertically */
	.pdm-full-map-layout {
		flex-direction: column;
		height: auto !important;
		/* Disable fixed height to allow scrolling */
		min-height: auto;
		border: none;
	}

	/* 2. Push Map to Top (Order 1) */
	.pdm-map-main-content {
		order: 1;
		height: 60vh;
		/* Map takes 60% of the screen height */
		min-height: 400px;
		/* Ensure it's never too short */
		border-bottom: 4px solid #f0f0f0;
	}

	/* 3. Push Filters to Bottom (Order 2) */
	.pdm-map-sidebar {
		order: 2;
		width: 100%;
		min-width: 100%;
		max-height: unset !important;
		height: auto;
		border-right: none;
		background: #fff;
		box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
		z-index: 11;
	}

	/* 4. Better Sidebar Styling for Mobile */
	.pdm-sidebar-header {
		padding: 12px 16px;
		background: #f8fafc;
		border-bottom: 1px solid #e2e8f0;
		text-align: center;
	}

	.pdm-sidebar-header h3 {
		font-size: 12px;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: #64748b;
		font-weight: 600;
	}

	/* Enable scrolling for the whole page, not just the div */
	.pdm-sidebar-scroll {
		overflow: visible;
		height: auto;
	}

	/* 5. Adjust Filter Form Grid — 2 columns on mobile */
	.pdm-map-sidebar .pdm-filter-form .form-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.pdm-map-sidebar .pdm-filter-form .form-group {
		margin-bottom: 0;
	}

	/* Buttons side by side at 50% */
	.pdm-map-sidebar .pdm-filter-form .form-actions-left {
		width: 100%;
		display: flex;
		flex-direction: row;
		gap: 8px;
	}

	.pdm-map-sidebar .pdm-filter-form .search-button,
	.pdm-map-sidebar .pdm-filter-form .reset-button {
		flex: 1;
		justify-content: center;
		text-align: center;
	}

	.pdm-map-message-overlay {
		width: 85%;
		padding: 20px;
	}
}

/* Error Debugging */
.pdm-error-debug {
	border: 2px solid #ef4444;
	background-color: #fef2f2;
	color: #b91c1c;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 6px;
	font-size: 14px;
}

.pdm-error-debug pre {
	white-space: pre-wrap;
	background: #fff;
	border: 1px solid #ddd;
	padding: 10px;
	margin-top: 10px;
	font-family: monospace;
}

.pdm-no-results {
	padding: 20px;
	text-align: center;
	color: #666;
	font-size: 16px;
}




/* Make sure the card context allows absolute positioning */
.pdm-property-card {
	position: relative;
	/* Optional: Add hover effect if needed */
	transition: transform 0.2s ease;
}

/* The invisible link stretches to fill the container */
/* Card overlay and favorite styles defined in DESIGN REFRESH v2 block at bottom. */




/* ====================================
   Login/Registration Modal Styles
   ==================================== */

.pdm-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	/* opacity: 0; */
	/* visibility: hidden; */
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdm-modal[style*="display: block"],
.pdm-modal.is-active {
	opacity: 1;
	visibility: visible;
}

.pdm-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.pdm-modal-content {
	position: relative;
	background: var(--pdm-background-white);
	border-radius: 12px;
	width: 90%;
	max-width: 440px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 32px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: slideUp 0.3s ease;
	z-index: 1;
}



@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}

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

.pdm-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: var(--pdm-text-light);
	cursor: pointer;
	padding: 4px 8px;
	transition: var(--pdm-transition);
	border-radius: 4px;
}

.pdm-modal-close:hover {
	color: var(--pdm-text-color);
	background: var(--pdm-background-light);
}

.pdm-modal-header {
	margin-bottom: 28px;
	text-align: center;
}

.pdm-modal-header h3 {
	margin: 0 0 8px 0;
	font-size: 24px;
	font-weight: 600;
	color: var(--pdm-text-color);
	font-family: var(--pdm-font-family);
}

.pdm-modal-header p {
	margin: 0;
	font-size: 14px;
	color: var(--pdm-text-light);
	line-height: 1.5;
}

/* Form Styles */
#pdm-quick-register-form {
	margin-bottom: 20px;
}

#pdm-quick-register-form .pdm-form-group {
	margin-bottom: 20px;
}

#pdm-quick-register-form .pdm-form-group:last-of-type {
	margin-bottom: 16px;
}

#pdm-quick-register-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--pdm-text-color);
}

#pdm-quick-register-form input[type="email"],
#pdm-quick-register-form input[type="password"] {
	width: 100%;
	padding: 12px 16px;
	font-size: 14px;
	border: 1px solid var(--pdm-border-color);
	border-radius: 6px;
	background: var(--pdm-background-white);
	color: var(--pdm-text-color);
	transition: var(--pdm-transition);
	font-family: var(--pdm-font-family);
}

#pdm-quick-register-form input[type="email"]:focus,
#pdm-quick-register-form input[type="password"]:focus {
	outline: none;
	border-color: var(--pdm-primary-color);
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

#pdm-quick-register-form input::placeholder {
	color: #aaa;
}

/* Form Messages */
.pdm-form-messages {
	margin-bottom: 16px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	display: none;
}

.pdm-form-messages.success {
	display: block;
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.pdm-form-messages.error {
	display: block;
	background: #ffebee;
	color: #c62828;
	border: 1px solid #ef9a9a;
}

/* Submit Button */
#pdm-quick-register-form button[type="submit"] {
	width: 100%;
	padding: 14px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--pdm-primary-color);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: var(--pdm-transition);
	position: relative;
	font-family: var(--pdm-font-family);
}

#pdm-quick-register-form button[type="submit"]:hover {
	background: #1976d2;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

#pdm-quick-register-form button[type="submit"]:active {
	transform: translateY(0);
}

#pdm-quick-register-form button[type="submit"]:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
}



/* Modal Footer */
.pdm-modal-footer {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid var(--pdm-border-color);
	font-size: 14px;
	color: var(--pdm-text-light);
}

.pdm-modal-footer a {
	color: var(--pdm-primary-color);
	text-decoration: none;
	font-weight: 500;
	transition: var(--pdm-transition);
}

.pdm-modal-footer a:hover {
	text-decoration: underline;
	color: #1976d2;
}

.pdm-password-requirements {
	margin-top: 12px;
	padding: 16px;
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	display: none;
}

.pdm-req-title {
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
}

.pdm-req-list {
	list-style: disc;
	margin: 0;
	padding-left: 20px;
}

.pdm-req-item {
	font-size: 13px;
	color: #dc3545;
	transition: color 0.3s ease;
}

.pdm-req-item.pdm-req-met {
	color: #28a745;
	font-weight: 600;

}

.pdm-req-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	margin-right: 10px;
	font-size: 9px;
	font-weight: bold;
	border-radius: 50%;
	flex-shrink: 0;
}

.pdm-req-item .pdm-req-icon {
	background: #dc3545;
	color: white;
}

.pdm-req-item.pdm-req-met .pdm-req-icon {
	background: #28a745;
	color: white;
}

.pdm-req-text {
	line-height: 1.4;
}

/* Responsive */
@media (max-width: 480px) {
	.pdm-modal-content {
		padding: 24px;
		border-radius: 8px;
	}

	.pdm-modal-header h3 {
		font-size: 20px;
	}

	.pdm-modal-header p {
		font-size: 13px;
	}

	#pdm-quick-register-form input[type="email"],
	#pdm-quick-register-form input[type="password"] {
		padding: 10px 14px;
		font-size: 13px;
	}

	#pdm-quick-register-form button[type="submit"] {
		padding: 12px 20px;
		font-size: 14px;
	}
}

/* Smooth scrollbar for modal content */
.pdm-modal-content::-webkit-scrollbar {
	width: 6px;
}

.pdm-modal-content::-webkit-scrollbar-track {
	background: var(--pdm-background-light);
}

.pdm-modal-content::-webkit-scrollbar-thumb {
	background: var(--pdm-border-color);
	border-radius: 3px;
}

.pdm-modal-content::-webkit-scrollbar-thumb:hover {
	background: var(--pdm-text-light);
}



/* ====================================
   Authentication Forms - Unified Styles
   ==================================== */

/* Auth Container (Login & Register Pages) */
.pdm-auth-container {
	max-width: 420px !important;
	margin: 60px auto !important;
	padding: 40px !important;
	background: var(--pdm-background-white) !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important
}

/* Auth Header */
.pdm-auth-header {
	text-align: center !important;
	margin-bottom: 32px !important
}


.pdm-form-title {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: var(--pdm-text-color) !important;
	margin: 0 0 8px 0 !important;
	font-family: var(--pdm-font-family) !important
}

.pdm-subtitle {
	font-size: 14px !important;
	color: var(--pdm-text-light) !important;
	margin: 0 !important
}

/* Form Groups */
.pdm-form {
	margin: 0 !important
}

.pdm-form-group {
	margin-bottom: 14px;
	position: relative !important
}

.pdm-form-group:last-of-type {
	margin-bottom: 20px !important
}

/* Floating Label Input Wrapper */
.pdm-input-wrapper {
	position: relative !important
}

.pdm-input-wrapper input {
	width: 100% !important;
	padding: 16px 16px 6px 16px !important;
	font-size: 15px !important;
	border: 1px solid var(--pdm-border-color) !important;
	border-radius: 8px !important;
	background: var(--pdm-background-white) !important;
	color: var(--pdm-text-color) !important;
	transition: var(--pdm-transition) !important;
	font-family: var(--pdm-font-family) !important;
	outline: none !important
}

.pdm-input-wrapper label {
	position: absolute !important;
	left: 16px !important;
	top: 50% !important;
	transform: translatey(-50%) !important;
	font-size: 15px !important;
	color: var(--pdm-text-light) !important;
	pointer-events: none !important;
	transition: all 0.2s ease !important;
	background: var(--pdm-background-white) !important;
	padding: 0 4px !important
}

/* Floating label active state */
.pdm-input-wrapper input:focus+label,
.pdm-input-wrapper input:not(:placeholder-shown)+label {
	top: 0 !important;
	font-size: 12px !important;
	color: var(--pdm-primary-color) !important;
	font-weight: 500 !important
}

.pdm-input-wrapper input:focus {
	border-color: var(--pdm-primary-color) !important;
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1) !important
}

.pdm-input-wrapper input.error {
	border-color: #e53935 !important
}

/* Standard Label (Modal) */
.pdm-form-group>label:not(.pdm-checkbox) {
	display: block !important;
	margin-bottom: 8px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--pdm-text-color) !important
}

.pdm-form-group>input[type="email"],
.pdm-form-group>input[type="password"] {
	width: 100% !important;
	padding: 12px 16px !important;
	font-size: 14px !important;
	border: 1px solid var(--pdm-border-color) !important;
	background: var(--pdm-background-white) !important;
	color: var(--pdm-text-color) !important;
	transition: var(--pdm-transition) !important;
	font-family: var(--pdm-font-family) !important
}

.pdm-form-group>input[type="email"]:focus,
.pdm-form-group>input[type="password"]:focus {
	outline: none !important;
	border-color: var(--pdm-primary-color) !important;
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1) !important
}

.pdm-form-group>input::placeholder {
	color: #aaa !important
}

/* Error Messages */
.pdm-error-msg {
	display: none;
	font-size: 13px !important;
	color: #e53935 !important;
	margin-top: 6px !important
}

.pdm-error-msg.active {
	display: block;
}

/* Helper Text */
.pdm-helper-text {
	display: block !important;
	font-size: 12px !important;
	color: var(--pdm-text-light) !important;
	margin-top: 6px !important
}

/* Form Row (Remember me + Forgot password) */
.pdm-form-row {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 24px !important;
	font-size: 14px !important
}

/* Checkbox */
.pdm-checkbox {
	display: flex !important;
	align-items: center !important;
	cursor: pointer !important;
	color: var(--pdm-text-color) !important;
	user-select: none !important
}

.pdm-checkbox input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	margin-right: 8px !important;
	cursor: pointer !important;
	accent-color: var(--pdm-primary-color) !important
}

/* Forgot Link */
.pdm-forgot-link {
	color: var(--pdm-primary-color) !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	transition: var(--pdm-transition) !important
}

.pdm-forgot-link:hover {
	text-decoration: underline !important;
	color: #1976d2 !important
}

/* Form Messages (Success/Error) */
.pdm-form-messages {
	margin-bottom: 20px !important;
	padding: 12px 16px !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	display: none;
	line-height: 1.5 !important
}

.pdm-form-messages.success {
	display: block;
	background: #e8f5e9 !important;
	color: #2e7d32 !important;
	border: 1px solid #a5d6a7 !important
}

.pdm-form-messages.error {
	display: block;
	background: #ffebee !important;
	color: #c62828 !important;
	border: 1px solid #ef9a9a !important
}

/* Primary Button */
.pdm-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 14px 24px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: var(--pdm-transition) !important;
	font-family: var(--pdm-font-family) !important;
	border: none !important;
	text-decoration: none !important
}

.pdm-btn-primary {
	color: #fff !important;
	background: var(--pdm-primary-color) !important
}

.pdm-btn-primary:hover {
	background: #1976d2 !important;
	transform: translatey(-1px) !important;
	box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3) !important
}

.pdm-btn-primary:active {
	transform: translatey(0) !important
}

.pdm-btn-primary:disabled {
	background: #ccc !important;
	cursor: not-allowed !important;
	transform: none !important
}

.pdm-btn-block {
	width: 100%;
}

.btn-loader {
	margin-bottom: -3px !important;

}

.btn-loader::after {
	display: inline-block;
	content: "";
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Auth Footer */
.pdm-auth-footer {
	text-align: center !important;
	margin-top: 24px !important;
	padding-top: 24px !important;
	border-top: 1px solid var(--pdm-border-color) !important;
	font-size: 14px !important;
	color: var(--pdm-text-light) !important
}

.pdm-auth-footer a {
	color: var(--pdm-primary-color) !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	transition: var(--pdm-transition) !important
}

.pdm-auth-footer a:hover {
	text-decoration: underline !important;
	color: #1976d2 !important
}

/* ====================================
   Modal Styles (Quick Registration)
   ==================================== */
.pdm-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 99999 !important;
	display: flex;
	align-items: center !important;
	justify-content: center !important;
	transition: opacity 0.3s ease, visibility 0.3s ease !important
}

.pdm-modal[style*="display: block"],
.pdm-modal.is-active {
	opacity: 1 !important;
	visibility: visible !important
}

.pdm-modal-overlay {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0, 0, 0, 0.6) !important;
	backdrop-filter: blur(4px) !important;
	animation: fadeIn 0.3s ease !important
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.pdm-modal-content {
	position: relative !important;
	background: var(--pdm-background-white) !important;
	border-radius: 12px !important;
	width: 90% !important;

	max-height: 90vh !important;
	overflow-y: auto !important;
	padding: 32px !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
	animation: slideUp 0.3s ease !important;
	z-index: 1 !important
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}

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

.pdm-modal-close {
	position: absolute !important;
	top: 16px !important;
	right: 16px !important;
	background: transparent !important;
	border: none !important;
	font-size: 28px !important;
	line-height: 1 !important;
	color: var(--pdm-text-light) !important;
	cursor: pointer !important;
	padding: 4px 8px !important;
	transition: var(--pdm-transition) !important;
	border-radius: 4px !important
}

.pdm-modal-close:hover {
	color: var(--pdm-text-color) !important;
	background: var(--pdm-background-light) !important
}

.pdm-modal-header {
	margin-bottom: 28px !important;
	text-align: center !important
}

.pdm-modal-header h3 {
	margin: 0 0 8px 0 !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	color: var(--pdm-text-color) !important;
	font-family: var(--pdm-font-family) !important
}

.pdm-modal-header p {
	margin: 0 !important;
	font-size: 14px !important;
	color: var(--pdm-text-light) !important;
	line-height: 1.5 !important
}

.pdm-modal-footer {
	text-align: center !important;
	padding-top: 20px !important;
	margin-top: 20px !important;
	border-top: 1px solid var(--pdm-border-color) !important;
	font-size: 14px !important;
	color: var(--pdm-text-light) !important
}

.pdm-modal-footer a {
	color: var(--pdm-primary-color) !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	transition: var(--pdm-transition) !important
}

.pdm-modal-footer a:hover {
	text-decoration: underline !important;
	color: #1976d2 !important
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 640px) {
	.pdm-auth-container {
		margin: 30px 20px;
		padding: 30px 24px
	}

	.pdm-form-title {
		font-size: 24px
	}



	.pdm-input-wrapper input {
		padding: 14px 14px 6px 14px;
		font-size: 14px
	}

	.pdm-input-wrapper label {
		font-size: 14px
	}

	.pdm-form-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px
	}

	.pdm-modal-content {
		padding: 24px;
		border-radius: 8px
	}

	.pdm-modal-header h3 {
		font-size: 20px
	}
}

@media (max-width: 480px) {
	.pdm-auth-container {
		margin: 20px 16px;
		padding: 24px 20px
	}

	.pdm-btn {
		padding: 12px 20px;
		font-size: 14px
	}
}

/* Smooth scrollbar for modal */
.pdm-modal-content::-webkit-scrollbar {
	width: 6px !important
}

.pdm-modal-content::-webkit-scrollbar-track {
	background: var(--pdm-background-light) !important
}

.pdm-modal-content::-webkit-scrollbar-thumb {
	background: var(--pdm-border-color) !important;
	border-radius: 3px !important
}

/* Loading state for buttons */
.pdm-btn:disabled .btn-text {
	opacity: 0.7;
}

/* Focus visible for accessibility */
.pdm-btn:focus-visible,
.pdm-input-wrapper input:focus-visible,
.pdm-checkbox input:focus-visible {
	outline: 2px solid var(--pdm-primary-color) !important;
	outline-offset: 2px !important
}

.pdm-alert-danger {
	background-color: #ffebee !important;
	color: #c62828 !important;
	border: 1px solid #ef9a9a !important;
	padding: 12px 16px !important;
	border-radius: 6px !important;
	margin-bottom: 20px !important
}

.pdm-alert-success {
	background-color: #e8f5e9 !important;
	color: #2e7d32 !important;
	border: 1px solid #a5d6a7 !important;
	padding: 12px 16px !important;
	margin-bottom: 20px !important
}


.pdm-alert-info {
	background-color: #e3f2fd !important;
	color: #1976d2 !important;
	border: 1px solid #90caf9 !important;
	padding: 20px 16px !important;
	margin-bottom: 20px !important
}

.pdm-alert-info a {
	color: #1976d2 !important;
	text-decoration: underline !important
}

.text-left-aligned {
	text-align: left !important;
}

/* =========================================
   PDM Header Profile Menu
   ========================================= */

.pdm-profile-wrapper {
	position: relative;
	display: inline-block;
	font-family: var(--pdm-font-family);
	vertical-align: middle;
	/* Aligns with other menu items */
}

/* Avatar Trigger */
.pdm-profile-trigger {
	cursor: pointer;
	outline: none;
	position: relative;
	padding: 2px;
	border-radius: 50%;
	border: 2px solid transparent;
	transition: var(--pdm-transition);
}

.pdm-profile-trigger:hover,
.pdm-profile-trigger.active {
	border-color: #E3F2FD;
	/* Light Blue Halo */
}

.pdm-avatar-circle img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: block;
	object-fit: cover;
}

/* Hover Tooltip */
.pdm-profile-tooltip {
	position: absolute;
	top: 120%;
	right: -150%;
	transform: translateX(-50%);
	background: rgba(30, 41, 59, 0.95);
	color: #fff;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: var(--pdm-transition);
	pointer-events: none;
	z-index: 9999;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.pdm-profile-trigger:hover .pdm-profile-tooltip {
	opacity: 1;
	visibility: visible;
	top: 115%;
}

.pdm-profile-trigger.active .pdm-profile-tooltip {
	display: none;
}

.pdm-tooltip-name {
	display: block;
	font-weight: 600;
	margin-bottom: 2px;
	text-align: left;
	line-height: 1.7;
}

.pdm-tooltip-email {
	display: block;
	opacity: 0.8;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
}

/* Dropdown Menu */
.pdm-profile-dropdown {
	position: absolute;
	top: 130%;
	right: 0;
	width: 260px;
	background: var(--pdm-background-white);
	border: 1px solid var(--pdm-border-color);
	border-radius: 12px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.2s ease-out;
	z-index: 10000;
	overflow: hidden;
}

.pdm-profile-dropdown.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Menu Header */
.pdm-dropdown-header {
	padding: 16px;
	border-bottom: 1px solid var(--pdm-border-color);
	background: var(--pdm-background-light);
}

.pdm-header-user {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pdm-header-user img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.pdm-header-info {
	overflow: hidden;
	line-height: 1.5;
}

.pdm-header-info strong {
	display: block;
	font-size: 14px;
	color: var(--pdm-text-color);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pdm-header-info span {
	display: block;
	font-size: 12px;
	color: var(--pdm-text-light);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Menu Links */
.pdm-dropdown-links {
	list-style: none;
	padding: 8px 0;
	margin: 0;
}

.pdm-dropdown-links li {
	margin: 0;
}

.pdm-dropdown-links a {
	display: block;
	/* Changed to block since icons are removed */
	padding: 10px 20px;
	color: var(--pdm-text-color);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: background 0.1s;
}

.pdm-dropdown-links a:hover {
	background: var(--pdm-background-light);
	color: var(--pdm-primary-color);
}

.pdm-divider {
	height: 1px;
	background: var(--pdm-border-color);
	margin: 8px 0;
}

.pdm-link-logout {
	color: #EF4444 !important;
}

.pdm-link-logout:hover {
	background: #FEF2F2 !important;
	color: #DC2626 !important;
}

/* Responsive Fix */
@media (max-width: 600px) {
	.pdm-profile-dropdown {
		right: -20px;
		/* Adjust slightly for small screens */
		width: 240px;
	}
}

/* ==========================================================================
   DESIGN REFRESH v2 — Hero Search & Property Card
   Matches BuyMLSData static homepage design.
   Single source of truth — no conflicting blocks above.
   ========================================================================== */

/* ---------- HERO SEARCH BAR ---------- */

.pdm-hero-search-container {
	background: #ffffff;
	border-radius: 16px;

	display: flex;
	align-items: center;
	max-width: 680px;
	margin: 0 auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.1);
	width: 100%;
}

.pdm-hero-form {
	width: 100%;
}

.pdm-hero-input-group {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
	gap: 0;
	padding: 8px;
}

.pdm-hero-select-wrap {
	flex: 0 0 155px;
	position: relative;
}

.pdm-hero-select-wrap::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #1E88E5;
	pointer-events: none;
}

.pdm-hero-search-container .pdm-status-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 100%;
	padding: 14px 38px 14px 18px;
	border: none;
	background: #E3F2FD;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #1A1A1A;
	border-radius: 10px;
	cursor: pointer;
	outline: none;
	height: auto;
	line-height: 1.4;
	min-width: auto;
	border-right: none;
	background-image: none;
	position: static;
}

.pdm-hero-search-container .pdm-status-select:focus {
	outline: none;
	border: none;
	border-right: none;
}

.pdm-hero-search-container #pdm_hero_location_search {
	flex: 1;
	padding: 14px 18px;
	padding-left: 18px !important;
	border: none;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #1A1A1A;
	outline: none;
	background: transparent;
	min-width: 0;
	border-radius: 0;
	box-shadow: none;
	height: auto;
}

.pdm-hero-search-container #pdm_hero_location_search::placeholder {
	color: #64748b;
}

.pdm-hero-search-container #pdm_hero_location_search:focus {
	outline: none;
	border: none;
	box-shadow: none;
}

.pdm-hero-search-container .pdm-hero-submit-btn {
	flex: 0 0 auto;
	background: #1E88E5;
	color: #ffffff;
	border: none;
	padding: 14px 28px;
	border-radius: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	position: static;
	transform: none;
	width: auto;
	height: auto;
	box-shadow: none;
}

.pdm-hero-search-container .pdm-hero-submit-btn:hover {
	background: #1565C0;
	transform: translateY(-1px);
}

.pdm-hero-search-container .pdm-hero-submit-btn svg {
	width: 18px;
	height: 18px;
	margin: 0;
}

.pdm-hero-btn-text {
	display: inline;
}

/* Suggestions dropdown */
positioned relative to the input group */ .pdm-hero-search-container .pdm-suggestions-container {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 100;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
	border: 1px solid #e2e8f0;
}

/* Mobile hero search */
@media screen and (max-width: 767px) {
	.pdm-hero-search-container {
		flex-direction: column;
		border-radius: 14px;
	
		max-width: 100%;
	}

	.pdm-hero-input-group {
		flex-direction: column;
		align-items: stretch;
	}

	.pdm-hero-select-wrap {
		flex: none;
		width: 100%;
	}

	.pdm-hero-search-container .pdm-status-select {
		width: 100%;
		border-radius: 10px;
		padding: 14px 38px 14px 18px;
	}

	.pdm-hero-search-container #pdm_hero_location_search {
		width: 100%;
		padding: 14px 18px !important;
		border-radius: 10px;
	}

	.pdm-hero-search-container .pdm-hero-submit-btn {
		width: 100%;
		justify-content: center;
		border-radius: 10px;
		padding: 14px 28px;
	}

	.pdm-suggestions-container{
		top: 105%;
	}
}


/* ---------- PROPERTY CARD ---------- */

.pdm-property-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
}

.pdm-property-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Card overlay link */
.pdm-card-overlay-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	cursor: pointer;
}

/* Image */
.pdm-card-image-wrapper {
	position: relative;
	height: 170px;
	background: linear-gradient(135deg, #c4d5e8, #a8c0d8);
	overflow: hidden;
}

.pdm-card-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.pdm-card-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
}

.pdm-card-no-image svg {
	color: rgba(255, 255, 255, 0.5);
}

/* Status badge */
.pdm-status-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #1E88E5;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 6px;
	letter-spacing: 0.04em;
	z-index: 2;
	backdrop-filter: none;
}

/* Favorite button */
.pdm-card-actions {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 10;
	left: auto;
}

.pdm-action-btn.pdm-favorite-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	z-index: 10;
	padding: 0;
	transition: background 0.2s;
}

.pdm-action-btn.pdm-favorite-btn svg {
	width: 16px;
	height: 16px;
	color: #ef4444;
	fill: none;
	stroke: #ef4444;
	stroke-width: 2;
}

.pdm-action-btn.pdm-favorite-btn.is-active svg {
	fill: #ef4444;
}

/* Card content */
.pdm-card-content {
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.pdm-card-price {
	font-family: 'Archivo', 'Inter', sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: #1E88E5;
	margin-bottom: 2px;
	line-height: 1.2;
}

.pdm-card-address {
	font-size: 13px;
	font-weight: 600;
	color: #1A1A1A;
	margin: 0 0 2px 0;
	line-height: 1.3;
}

.pdm-card-location-type {
	font-size: 12px;
	color: #64748b;
	margin-bottom: 12px;
	display: block;
}

/* Remove the old <hr> divider if still present */
.pdm-card-divider {
	display: none;
}

/* Details row */
.pdm-card-details {
	display: flex;
	gap: 14px;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
	font-size: 12px;
	color: #393E46;
	font-weight: 500;
	margin-top: auto;
}

.pdm-card-details span {
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: 500;
}

.pdm-card-details svg {
	width: 13px;
	height: 13px;
	color: #1E88E5;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	margin-right: 0;
}

/* Hide the old "View Details" button */
.pdm-card-button {
	display: none !important;
}

/* Old detail-item containers (backwards compat) */
.pdm-card-detail-item {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #393E46;
	font-weight: 500;
}

.pdm-card-detail-item svg {
	width: 13px;
	height: 13px;
	color: #1E88E5;
	fill: none;
	margin-right: 0;
}


/* ---------- SKELETON LOADING (updated to match new card) ---------- */

.pdm-property-card.is-loading {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
}

.pdm-property-card.is-loading .pdm-skeleton {
	background-color: #e2e8f0;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

.pdm-property-card.is-loading .pdm-skeleton::after {
	content: '';
	position: absolute;
	top: 0;
	left: -150%;
	width: 150%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: pdm-shimmer 1.5s infinite;
}

.pdm-skeleton-image {
	height: 170px;
	border-radius: 0;
}

.pdm-skeleton-price {
	width: 40%;
	height: 20px;
	margin-bottom: 8px;
}

.pdm-skeleton-address {
	width: 75%;
	height: 13px;
	margin-bottom: 8px;
}

.pdm-skeleton-location {
	width: 50%;
	height: 12px;
	margin-bottom: 12px;
}

.pdm-card-details .pdm-skeleton-detail {
	height: 12px;
	flex-grow: 1;
	border-radius: 4px;
}


/* ---------- GRID ---------- */

.pdm-properties-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 1024px) {
	.pdm-properties-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.pdm-properties-list {
		grid-template-columns: 1fr;
	}
}