
/* property unit card css */

.property-wrapper {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .property-card {
      background-color: var(--bg-white);
      color: var(--text-muted);
      border-radius: 0.75rem;
      overflow: hidden;
      box-shadow: var(--shadow-card);
      width: 100%;
      max-width: 100vh;
      margin: 0 auto;
  }
  .section-container {
    padding: 1.3rem 1rem 1.3rem 1rem;
  }
  .property-img {
    height: 15.625rem;
    overflow: hidden;
    position: relative;
  }
  .property-img .heart {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
  }
  .property-img img {
    
    width: 100%;
  }
  .title {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
  }
  .price {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .aminities {
    display: flex;
    flex-wrap: wrap;
    border-top: 2px solid var(--border-light);
  }
  .aminities .room_count {
    color: var(--text-primary);
    font-weight: 700;
    padding: 0.8rem 0;
  }
  .room {
    display: flex;
    align-items: center;
  }
  .icon {
    margin-right: .5rem;
    margin-top: -0.3rem;
  }
  .room:first-child {
    margin-right: 1rem;
  }
  .contact {
    display: flex;
    background-color: var(--bg-light);
    align-items: center;
  }
  .contact img {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
  }
  .contact_info {
    flex-grow: 1;
    padding-left: 1rem;
  }
  .contact_name {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.3rem;
  }
  .property_code {
    font-size: 1rem;
    margin-bottom: 0px;
  }
  .schedule {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    width: 100%;
    background-color: var(--brand-primary);
    transition: all var(--transition-base);
  }
  .schedule:hover {
    background-color: var(--brand-primary-dark);
  }

/* Unit Card Styles */
.unit-card-image {
    height: 12.5rem;
    object-fit: cover;
}

.unit-agent-photo {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
}

.unit-agent-avatar {
    width: 2.5rem;
    height: 2.5rem;
}

.unit-grid-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* property main card css */

/* ===== MODERN INQUIRE FORM STYLES ===== */

/* Using brandkit variables - these are duplicates and can be removed,
   but kept for backwards compatibility with existing selectors in this file */
:root {
    --primary-color: var(--brand-primary);
    --primary-dark: var(--brand-primary-dark);
    --text-dark: var(--text-primary);
    --text-light: var(--text-muted);
    --border-color: var(--border-light);
    --shadow-sm: var(--shadow-sm);
    --shadow-md: var(--shadow-md);
    --shadow-lg: var(--shadow-lg);
    --transition: var(--transition-base);
}

/* Modern Form Wrapper */
.modern-inquire-wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 50%, #ebe9e4 100%);
    min-height: 100vh;
    padding: 3.75rem 1.25rem;
    position: relative;
    overflow: hidden;
}

/* Floating Shapes Animation */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.floating-shape.shape-1 {
    width: 18.75rem;
    height: 18.75rem;
    background: var(--primary-color);
    top: -6.25rem;
    left: -6.25rem;
    animation: float 6s ease-in-out infinite;
}

.floating-shape.shape-2 {
    width: 12.5rem;
    height: 12.5rem;
    background: var(--primary-dark);
    bottom: 3.125rem;
    right: -5rem;
    animation: float 8s ease-in-out infinite reverse;
}

.floating-shape.shape-3 {
    width: 15.625rem;
    height: 15.625rem;
    background: var(--text-dark);
    top: 50%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

/* Modern Form Header */
.modern-form-header {
    text-align: center;
    margin-bottom: 3.125rem;
    animation: fadeInDown 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.6s ease-out;
}

.header-icon i {
    font-size: 2.5rem;
    color: var(--text-on-primary);
}

.modern-form-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03125rem;
}

.modern-form-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 400;
    max-width: 31.25rem;
    margin: 0 auto;
}

/* Modern Form Card */
.modern-form-card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    padding: 3.125rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.875rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(0.625rem);
}

/* Modern Form Styling */
.modern-inquire-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.section-title::before {
    content: '';
    width: 0.25rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

/* Form Row Grid */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: block;
}

/* Modern Input Fields */
.modern-field {
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1.125rem;
    pointer-events: none;
    transition: var(--transition);
}

.modern-input {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.875rem 0.875rem 0.875rem 3rem;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.modern-input::placeholder {
    color: var(--text-muted);
}

.modern-input:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 0.25rem rgba(243, 193, 48, 0.15), inset 0 0 0 0.03125rem var(--border-color);
}

.modern-input:focus + i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Select Styling */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.select-wrapper i {
    position: absolute;
    right: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}

.modern-select {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.875rem 3rem 0.875rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    transition: var(--transition);
    outline: none;
}

.modern-select:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 0.25rem rgba(243, 193, 48, 0.15);
}

.modern-select:focus ~ i {
    color: var(--primary-color);
    transform: rotate(180deg);
}

/* Textarea Styling */
.textarea-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.textarea-wrapper i {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-light);
    font-size: 1.125rem;
    pointer-events: none;
    transition: var(--transition);
}

.modern-textarea {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.875rem 0.875rem 0.875rem 3rem;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    resize: vertical;
    min-height: 8.75rem;
    max-height: 18.75rem;
}

.modern-textarea::placeholder {
    color: var(--text-muted);
}

.modern-textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 0.25rem rgba(243, 193, 48, 0.15);
}

.modern-textarea:focus ~ i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Price Range */
.price-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.range-separator {
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Error Messages */
.error-text {
    color: var(--color-error);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: block;
}

.alert-error {
    background: linear-gradient(135deg, var(--color-error-light) 0%, var(--color-error-light) 100%);
    border-left: 0.25rem solid var(--color-error);
    color: var(--brand-accent-error-dark);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.alert-error p {
    margin: 0;
    line-height: 1.5;
}

/* Submit Button */
.modern-submit-btn {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
    margin-top: 0.625rem;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-yellow);
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:active {
    transform: translateY(-1px);
}

/* Full Width Field */
.full-width {
    grid-column: 1 / -1;
}

/* Form Footer */
.modern-form-footer {
    text-align: center;
    position: relative;
    z-index: 2;
}

.modern-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    transition: var(--transition);
    background-color: transparent;
}

.modern-back-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(243, 193, 48, 0.1);
    transform: translateX(-0.3125rem);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-1.875rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.875rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .price-range {
        grid-template-columns: 1fr auto 1fr;
    }
}

@media (max-width: 768px) {
    .modern-inquire-wrapper {
        padding: 2.5rem 1rem;
    }

    .modern-form-card {
        padding: 1.875rem 1.25rem;
        border-radius: 1.25rem;
    }

    .modern-form-header {
        margin-bottom: 2.5rem;
    }

    .modern-form-title {
        font-size: 2rem;
    }

    .form-section {
        margin-bottom: 1.875rem;
        padding-bottom: 1.875rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .form-row {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .header-icon {
        width: 4.375rem;
        height: 4.375rem;
    }

    .header-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .modern-inquire-wrapper {
        padding: 1.875rem 0.75rem;
        min-height: auto;
    }

    .modern-form-card {
        padding: 1.25rem 1rem;
        margin-bottom: 1.25rem;
    }

    .modern-form-title {
        font-size: 1.5rem;
    }

    .modern-form-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .input-wrapper i,
    .textarea-wrapper i {
        font-size: 1rem;
    }

    .modern-input,
    .modern-select,
    .modern-textarea {
        font-size: 0.9rem;
        padding-left: 2.5rem;
    }

    .select-wrapper i {
        right: 0.75rem;
    }

    .price-range {
        grid-template-columns: 1fr auto 1fr;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .modern-submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .header-icon {
        width: 3.75rem;
        height: 3.75rem;
    }

    .header-icon i {
        font-size: 1.75rem;
    }
}

/* ===== END MODERN INQUIRE FORM STYLES ===== */

/* =================================================================
   BUTTON AND LINK STYLES - Proper Color Contrast
   ================================================================= */

/* Dark buttons should have light text */
.btn-dark a,
.btn-primary a,
.btn-secondary a,
.btn-success a {
    color: var(--text-on-primary) !important;
    text-decoration: none;
}

.btn-dark a:hover,
.btn-primary a:hover,
.btn-secondary a:hover,
.btn-success a:hover {
    color: var(--text-on-primary) !important;
    text-decoration: none;
}

/* Light buttons should have dark text */
.btn-light a,
.btn-outline-secondary a,
.btn-outline-primary a,
.btn-outline-dark a {
    color: var(--text-primary) !important;
    text-decoration: none;
}

.btn-light a:hover,
.btn-outline-secondary a:hover,
.btn-outline-primary a:hover,
.btn-outline-dark a:hover {
    color: var(--text-primary) !important;
    text-decoration: none;
}

/* Warning button with proper contrast - use dark text */
.btn-warning a {
    color: var(--text-primary) !important;
    text-decoration: none;
    font-weight: bold;
}

.btn-warning a:hover {
    color: var(--brand-black) !important;
    text-decoration: none;
}

/* Property Card Styles - Using Brandkit Colors */
.property-card {
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.property-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.property-card-image-section {
    height: 13.75rem;
    overflow: hidden;
    background: var(--brand-grey-100, #F4F4F4);
}

.property-card-image {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card-image:hover {
    transform: scale(1.05);
}

.property-card-status-badge {
    background: var(--brand-accent-success, #2E7D32);
    color: var(--brand-white, white);
}

.property-card-units-badge {
    background: var(--brand-tertiary-800, #1C1B20);
    color: var(--brand-white, white);
}

.property-card-title {
    color: var(--brand-black, #1C1B20);
    font-size: 1.1rem;
}

.property-card-address {
    color: var(--brand-grey-300, #C2C2C2);
}

.property-card-location-icon {
    color: var(--brand-grey-300, #C2C2C2);
}

.property-card-spec-badge {
    background: var(--brand-grey-100, #F4F4F4);
    color: var(--brand-tertiary-600, #4D5368);
    font-weight: 500;
    border: 1px solid var(--brand-grey-200, #E4E4E4);
}

.property-card-spec-icon {
    color: var(--brand-tertiary-600, #4D5368);
}

.property-card-code-badge {
    background: var(--brand-grey-100, #F4F4F4);
    color: var(--brand-tertiary-600, #4D5368);
    font-weight: 500;
    border: 1px solid var(--brand-grey-200, #E4E4E4);
}

.property-card-view-btn {
    background: #2f3753 !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: 1px solid #4D5368 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1) !important;
}

.property-card-view-btn:hover {
    background: #4D5368 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15) !important;
}

.property-card {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.property-image-section {
    height: 13.75rem;
    overflow: hidden;
    background: var(--brand-grey-100, #F4F4F4);
}

.property-image {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-image:hover {
    transform: scale(1.05);
}

.property-status-badge {
    background: var(--brand-accent-success, #2E7D32);
    color: var(--brand-white, white);
}

.property-units-badge {
    background: var(--brand-tertiary-800, #1C1B20);
    color: var(--brand-white, white);
}

.property-divider {
    opacity: 0.1;
}

.property-listed-icon {
    color: var(--brand-grey-300, #C2C2C2);
}

/* =================================================================
   PROPERTY ALL PAGE - Navigation and Header Styles
   ================================================================= */

.property-nav-btn {
    background: #2f3753 !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: 1px solid #4D5368 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1) !important;
}

.property-nav-btn:hover {
    background: #4D5368 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.property-nav-btn.active {
    background: #F3C130 !important;
    color: #1C1B20 !important;
    border-color: #F3C130 !important;
    box-shadow: 0 0.125rem 0.5rem rgba(243, 193, 48, 0.35);
}

.page-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

/* =================================================================
   FORM SECTION STYLES - Add/Edit Property Forms
   ================================================================= */

.form-section-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.section-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem 1rem 0 0;
    margin: -1px -1px 0 -1px;
}

.submit-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
    font-weight: 600;
    border: none;
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(251, 191, 36, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.375rem 1.25rem rgba(251, 191, 36, 0.5);
    color: #1a1a1a;
}

/* =================================================================
   UNIT DETAILS PAGE STYLES
   ================================================================= */

.detail-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

/* Image container - fixed height for consistency */
.unit-detail-image-container {
    height: 24rem;
    overflow: hidden;
}

.unit-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unit-detail-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f4f4f4 0%, #e4e4e4 100%);
    color: #9ca3af;
}

.unit-detail-image-placeholder i {
    color: #d1d5db;
}

.unit-detail-image-placeholder p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.detail-label {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
}

.spec-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f5f9 100%);
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 0.75rem rgba(0,0,0,0.08);
}

.spec-card-icon {
    color: var(--brand-primary, #F3C130);
}

.nav-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: white;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.75rem rgba(30, 58, 138, 0.4);
    color: white;
}

/* =================================================================
   INQUIRE NAVIGATION STYLES
   ================================================================= */

.inquire-nav-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: white;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.5rem rgba(30, 58, 138, 0.3);
}

.inquire-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.75rem rgba(30, 58, 138, 0.4);
    color: white;
}

.inquire-nav-btn.active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
    box-shadow: 0 0.25rem 0.75rem rgba(251, 191, 36, 0.4);
}

/* =================================================================
   UNITS LIST STYLES
   ================================================================= */

.unit-list-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.unit-list-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.12);
}

.unit-status-badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* =================================================================
   UNITS OF PROPERTY PAGE STYLES
   ================================================================= */

/* Page Header */
.units-page-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.units-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.units-page-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Unit Card Styles */
.unit-card {
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.unit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.unit-card-header {
    background: linear-gradient(135deg, var(--brand-tertiary-700) 0%, var(--brand-tertiary-800) 100%);
    padding: 0.875rem 1rem;
    color: var(--text-on-primary);
}

.unit-code {
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-white);
}

/* Unit Status Pills */
.unit-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.unit-status-pill.status-occupied {
    background-color: var(--color-success);
    color: var(--brand-white);
}

.unit-status-pill.status-vacant {
    background-color: var(--color-error);
    color: var(--brand-white);
}

.unit-status-pill.status-soon {
    background-color: var(--color-warning);
    color: var(--brand-black);
}

.unit-status-pill.status-booked {
    background-color: var(--color-info);
    color: var(--brand-white);
}

.unit-status-pill.status-unknown {
    background-color: var(--brand-grey-300);
    color: var(--brand-black);
}

/* Unit Details */
.unit-details {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.unit-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    border-bottom: 1px dashed var(--border-light);
}

.unit-detail-row:last-child {
    border-bottom: none;
}

.unit-detail-row .detail-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.unit-detail-row .detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Unit Description */
.unit-description {
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    border-left: 3px solid var(--brand-primary);
}

/* Empty State */
.units-empty-state {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: 1rem;
    padding: 3rem;
    border: 2px dashed var(--border-light);
}

.units-empty-state .empty-icon {
    width: 5rem;
    height: 5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.units-empty-state .empty-icon i {
    font-size: 2.5rem;
    color: var(--brand-grey-300);
}

.units-empty-state h3 {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .units-page-header {
        padding: 1rem;
    }

    .units-page-title {
        font-size: 1.25rem;
    }

    .unit-card-header {
        padding: 0.75rem;
    }

    .unit-code {
        font-size: 0.875rem;
    }

    .unit-status-pill {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
}

/* =================================================================
   PROPERTY CARD COMPACT STYLES
   ================================================================= */

.property-card-compact {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.25s ease;
}

.property-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.12) !important;
}

.property-card-img-wrapper {
    height: 8rem;
    overflow: hidden;
}

.property-card-img-wrapper .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card-compact:hover .card-img-top {
    transform: scale(1.05);
}

.property-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@media (max-width: 575.98px) {
    .property-card-img-wrapper {
        height: 6rem;
    }
}

/* =================================================================
   COMPACT UNIT CARD STYLES
   ================================================================= */

.compact-unit-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    height: 100%;
}

.compact-unit-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.compact-unit-card a {
    display: block;
    height: 100%;
    text-decoration: none;
}

/* Status Badge */
.compact-unit-status {
    padding: 0.375rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.compact-unit-status i {
    font-size: 0.625rem;
}

.compact-unit-status.status-vacant {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

.compact-unit-status.status-booked {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
    color: #fff;
}

.compact-unit-status.status-vacant_soon {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: #212529;
}

.compact-unit-status.status-occupied {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #fff;
}

.compact-unit-status.status-unknown,
.compact-unit-status.status-none {
    background: #e9ecef;
    color: #6c757d;
}

/* Card Content */
.compact-unit-content {
    padding: 0.75rem;
}

.compact-unit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.compact-unit-no {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}

.compact-unit-type {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.compact-unit-info {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
}

.compact-unit-info .info-item {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.compact-unit-info .info-item i {
    font-size: 0.625rem;
    color: #adb5bd;
}

.compact-unit-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.compact-unit-price .price-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #198754;
}

.compact-unit-price .price-currency {
    font-size: 0.6875rem;
    color: #6c757d;
}

.compact-unit-date {
    font-size: 0.6875rem;
    color: #6c757d;
    margin-top: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.compact-unit-date i {
    color: #adb5bd;
}

@media (max-width: 575.98px) {
    .compact-unit-content {
        padding: 0.625rem;
    }
    .compact-unit-no {
        font-size: 0.875rem;
    }
    .compact-unit-price .price-amount {
        font-size: 0.875rem;
    }
}

/* =================================================================
   UNIT MINI CARD - Ultra Compact Design
   ================================================================= */

.unit-mini-card {
    background: #fff;
    border-radius: 0.375rem;
    padding: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.unit-mini-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    border-color: #667eea;
}

/* Row 1: Unit No + Status */
.unit-mini-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.unit-mini-no {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #212529;
}

.unit-mini-status {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    letter-spacing: 0.03em;
}

.unit-mini-status.status-vacant {
    background: #28a745;
    color: #fff;
}

.unit-mini-status.status-booked {
    background: #dc3545;
    color: #fff;
}

.unit-mini-status.status-vacant_soon {
    background: #ffc107;
    color: #212529;
}

.unit-mini-status.status-occupied {
    background: #6c757d;
    color: #fff;
}

.unit-mini-status.status-unknown {
    background: #e9ecef;
    color: #6c757d;
}

/* Row 2: Type + Specs */
.unit-mini-specs {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.unit-mini-type {
    background: #f8f9fa;
    padding: 0.0625rem 0.25rem;
    border-radius: 0.1875rem;
    font-weight: 500;
    color: #495057;
}

.unit-mini-specs span i {
    margin-right: 0.125rem;
    color: #adb5bd;
    font-size: 0.5625rem;
}

/* Row 3: Price + Date */
.unit-mini-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unit-mini-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #198754;
}

.unit-mini-price small {
    font-size: 0.5625rem;
    font-weight: 400;
    color: #6c757d;
}

.unit-mini-date {
    font-size: 0.625rem;
    color: #6c757d;
}

.unit-mini-date i {
    margin-right: 0.125rem;
    color: #adb5bd;
}

@media (max-width: 575.98px) {
    .unit-mini-card {
        padding: 0.375rem;
    }
    .unit-mini-no {
        font-size: 0.8125rem;
    }
    .unit-mini-specs {
        font-size: 0.625rem;
    }
    .unit-mini-price {
        font-size: 0.75rem;
    }
}

/* =================================================================
   TEMP PROPERTY TABLE STYLES
   ================================================================= */

.temp-property-table {
    font-size: 0.875rem;
}

.temp-property-table th {
    font-weight: 600;
    white-space: nowrap;
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem 0.5rem;
}

.temp-property-table td {
    padding: 0.625rem 0.5rem;
    vertical-align: middle;
}

.temp-property-table .cell-wrap {
    max-width: 9rem;
    word-wrap: break-word;
    white-space: normal;
}

.temp-property-table .cell-location {
    max-width: 7.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.temp-property-table tr:hover {
    background-color: #f8f9fa;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.status-pending,
.status-not_verified {
    background: #fef3c7;
    color: #92400e;
}

.status-link_sent {
    background: #dbeafe;
    color: #1e40af;
}

.status-owner_editing {
    background: #ede9fe;
    color: #5b21b6;
}

.status-otp_sent {
    background: #ffedd5;
    color: #c2410c;
}

.status-verified,
.status-pushed_to_main {
    background: #dcfce7;
    color: #166534;
}

.status-expired {
    background: #f3f4f6;
    color: #4b5563;
}

.status-invalid_phone,
.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* Mobile responsive table */
@media (max-width: 768px) {
    .temp-property-table {
        font-size: 0.8125rem;
    }

    .temp-property-table th,
    .temp-property-table td {
        padding: 0.5rem 0.375rem;
    }

    .temp-property-table .cell-wrap {
        max-width: 6rem;
    }

    .temp-property-table .d-none-mobile {
        display: none !important;
    }

    .status-badge {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.375rem;
    }
}

/* =================================================================
   PROPERTY LISTINGS PAGE STYLES
   ================================================================= */

/* Page Header */
.listings-header {
    padding: 1rem 0;
}

.listings-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 0.25rem;
}

.listings-subtitle {
    color: #6b7280;
    font-size: 0.9375rem;
    margin: 0;
}

/* Stats Badges Row */
.listings-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.listings-stats .stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.listings-stats .stat-badge i {
    font-size: 0.875rem;
}

.stat-badge-verified {
    background: #dcfce7;
    color: #166534;
}

.stat-badge-verified:hover,
.stat-badge-verified.active {
    background: #22c55e;
    color: white;
}

.stat-badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.stat-badge-pending:hover,
.stat-badge-pending.active {
    background: #f59e0b;
    color: white;
}

.stat-badge-total {
    background: #e0e7ff;
    color: #3730a3;
}

.stat-badge-total:hover,
.stat-badge-total.active {
    background: var(--brand-blue, #414a6b);
    color: white;
}

/* Filter Section */
.filter-section {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Listings Table Wrapper */
.listings-table-wrapper {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.listings-table {
    margin-bottom: 0;
}

.listings-table thead th {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
}

.listings-table tbody td {
    padding: 0.625rem 0.5rem;
    vertical-align: middle;
    font-size: 0.875rem;
}

.listings-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Type Badge */
.type-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Price Cell */
.cell-price {
    font-weight: 600;
    color: #166534;
}

/* Date Cell */
.cell-date {
    font-size: 0.8125rem;
    color: #6b7280;
}

/* ID Cell */
.cell-id {
    font-family: monospace;
    font-size: 0.75rem;
    color: #6b7280;
}

/* View Button */
.btn-view {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.empty-state h5 {
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Mobile Responsive - Property Listings */
@media (max-width: 767.98px) {
    .listings-header {
        text-align: center;
    }

    .listings-title {
        font-size: 1.375rem;
    }

    .listings-stats {
        justify-content: center;
    }

    /* Hide the "Total" badge on mobile - keep only 2 links */
    .listings-stats .stat-badge-total {
        display: none !important;
    }

    .listings-stats .stat-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }

    .filter-section {
        padding: 0.75rem;
    }

    .listings-table thead th,
    .listings-table tbody td {
        padding: 0.5rem 0.375rem;
    }

    .btn-view {
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
    }

    .btn-view .me-1 {
        display: none;
    }
}
