/* =====================================================
   Propertype — Component Library
   Reusable patterns for pages & layouts
   ===================================================== */

/* =====================================================
   1. AUTH PAGES (Login / Register)
   ===================================================== */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--space-2xl);
}

.auth-tabs {
    display: flex;
    gap: var(--space-sm);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-xl);
}

.auth-tabs .nav-link {
    flex: 1;
    text-align: center;
}

.auth-type-toggle {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.auth-title {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-primary);
}

.auth-forgot {
    text-align: right;
    margin-top: var(--space-sm);
}

.auth-forgot a {
    font-size: 0.85rem;
    color: var(--accent-primary);
}

/* =====================================================
   2. DASHBOARD LAYOUT
   ===================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.dashboard-sidebar {
    padding: var(--space-lg);
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
}

.dashboard-avatar {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.dashboard-avatar-img {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
}

.dashboard-avatar-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
}

.dashboard-avatar-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.dashboard-name {
    margin-bottom: 4px;
}

.dashboard-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-nav .btn {
    justify-content: flex-start;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-welcome {
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
}

/* Stats Row */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.stat-card {
    padding: var(--space-lg);
    text-align: center;
}

.stat-card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-card-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Activity List */
.activity-list {
    list-style: none;
    padding: 0;
}

.activity-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-glass);
}

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

.activity-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =====================================================
   3. PROPERTY DETAIL PAGE
   ===================================================== */
.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    align-items: flex-start;
}

.property-detail-main {
    min-width: 0;
}

/* Gallery */
.gallery-card {
    padding: 0;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.gallery-main {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-photo-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: white;
}

.gallery-thumbs {
    display: flex;
    gap: 4px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--accent-primary);
}

/* Property Title Block */
.property-title-block {
    margin-bottom: var(--space-xl);
}

.property-title-block h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: var(--space-sm);
}

.property-main-location {
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.property-price-row {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    align-items: flex-end;
}

.property-main-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.property-main-price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.property-price-sqft {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.emi-badge {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.emi-badge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.emi-badge-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-lg);
}

.spec-item-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.spec-item-value {
    font-weight: 700;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amenity-check {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

/* Map container */
.map-container {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =====================================================
   4. CONTACT / INQUIRY SIDEBAR
   ===================================================== */
.contact-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
}

.agent-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.agent-info-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glass);
    flex-shrink: 0;
}

.agent-info-name {
    font-weight: 700;
    color: var(--text-white);
}

.contact-title {
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

/* Share bar */
.share-bar {
    padding: var(--space-lg);
}

.share-bar .flex {
    flex-wrap: wrap;
}

/* WhatsApp button */
.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: white;
}

/* =====================================================
   5. REVIEWS & RATINGS
   ===================================================== */
.reviews-section {
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.reviews-header h2 {
    font-size: 1.3rem;
}

.rating-summary {
    font-size: 1.1rem;
    font-weight: 600;
}

.rating-star {
    color: #f59e0b;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.review-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-glass);
}

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

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-author {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Star Rating Input */
.star-rating-input {
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    gap: var(--space-sm);
}

.star-rating-input label {
    cursor: pointer;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.review-form {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-glass);
}

.review-form h4 {
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

/* =====================================================
   6. SEARCH RESULTS PAGE
   ===================================================== */
.search-layout {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.search-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
}

.search-results {
    flex: 1;
    min-width: 0;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.results-header h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.results-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.results-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.sort-select {
    width: auto;
    padding: 8px 40px 8px 14px;
    font-size: 0.85rem;
}

.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.filter-sidebar-header h3 {
    font-size: 1.1rem;
}

.filter-clear {
    font-size: 0.8rem;
    color: var(--accent-primary);
}

/* =====================================================
   7. EMPTY STATES
   ===================================================== */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.empty-state h3 {
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Success State */
.success-state {
    text-align: center;
    padding: var(--space-3xl);
}

.success-state-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.success-state h2 {
    color: var(--accent-success);
    margin-bottom: var(--space-md);
}

.success-state p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* =====================================================
   8. DATA TABLES
   ===================================================== */
.data-table-wrap {
    overflow-x: auto;
}

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

.data-table th {
    text-align: left;
    padding: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-glass);
    white-space: nowrap;
}

.data-table th.text-center {
    text-align: center;
}

.data-table th.text-right {
    text-align: right;
}

.data-table td {
    padding: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

.data-table td.text-center {
    text-align: center;
}

.data-table td.text-right {
    text-align: right;
}

.data-table tbody tr:hover {
    background: var(--bg-hover);
}

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

.credit-positive {
    font-weight: 700;
    color: var(--accent-success);
}

.credit-negative {
    font-weight: 700;
    color: var(--accent-red);
}

/* =====================================================
   9. PRICING PAGE
   ===================================================== */
.pricing-header {
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    text-align: center;
}

.pricing-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing-grid {
    gap: var(--space-xl);
    align-items: center;
}

.pricing-card {
    padding: var(--space-2xl);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-xl);
}

.pricing-amount.free {
    color: var(--accent-success);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-2xl);
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.feature-list li svg {
    flex-shrink: 0;
}

.feature-list li strong {
    color: var(--text-white);
}

.pricing-cta {
    margin-top: auto;
}

/* =====================================================
   10. CHECKOUT PAGE
   ===================================================== */
.checkout-container {
    max-width: 800px;
    margin: 0 auto;
}

.checkout-title {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

.order-summary {
    padding: var(--space-xl);
    height: fit-content;
}

.order-summary-title {
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: var(--space-sm);
}

.order-package-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-package-details {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-glass);
}

.order-total-label {
    font-weight: 600;
    font-size: 1.2rem;
}

.order-total-amount {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

/* Payment section */
.payment-section {
    padding: var(--space-xl);
}

.payment-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-qr {
    width: 150px;
    height: 150px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: var(--space-md);
}

.payment-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-upi {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.payment-upi-id {
    font-weight: 600;
    font-size: 1.1rem;
}

.payment-upi-name {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-bank {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-glass);
    width: 100%;
    text-align: center;
}

.payment-bank-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.payment-bank-info {
    font-size: 0.9rem;
}

/* File Upload Zone */
.upload-zone {
    border: 2px dashed var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: border-color var(--transition-fast);
}

.upload-zone:hover,
.upload-zone:focus-within {
    border-color: var(--accent-primary);
}

.upload-zone input[type="file"] {
    max-width: 100%;
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* =====================================================
   11. CREDITS PAGE
   ===================================================== */
.credits-balance-card {
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.credits-balance-inner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.credits-balance-icon {
    font-size: 4rem;
}

.credits-balance-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.credits-balance-label {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* =====================================================
   12. PROFILE / SETTINGS PAGE
   ===================================================== */
.profile-section {
    padding: var(--space-2xl);
}

.profile-avatar-upload {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-glass);
}

.profile-avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-primary);
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-preview .avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-muted);
}

.profile-avatar-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.profile-avatar-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.avatar-status {
    font-size: 0.8rem;
    margin-top: 8px;
}

.profile-section-divider {
    margin: var(--space-lg) 0;
    border-top: 1px solid var(--border-glass);
    padding-top: var(--space-lg);
}

.profile-section-divider h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

/* =====================================================
   13. LEADS / INQUIRY CARDS
   ===================================================== */
.leads-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.lead-card {
    padding: var(--space-lg);
}

.lead-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.lead-name {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.lead-contact {
    display: flex;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lead-contact a {
    color: inherit;
    text-decoration: none;
}

.lead-contact a:hover {
    color: var(--accent-primary);
}

.lead-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.lead-property-box {
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
}

.lead-property-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.lead-property-link {
    font-weight: 600;
    color: var(--accent-primary);
    display: block;
    margin-bottom: var(--space-sm);
}

.lead-message {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =====================================================
   14. POST PROPERTY — MULTI-STEP WIZARD
   ===================================================== */
.wizard-steps {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.wizard-step.active {
    color: var(--text-white);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.wizard-step.completed {
    color: var(--accent-primary);
}

.wizard-step-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
}

.wizard-step.active .wizard-step-number {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.wizard-step.completed .wizard-step-number {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-primary);
    border-color: rgba(16, 185, 129, 0.4);
}

.wizard-connector {
    width: 40px;
    height: 2px;
    background: var(--border-glass);
    align-self: center;
}

.wizard-connector.completed {
    background: var(--accent-primary);
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-glass);
}

/* Image Upload Grid */
.image-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--space-md);
}

.image-upload-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

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

.image-upload-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
}

.image-upload-add {
    aspect-ratio: 4/3;
    border: 2px dashed var(--border-glass);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.image-upload-add:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.image-upload-add svg {
    width: 24px;
    height: 24px;
}

/* =====================================================
   15. INNER PAGE HERO (non-homepage)
   ===================================================== */
.page-hero {
    padding: var(--space-3xl) 0 var(--space-xl);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   16. AGENT CARDS (agents listing page)
   ===================================================== */
.agent-card {
    text-align: center;
    text-decoration: none;
    display: block;
}

.agent-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-md);
    border: 3px solid var(--border-glass);
}

.agent-card-name {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-white);
}

.agent-card-stats {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: var(--space-sm) 0;
}

.agent-card-rating {
    color: var(--accent-warm);
    font-size: 0.9rem;
    font-weight: 600;
}

/* =====================================================
   17. CONTACT PAGE
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.9rem;
}

/* =====================================================
   18. RESPONSIVE OVERRIDES FOR COMPONENTS
   ===================================================== */

/* Tablets */
@media (max-width: 1024px) {
    .property-detail-grid {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        height: 300px;
    }

    .contact-sidebar {
        position: relative;
        top: 0;
    }

    .search-sidebar {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0;
        width: 100% !important;
        height: 100vh;
        z-index: 2000;
        overflow-y: auto;
        padding: var(--space-lg);
        background: var(--bg-primary);
    }

    .search-sidebar.open {
        display: block;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: relative;
        top: 0;
    }

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

    .wizard-steps {
        flex-wrap: wrap;
    }

    .wizard-connector {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .gallery-main {
        height: 240px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .property-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .lead-header {
        flex-direction: column;
    }

    .wizard-step {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .profile-avatar-upload {
        flex-direction: column;
        text-align: center;
    }
}
