/* MDC Group - Professional Engineering & Contracting */
:root {
    --color-primary: #c9a227;
    --color-primary-dark: #a8861f;
    --color-primary-light: #e6c04a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a2d3a;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header / Menu Bar */
.landing-header {
    background: #fff;
    border-bottom: 2px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.brand:hover {
    color: var(--color-primary-dark);
}

.brand-logo {
    height: 48px;
    width: auto;
    display: block;
}

.brand-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.brand-slogan {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.landing-nav .nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.9375rem;
}

.landing-nav .nav-link:hover,
.landing-nav .nav-link.active {
    color: var(--color-primary-dark);
}

/* Footer logo */
.footer-logo {
    height: 48px;
    width: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background: var(--color-primary);
    color: #1a1a1a;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-light {
    background: var(--color-primary);
    color: #1a1a1a;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: #1a1a1a;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: #2d2d2d;
    margin: 0 0 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.lead {
    font-size: 1.125rem;
    color: #64748b;
}

.about-preview .about-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.service-card:hover {
    border-color: var(--color-primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin: 0 0 0.5rem;
    color: var(--color-primary-dark);
}

.service-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

.section-alt {
    background: #f8fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-item {
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.why-item h4 {
    margin: 0 0 0.5rem;
    color: var(--color-primary-dark);
}

.why-item p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #1a1a1a;
    text-align: center;
}

.cta-section h2 {
    margin: 0 0 0.5rem;
}

.cta-section p {
    margin: 0 0 1.5rem;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #1a1a1a;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    margin: 0 0 0.5rem;
}

.page-header p {
    margin: 0;
    opacity: 0.9;
}

/* Content Block */
.content-block {
    margin-bottom: 2.5rem;
}

.content-block h2 {
    color: var(--color-primary-dark);
    margin: 0 0 1rem;
}

.services-full {
    display: grid;
    gap: 2rem;
}

.service-block {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.service-block h2 {
    color: var(--color-primary-dark);
    margin: 0 0 1rem;
}

.service-block ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.success { color: #059669; }
.error { color: #dc2626; }

/* Footer */
.main-footer {
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Real Estate Listings */
.listings-section {
    background: #f5f5f5;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.listing-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    cursor: pointer;
}

.listing-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.listing-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.listing-price {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--color-primary);
    color: #1a1a1a;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.listing-price .price-monthly {
    font-weight: 500;
    font-size: 0.85rem;
}

.listing-body {
    padding: 1.25rem;
}

.listing-agent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.agent-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary-light);
}

.agent-info {
    font-size: 0.8125rem;
    color: #64748b;
}

.listing-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.listing-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.listing-location {
    font-size: 0.875rem;
    color: #64748b;
}

.listing-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
}

.listing-badge.sale {
    background: var(--color-primary);
    color: #1a1a1a;
}

.listing-badge.rent {
    background: #fee2e2;
    color: #b91c1c;
}

.listing-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

/* Listing Detail Modal - Modern */
.listing-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.listing-modal[aria-hidden="false"] {
    display: flex;
}

.listing-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 45, 58, 0.85);
    backdrop-filter: blur(4px);
}

.listing-modal-box {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 162, 39, 0.15);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.listing-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #334155;
    transition: background 0.2s, color 0.2s;
}

.listing-modal-close:hover {
    background: #fff;
    color: var(--color-primary-dark);
}

.listing-modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

.listing-modal-gallery {
    flex-shrink: 0;
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
}

.listing-modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    font-size: 1.25rem;
    cursor: pointer;
    color: #1a1a1a;
    z-index: 5;
    transition: background 0.2s, transform 0.2s;
}

.listing-modal-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.listing-modal-prev {
    left: 1rem;
}

.listing-modal-next {
    right: 1rem;
}

.listing-modal-image-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-modal-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.listing-modal-placeholder {
    color: #64748b;
    font-size: 0.9375rem;
}

.listing-modal-info {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 2rem;
}

.listing-modal-info-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
}

.listing-modal-info-scroll::-webkit-scrollbar {
    width: 6px;
}

.listing-modal-info-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.listing-modal-info-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.listing-modal-info-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.listing-modal-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1rem;
    line-height: 1;
}

.listing-modal-title {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.listing-modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.listing-modal-table th,
.listing-modal-table td {
    padding: 0.65rem 0.85rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.listing-modal-table tr:last-child th,
.listing-modal-table tr:last-child td {
    border-bottom: none;
}

.listing-modal-table th {
    font-weight: 600;
    color: #64748b;
    width: 36%;
}

.listing-modal-table td {
    font-weight: 500;
    color: #1e293b;
}

.listing-modal-table #listing-modal-price {
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--color-primary-dark);
}

.listing-modal-counter {
    margin: 1rem 0 0;
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: #94a3b8;
}

@media (max-width: 600px) {
    .listing-modal-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.portfolio-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.portfolio-image-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.portfolio-card h3 {
    margin: 1rem 1.25rem 0.5rem;
    color: var(--color-primary-dark);
}

.portfolio-card p {
    margin: 0 1.25rem 1.25rem;
    color: #64748b;
}

/* Login Panel */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #0f1419;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 162, 39, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(201, 162, 39, 0.08), transparent);
}

.login-panel {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-brand {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.login-brand-logo {
    height: 56px;
    width: auto;
    display: block;
}

.login-tagline {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
}

.login-form-card {
    background: #1a2028;
    border: 1px solid #2d3748;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.login-form-card h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin: 0 0 0.25rem;
}

.login-subtitle {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0 0 1.5rem;
}

.login-error {
    background: rgba(220, 38, 38, 0.15);
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.login-form .form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.login-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0.375rem;
}

.login-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: #0f1419;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #f8fafc;
    transition: border-color 0.2s;
}

.login-form input::placeholder {
    color: #64748b;
}

.login-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-login {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-top: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.login-back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8125rem;
}

.login-back-link:hover {
    color: var(--color-primary);
}

/* Dashboard Layout with Sidebar */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 260px;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid #333;
}

.sidebar-brand a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
}

.sidebar-logo {
    height: 40px;
    width: auto;
    display: block;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.sidebar-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.sidebar-link.active {
    color: var(--color-primary);
    background: rgba(201, 162, 39, 0.15);
    border-left: 3px solid var(--color-primary);
}

.sidebar-footer {
    border-top: 1px solid #333;
    padding: 1rem 0;
}

.dashboard-main {
    flex: 1;
    background: #f5f5f5;
    padding: 2rem;
}

.dashboard-content {
    max-width: 1200px;
}

.dashboard-content h1 {
    margin: 0 0 1.5rem;
}

.dashboard-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.dashboard-card h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.dashboard-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.dashboard-form .form-group {
    margin-bottom: 1rem;
}

.dashboard-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.dashboard-form input,
.dashboard-form select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.dashboard-success {
    background: #d1fae5;
    color: #065f46;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.dashboard-error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-table th {
    font-weight: 600;
    color: #64748b;
}

.muted {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .login-panel {
        max-width: 100%;
    }
}

/* Dashboard Users - Create New User Modal */
.page-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.page-toolbar h1 { margin: 0; font-size: 1.5rem; color: #1a2d3a; }
.users-table-wrap { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); overflow: hidden; }
.users-table { width: 100%; border-collapse: collapse; }
.users-table th, .users-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
.users-table th { background: #f8fafc; font-weight: 600; color: #475569; font-size: 0.875rem; }
.listing-row { cursor: pointer; transition: background 0.15s; }
.listing-row:hover { background: #f8fafc; }
.users-table .empty-state { text-align: center; color: #64748b; padding: 3rem; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.user-avatar-placeholder { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #e2e8f0; color: #64748b; font-size: 0.9rem; }
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal[aria-hidden="false"] { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal-box { position: relative; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid #e2e8f0; }
.modal-header h2 { margin: 0; font-size: 1.25rem; color: #1a2d3a; }
.modal-close { background: none; border: none; font-size: 1.5rem; color: #64748b; cursor: pointer; line-height: 1; padding: 0; width: 32px; height: 32px; }
.modal-close:hover { color: #1a2d3a; }
.modal-body { padding: 1.5rem; }
.modal-footer { display: flex; gap: 0.75rem; justify-content: flex-end; padding: 1rem 1.5rem; border-top: 1px solid #e2e8f0; background: #f8fafc; }
.form-errors { display: none; background: #fef2f2; color: #dc2626; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; white-space: pre-line; }
.form-errors:not(:empty) { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row.three-cols { grid-template-columns: 1fr 1fr 1fr; }
.modal .form-group { margin-bottom: 1rem; }
.modal .form-group:last-child { margin-bottom: 0; }
.modal label { display: block; margin-bottom: 0.25rem; font-weight: 600; font-size: 0.9rem; color: #334155; }
.modal input, .modal textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 1rem; }
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--color-primary); }
.modal input[type="file"] { padding: 0.5rem 0; }

/* Property type toggle - modern segmented control */
.prop-type-toggle {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
}
.prop-type-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.prop-type-toggle label {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
}
.prop-type-toggle input:checked + label {
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.prop-type-toggle label:hover {
    color: #334155;
}

/* Edit listing - current images thumbnails */
.prop-current-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.prop-thumb-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}
.prop-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prop-thumb-delete {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prop-thumb-delete:hover {
    background: #dc2626;
}
.prop-thumb-delete svg {
    display: block;
}

@media (max-width: 560px) { .form-row.three-cols { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }
