/* Equimax Property Portal — front-end styles */
:root{
	--epp-navy:#0d2547;
	--epp-navy-dark:#081a34;
	--epp-gold:#d4a02a;
	--epp-gold-dark:#b98416;
	--epp-border:#e3e6ea;
	--epp-bg:#f5f6f8;
	--epp-text:#28303c;
}

.epp-wrap{ max-width:1200px; margin:0 auto; padding:24px 16px; color:var(--epp-text); }
.epp-card{ background:#fff; border:1px solid var(--epp-border); border-radius:6px; padding:20px; }
.epp-notice{ background:#fff8e6; border:1px solid var(--epp-gold); padding:16px; border-radius:4px; }

/* Buttons */
.epp-btn{ display:inline-flex; align-items:center; gap:6px; padding:10px 18px; border-radius:4px; border:none; font-weight:600; cursor:pointer; text-decoration:none; font-size:14px; }
.epp-btn-gold{ background:var(--epp-gold); color:#fff; }
.epp-btn-gold:hover{ background:var(--epp-gold-dark); color:#fff; }
.epp-btn-dark{ background:var(--epp-navy); color:#fff; }
.epp-btn-outline{ background:transparent; border:1px solid var(--epp-navy); color:var(--epp-navy); }
.epp-full{ width:100%; justify-content:center; margin-top:10px; }
.epp-shortlist-btn.is-active{ background:var(--epp-navy); }

/* Dashboard */
.epp-summary-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin:20px 0 32px; }
.epp-summary-card h3{ margin:0 0 8px; font-size:14px; color:#667; text-transform:uppercase; letter-spacing:.03em; }
.epp-summary-number{ font-size:34px; font-weight:700; color:var(--epp-navy); }

/* Property grid / cards */
.epp-property-grid-cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
.epp-property-card{ display:block; background:#fff; border:1px solid var(--epp-border); border-radius:6px; overflow:hidden; text-decoration:none; color:inherit; transition:box-shadow .15s; }
.epp-property-card:hover{ box-shadow:0 4px 14px rgba(0,0,0,.08); }
.epp-property-card-image{ position:relative; height:170px; background:#e8ebee; }
.epp-property-card-image img{ width:100%; height:100%; object-fit:cover; display:block; }
.epp-card-noimage{ width:100%; height:100%; background:linear-gradient(135deg,#e8ebee,#d7dce2); }
.epp-card-ribbon{ position:absolute; top:10px; left:-6px; background:#c0392b; color:#fff; font-size:11px; font-weight:700; padding:4px 12px; transform:rotate(-8deg); box-shadow:0 2px 4px rgba(0,0,0,.25); }
.epp-property-card-body{ padding:14px; }
.epp-card-price{ font-size:19px; font-weight:700; color:var(--epp-navy); }
.epp-card-title{ font-size:14px; margin:4px 0 10px; color:#445; }
.epp-card-stage{ margin-top:8px; display:inline-block; background:var(--epp-bg); border-radius:3px; padding:2px 8px; font-size:11px; color:#556; }

.epp-spec-icons{ display:flex; gap:14px; font-size:13px; color:#556; }
.epp-spec .dashicons{ font-size:16px; width:16px; height:16px; vertical-align:middle; color:var(--epp-gold); }

/* Filters */
.epp-properties-layout{ display:grid; grid-template-columns:240px 1fr; gap:20px; align-items:start; }
.epp-filters label{ display:block; font-size:12px; margin:10px 0 4px; color:#667; text-transform:uppercase; }
.epp-filters input, .epp-filters select{ width:100%; padding:8px; border:1px solid var(--epp-border); border-radius:4px; }
.epp-reset-link{ display:block; text-align:center; margin-top:10px; font-size:12px; }
@media (max-width:820px){ .epp-properties-layout{ grid-template-columns:1fr; } }

/* Property detail */
.epp-property-grid{ display:grid; grid-template-columns:2fr 1fr; gap:20px; align-items:start; }
@media (max-width:900px){ .epp-property-grid{ grid-template-columns:1fr; } }
.epp-property-header{ display:flex; justify-content:space-between; align-items:baseline; background:var(--epp-navy); color:#fff; margin:-20px -20px 16px; padding:16px 20px; border-radius:6px 6px 0 0; }
.epp-property-header h1{ font-size:18px; margin:0; }
.epp-price{ font-size:20px; font-weight:700; }
.epp-hero{ position:relative; }
.epp-hero-image{ width:100%; max-height:460px; object-fit:cover; display:block; border-radius:4px; }
.epp-ribbon{ position:absolute; top:16px; left:-8px; background:#c0392b; color:#fff; padding:6px 22px; font-weight:700; font-size:12px; transform:rotate(-10deg); z-index:2; box-shadow:0 2px 6px rgba(0,0,0,.3); }
.epp-thumb-strip{ display:flex; gap:8px; margin-top:10px; overflow-x:auto; }
.epp-thumb-strip img{ width:90px; height:64px; object-fit:cover; border-radius:3px; cursor:pointer; }

.epp-actions-bar{ display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }

/* Tabs */
.epp-tab-nav{ display:flex; flex-wrap:wrap; border-bottom:2px solid var(--epp-border); margin-top:10px; }
.epp-tab-btn{ background:none; border:none; padding:10px 16px; cursor:pointer; font-size:14px; color:#556; border-bottom:3px solid transparent; }
.epp-tab-btn.is-active{ color:var(--epp-navy); border-bottom-color:var(--epp-gold); font-weight:700; }
.epp-tab-panel{ display:none; padding:18px 4px; }
.epp-tab-panel.is-active{ display:block; }
.epp-spec-table{ width:100%; border-collapse:collapse; }
.epp-spec-table th, .epp-spec-table td{ padding:9px 6px; border-bottom:1px solid var(--epp-border); font-size:13.5px; text-align:left; }
.epp-spec-table th{ width:44%; color:#667; font-weight:600; }
.epp-gallery-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:8px; }
.epp-gallery-grid img{ width:100%; height:110px; object-fit:cover; border-radius:4px; }
.epp-group-title{ margin:16px 0 6px; color:var(--epp-navy); }
.epp-download-list, .epp-link-list{ list-style:none; margin:0; padding:0; }
.epp-download-list li, .epp-link-list li{ padding:6px 0; border-bottom:1px solid var(--epp-border); }
.epp-download-list a, .epp-link-list a{ color:var(--epp-navy); text-decoration:none; }
.epp-satellite-table{ width:100%; border-collapse:collapse; }
.epp-satellite-table th, .epp-satellite-table td{ padding:10px; border-bottom:1px solid var(--epp-border); text-align:left; }

/* Sidebar */
.epp-property-sidebar h3{ background:var(--epp-navy); color:#fff; margin:-20px -20px 14px; padding:14px 20px; border-radius:6px 6px 0 0; font-size:15px; }
.epp-sidebar-list{ list-style:none; margin:14px 0 0; padding:0; }
.epp-sidebar-list li{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--epp-border); font-size:13.5px; }

/* Kanban */
.epp-kanban{ display:flex; gap:14px; overflow-x:auto; padding-bottom:10px; }
.epp-kanban-column{ background:var(--epp-bg); border-radius:6px; min-width:260px; flex:1; }
.epp-kanban-column-header{ display:flex; justify-content:space-between; padding:12px 14px; font-weight:700; color:var(--epp-navy); border-bottom:3px solid var(--epp-gold); }
.epp-kanban-cards{ min-height:120px; padding:10px; display:flex; flex-direction:column; gap:10px; }
.epp-kanban-card{ background:#fff; border:1px solid var(--epp-border); border-radius:5px; overflow:hidden; cursor:grab; }
.epp-kanban-card img{ width:100%; height:100px; object-fit:cover; display:block; }
.epp-kanban-card-body{ padding:10px; font-size:12.5px; }
.epp-kanban-card-body a{ font-weight:700; color:var(--epp-navy); text-decoration:none; display:block; margin-bottom:4px; }
.epp-kanban-card-body p{ margin:2px 0; }
.epp-progress{ background:#eee; border-radius:3px; height:6px; margin-top:6px; overflow:hidden; }
.epp-progress-bar{ background:var(--epp-gold); height:100%; }
.epp-kanban-cards.epp-drop-hover{ background:#eef2f8; outline:2px dashed var(--epp-gold); }

/* Modals */
.epp-modal{ display:none; position:fixed; inset:0; background:rgba(10,20,40,.55); z-index:9999; align-items:center; justify-content:center; }
.epp-modal.is-open{ display:flex; }
.epp-modal-inner{ background:#fff; width:min(520px,92vw); border-radius:6px; overflow:hidden; max-height:90vh; overflow-y:auto; }
.epp-modal-header{ background:var(--epp-navy); color:#fff; display:flex; justify-content:space-between; align-items:center; padding:14px 18px; }
.epp-modal-header h3{ margin:0; font-size:16px; }
.epp-modal-close{ background:none; border:none; color:#fff; font-size:22px; cursor:pointer; }
.epp-form{ padding:18px; }
.epp-form label{ display:block; font-size:12px; margin:10px 0 4px; text-transform:uppercase; color:#667; }
.epp-form select, .epp-form input[type=text], .epp-form textarea{ width:100%; padding:8px; border:1px solid var(--epp-border); border-radius:4px; }
.epp-modal-actions{ display:flex; gap:10px; margin-top:16px; }
.epp-form-msg{ margin-top:10px; font-size:13px; }
.epp-form-msg.is-success{ color:#1e7e34; }
.epp-form-msg.is-error{ color:#c0392b; }
