/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(-45deg, #0c0c20 0%, #1a0a3e 25%, #16213eee 50%, #0c0a3e 75%, #090915 100%); 
    /* background: linear-gradient(-45deg, #0f0f23 0%, #1a0a3e 25%, #16213e 50%, #1a0a3e 75%, #0f0f23 100%); */
    background-size: 400% 400%;
    background-attachment: fixed;
    background-position: 0% 50%;
    min-height: 100vh;
    color: #e0e0e0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 0%, rgba(102, 126, 234, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(118, 75, 162, 0.12) 0%, transparent 45%);
    pointer-events: none;
    z-index: -1;
}

html, body {
    height: 100%;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */

.navbar {
    background: rgba(20, 20, 40, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.brand-link {
    text-decoration: none;
    color: #a78bfa;
    transition: color 0.3s ease;
}

.brand-link:hover {
    color: #c084fc;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #b0b0c0;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover {
    color: #a78bfa;
    background-color: rgba(102, 126, 234, 0.15);
}

.nav-link-primary {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 100%);
    color: white !important;
}

.nav-link-primary:hover {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    opacity: 1;
}

.nav-user-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-user-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    pointer-events: auto;
}

.nav-user-name {
    font-weight: 600;
    color: #a1a1ac;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-logout {
    display: contents;
}

.nav-logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(26, 10, 62, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(102, 126, 234, 0.05);
    display: none;
    flex-direction: column;
    min-width: 220px;
    z-index: 9999;
    overflow: hidden;
}

.nav-user-menu:hover .user-menu-dropdown {
    display: flex;
}

.user-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #b0b0c0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    text-align: left;
}

.user-menu-link:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #a78bfa;
    padding-left: 1.5rem;
}

.user-menu-link i {
    width: 18px;
    text-align: center;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
    flex: 1;
    padding: 2rem;
    margin-left: 250px;
    margin-top: 60px;
    transition: margin-left 0.3s ease;
    min-height: calc(100vh - 60px);
}

/* ========================================
   AUTHENTICATION STYLES
   ======================================== */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.auth-card {
    background: rgba(26, 10, 62, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3), inset 0 0 32px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
}

.auth-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: #b0b0c0;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Old form styles removed - using centralized dark theme from line 2300+ */

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

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #5566cc7d 0%, #667eeaab 100%);
    color: #77d3ff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85, 102, 204, 0.4);
}

.btn-secondary {
    background-color: rgb(102 126 234 / 39%);
    color: #6fd5ff;
    border: 1px solid rgba(102, 126, 234, 0.8);
}

.btn-secondary:hover {
    background-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-block {
    width: 100%;
}

/* Small Button Variant */
.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 32px;
    height: 32px;
}

.btn-sm:hover {
    transform: translateY(-1px);
}

.btn-sm.btn-secondary {
    background-color: rgb(102 126 234 / 55%);
    color: #b0b0c0;
    border: 1px solid rgba(102, 126, 234, 0.6);
}

.btn-sm.btn-danger {
    background: linear-gradient(135deg, #dc354559 0%, #c82a3959 100%);
    color: #ff9090;
    border: 1px solid rgba(220, 53, 69, 0.5);
}

.btn-sm.btn-danger:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82a39 100%);
    color: #ffffff;
}


/* ========================================
   ALERTS
   ======================================== */

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-danger {
    background-color: #fee;
    border-color: #dc3545;
    color: #721c24;
}

.alert-success {
    background-color: #efe;
    border-color: #28a745;
    color: #155724;
}

.alert p {
    margin: 0.5rem 0;
}

/* ========================================
   PROFILE STYLES
   ======================================== */

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.profile-card {
    background: rgba(26, 10, 62, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2), inset 0 0 32px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 2rem;
}

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

.profile-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-label {
    font-weight: 600;
    color: #a78bfa;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.profile-value {
    font-size: 1rem;
    color: #e0e0e0;
    margin: 0;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-actions,
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.form-hint {
    font-size: 0.875rem;
    color: #999;
    margin-top: 0.25rem;
}

.password-info {
    color: #b0b0c0;
    margin-bottom: 2rem;
}

/* ========================================
   BADGES
   ======================================== */

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-admin {
    background-color: #dc3545;
    color: white;
}

.badge-manager {
    background-color: #fd7e14;
    color: white;
}

.badge-sales {
    background-color: #0dcaf0;
    color: #333;
}

.badge-marketing {
    background-color: #0d6efd;
    color: white;
}

.badge-customer {
    background-color: #198754;
    color: white;
}

.badge-success {
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
    border: 1px solid rgba(76, 175, 80, 0.7);
}

.badge-danger {
    background-color: rgba(239, 83, 80, 0.7);
    color: white;
}

/* ========================================
   DASHBOARD STYLES
   ======================================== */

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgb(87 101 207 / 71%) 0%, rgb(77 96 227 / 30%) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 0px solid rgba(102, 126, 234, 0.4);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15), inset 0 0 20px rgba(102, 126, 234, 0.08);
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.dashboard-subtitle {
    color: rgb(255 255 255 / 51%);
    font-size: 0.8rem;
    font-weight: 400;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: rgba(26, 10, 62, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2), inset 0 0 32px rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 2rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 1rem;
}

.card-text {
    color: #b0b0c0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background-color: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: #b0b0c0;
    font-weight: 600;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: #a78bfa;
}

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

.action-link {
    display: block;
    padding: 0.75rem 1rem;
    background-color: rgba(102, 126, 234, 0.15);
    border-radius: 8px;
    text-decoration: none;
    color: #a78bfa;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.action-link:hover {
    background-color: rgba(102, 126, 234, 0.3);
    color: #c084fc;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content p {
    margin: 0;
}

/* ========================================
   MASTER DATA CONTAINER & SHARED STYLES
   ======================================== */

.filter-card {
    background: rgba(26, 10, 62, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #a78bfa;
    font-size: 0.95rem;
}

.filter-group .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s ease;
}

.filter-group .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card-item {
    background: #2c2c3e4f !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.property-card-link {
    text-decoration: none;
}

.property-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #2c2c3e4f !important;
}

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

.property-card-item:hover .property-card-image img {
    transform: scale(1.08);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-card-title-link {
    text-decoration: none;
    color: inherit;
}

.property-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    transition: color 0.3s ease;
}

.property-card-title-link:hover .property-card-title {
    color: #667eea;
}

.property-card-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.property-type,
.listing-type {
    background: #f0f4ff;
    color: #667eea;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.property-location i {
    color: #667eea;
}

.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #777;
}

.property-specs span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.property-specs i {
    color: #667eea;
}

.property-price {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.property-price p {
    margin: 0;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #667eea;
}

.rent {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.empty-state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: #999;
}

/* Property Detail Header - Managed by resources/css/properties-show.css */

.property-detail-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: #2c2c3e4f !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

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

.property-detail-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.property-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.property-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-primary,
.badge-info,
.badge-success {
    background: rgb(76 175 80 / 37%);
    color: #1ce52e;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

}

.badge-primary {
    background: #667eea;
    color: white;
}

.badge-info {
    background: rgb(0 188 212 / 28%);
    color: #7dddff;
    border: 1px solid rgba(0, 188, 212, 0.7);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.property-price-box {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 8px;
}

.price-label {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.price-value {
    margin: 0.5rem 0 0;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.price-per-unit {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    color: #999;
}

.property-key-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f5f5f51a;
    border-radius: 6px;
    color: #ffffff;
}

.info-item i {
    color: #ffffff;
    font-size: 1.2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn-danger {
    background: #ef505045;
    color: #ffc0a0;
    border: none;
}

.btn-danger:hover {
    background: #e53935;
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.4);
}

/* Property Section */
.property-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.section-content {
    color: #666;
    line-height: 1.6;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.amenity-badge {
    background: #e8eef7;
    color: #667eea;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Image Gallery */
.image-gallery-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.thumbnail-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-image:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

/* Seller Section */
.seller-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.seller-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.seller-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.seller-info {
    flex-grow: 1;
}

.seller-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #333;
}

.seller-role {
    margin: 0 0 0.75rem 0;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}

.seller-info p {
    margin: 0.4rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seller-info i {
    color: #667eea;
    width: 16px;
}

/* Related Properties */
.related-properties-section {
    background: #2c2c3e4f !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

/* Old form-container removed - using centralized dark theme version */

/* Old form-card style removed - using centralized dark glassmorphic theme */

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-section-title i {
    color: #667eea;
}

.required {
    color: #ff6b6b;
}

/* Old form styles removed - using centralized dark theme from line 2300+ */

/* Image Upload Box */
.image-upload-box {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.image-upload-box:hover,
.image-upload-box.dragover {
    border-color: #667eea;
    background: #f9f9ff;
}

.image-upload-box i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.image-upload-box p {
    margin: 0.5rem 0;
    font-weight: 500;
    color: #333;
}

.image-upload-box small {
    color: #999;
}

.image-upload-box input[type="file"] {
    display: none;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

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

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-preview-item:hover .preview-remove {
    opacity: 1;
}

.existing-images {
    margin-bottom: 2rem;
}

.existing-images h4 {
    margin: 0 0 1rem 0;
    color: #333;
}

.alert-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-error ul {
    margin: 0;
    padding-left: 1.5rem;
}

.alert-error li {
    margin-bottom: 0.5rem;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: block;
}

/* Responsive Design for Properties */
@media (max-width: 768px) {
    .property-detail-header {
        grid-template-columns: 1fr;
    }

    .property-detail-image {
        height: 250px;
    }

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

    .filter-row {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   PHASE 3: PROPERTY LISTING STYLES
   ======================================== */

/* Property Creation Form */
.create-property-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.property-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.form-section-active {
    display: block;
}

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

.form-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 1rem;
}

/* Old form styles removed - using centralized dark theme */

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #667eea;
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-upload-area:hover,
.image-upload-area.dragover {
    border-color: #667eea;
    background: #f9f9ff;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: #667eea;
    margin-bottom: 1rem;
}

.image-upload-area p {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.image-upload-area small {
    color: #999;
}

.image-upload-area input[type="file"] {
    display: none;
}

.image-preview-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

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

.preview-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-preview-item:hover .preview-remove {
    opacity: 1;
}

/* Form Navigation */
.form-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
}

.btn-next,
.btn-back {
    padding: 0.75rem 2rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1rem;
}

/* Form Progress */
.form-progress {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Properties Listing */
.properties-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.properties-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.properties-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.properties-header .btn {
    display: inline-block;
    margin-top: 1rem;
}

/* Filters */
.filters-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.filter-select,
.filter-input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: rgba(50, 50, 90, 0.5);
    color: #c0d0e8;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    min-width: 250px;
}

.filter-form .form-control.filter-select {
    width: auto;
    padding: 0.75rem 1rem;
    min-width: 250px;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.property-card-image-link {
    text-decoration: none;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1c1e35 0%, #6462a994 50%);
    color: #999;
    font-weight: 500;
}

.property-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-card-title-link {
    text-decoration: none;
}

.property-card-location {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.location-icon {
    margin-right: 0.5rem;
}

.property-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.spec {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 0.85rem;
}

.spec svg {
    margin-right: 0.4rem;
}

.property-card-price {
    margin-bottom: 1rem;
}

.rent-period {
    font-size: 0.85rem;
    color: #999;
}

.property-card-footer {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Property Detail View */
.property-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.property-gallery-section {
    display: flex;
    flex-direction: column;
}

.main-image-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #f5f5f5;
}

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

.property-details-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.property-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.property-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.property-type,
.property-zone,
.property-listing-type {
    background: #f0f0f0;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.location-icon {
    width: 20px;
    height: 20px;
    color: #667eea;
    flex-shrink: 0;
}

.location-text p {
    margin: 0;
}

.location-full {
    font-weight: 500;
    color: #333;
}

.location-meta {
    color: #999;
    font-size: 0.9rem;
}

.property-pricing {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9f9ff 0%, #f5f5ff 100%);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.price-block h3 {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.property-key-details {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

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

.detail-label {
    font-weight: 600;
    color: #666;
}

.detail-value {
    color: #333;
    font-weight: 500;
}

.property-description h3,
.property-amenities h3,
.property-features h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.property-description p {
    line-height: 1.6;
    color: #666;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
}

.amenity-badge {
    background: #e8eef7;
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.property-features {
    display: grid;
    gap: 1.5rem;
}

.feature-category h4 {
    font-size: 1rem;
    margin-bottom: 0.7rem;
    color: #333;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.seller-info {
    border: 1px solid #eeeeee40;
    border-radius: 8px;
    padding: 1.5rem;
}

.seller-info h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.seller-phone,
.seller-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.seller-phone .icon,
.seller-email .icon {
    width: 16px;
    height: 16px;
}

/* Related Listings */
.related-listings {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.related-listings h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #333;
}

.listing-card {
    text-decoration: none;
    color: inherit;
}

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

    .property-form {
        padding: 1rem;
    }

    .form-section h2 {
        font-size: 1.4rem;
    }

    .page-header h1,
    .properties-header h1 {
        font-size: 1.8rem;
    }

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

    .filter-form {
        grid-template-columns: 1fr;
    }

    .property-detail-grid {
        padding: 1rem;
    }

    .main-image-container {
        height: 250px;
    }

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

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   CENTRALIZED MASTER DATA STYLES
   (Moved from blade @push styles)
   ======================================== */

.master-data-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.action-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.data-table-container {
    background: rgb(47 53 79 / 51%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(102, 126, 234, 0.08);
    margin-bottom: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.data-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    border-spacing: 0;
}

.data-table thead {
    background: linear-gradient(90deg, rgba(75, 110, 190, 0.5) 0%, rgba(85, 120, 200, 0.4) 100%);
    border-bottom: 2px solid rgba(102, 126, 234, 0.5);
}

.data-table th {
    padding: 1.3rem 1.2rem;
    text-align: left;
    font-weight: 700;
    color: #e8eef8;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-right: 1px solid rgba(102, 126, 234, 0.3);
}

.data-table th:last-child {
    border-right: none;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    border-right: 1px solid rgba(102, 126, 234, 0.15);
    color: #c5d2e8;
    font-size: 0.95rem;
}

.data-table td:last-child {
    border-right: none;
}

.data-table tbody tr {
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: rgba(65, 90, 170, 0.2);
}

.data-table tbody tr:last-child td {
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.font-weight-500 {
    font-weight: 500;
    color: #e0e0e0;
}

.text-muted {
    color: #9090a8;
}

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

.form-card {
    background: rgba(35, 35, 70, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.35);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(102, 126, 234, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #b8d4f1;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    margin-right: 0.75rem;
    color: #7fa3d9;
    font-size: 1.1rem;
}

.required-asterisk {
    color: #ff6b6b;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(50, 50, 90, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    color: #c0d0e8;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-form .form-control {
    width: auto;
    min-width: 250px;
}

.form-control:focus {
    outline: none;
    background: rgba(65, 90, 170, 0.2);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 0 15px rgba(102, 126, 234, 0.2);
}

.form-control.is-invalid {
    border-color: #ef5350 !important;
    background: rgba(244, 67, 54, 0.05);
}

.form-control::placeholder {
    color: #7a8a9a;
}

select.form-control {
    cursor: pointer;
    height: 2.77rem;
    padding: 0.75rem !important;
}

select.form-control option {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 0.75rem;
    line-height: 1.5;
}

textarea.form-control {
    resize: vertical;
}

/* ========================================
   SELECT2 STYLING - Dark Theme Integration
   ======================================== */

/* Style the original select element before Select2 initializes */
select.select2 {
    width: 100% !important;
    padding: 0.65rem 1.2rem !important;
    background: rgba(50, 50, 90, 0.5) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 10px !important;
    height: 2.77rem !important;
    color: #e0e0e0 !important;
    font-size: 0.95rem !important;
}

.select2-container {
    width: 100% !important;
    font-family: inherit !important;
}

.select2-container--default .select2-selection--single {
    width: 100% !important;
    padding: 0 !important;
    background: rgba(50, 50, 90, 0.5) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 10px !important;
    height: 2.77rem !important;
    min-height: 2.77rem !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: none !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    outline: none !important;
    background: rgba(65, 90, 170, 0.2) !important;
    border-color: rgba(102, 126, 234, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 0 15px rgba(102, 126, 234, 0.2) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0.65rem 1.2rem !important;
    color: #e0e0e0 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

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

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #c0d0e8 !important;
    cursor: pointer !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 2.77rem !important;
    right: 1rem !important;
    width: auto !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #667eea transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
    margin-top: 0.5rem !important;
}

.select2-dropdown {
    background: #1a1a2e !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    z-index: 9999 !important;
}

.select2-container--default .select2-dropdown--below {
    margin-top: 0.5rem !important;
    border-radius: 10px !important;
}

.select2-dropdown--open {
    border-radius: 10px !important;
}

.select2-results {
    background: #1a1a2e !important;
}

.select2-results__options {
    padding: 0.5rem 0 !important;
}

.select2-results__option {
    padding: 0.65rem 1.2rem !important;
    color: #e0e0e0 !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    line-height: 1.5 !important;
}

.select2-results__option:hover,
.select2-results__option--highlighted,
.select2-results__option--selected {
    background: rgba(102, 126, 234, 0.3) !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: rgba(102, 126, 234, 0.3) !important;
    color: #ffffff !important;
}

.select2-search--dropdown .select2-search__field {
    width: calc(100% - 2rem) !important;
    background: rgba(50, 50, 90, 0.5) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 8px !important;
    color: #e0e0e0 !important;
    padding: 0.65rem 1rem !important;
    margin: 0.5rem !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
}

.select2-search--dropdown .select2-search__field:focus {
    outline: none !important;
    background: rgba(65, 90, 170, 0.2) !important;
    border-color: rgba(102, 126, 234, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
}

.select2-search--dropdown .select2-search__field::placeholder {
    color: #7a8a9a !important;
}

/* Handle invalid state */
.select2-container--default.select2-container--focus.has-error .select2-selection--single {
    border-color: #ef5350 !important;
    background: rgba(244, 67, 54, 0.05) !important;
}

/* Ensure dropdown appears above other content */
.select2-dropdown-custom {
    z-index: 9999 !important;
    position: relative;
}

/* Form group positioning for Select2 */
.form-group {
    position: relative;
}

/* Ensure Select2 container doesn't have hidden overflow */
.select2-container--default {
    font-family: inherit !important;
    width: 100% !important;
}

/* Select2 in form group - ensure full width */
.form-group .select2-container {
    width: 100% !important;
}

.form-group .select2-container--default .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(65, 90, 170, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-wrapper:hover {
    background: rgba(65, 90, 170, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #a78bfa;
    flex-shrink: 0;
}

.checkbox-label {
    color: #e0e0e0;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

.error-message {
    display: block;
    color: #ef5350;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ========================================
   SIDEBAR STYLES - COLLAPSIBLE RESPONSIVE
   ======================================== */

.sidebar {
    position: fixed;
    left: 0;
    top: 60px;
    width: 250px;
    height: calc(100vh - 60px);
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 10, 62, 0.95) 100%);
    color: #e0e0e0;
    z-index: 999;
    overflow-y: auto;
    transition: transform 0.3s ease, width 0.3s ease;
    border-right: 1px solid rgba(102, 126, 234, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.sidebar.collapsed {
    width: 50px;
}

.sidebar.expanded {
    width: 250px;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-content {
    padding: 1rem 0;
}

.sidebar-close {
    display: flex;
    align-items: center;
    justify-content: right;
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(102, 126, 234, 0.2);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    color: #b0b0c0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
    background: rgba(102, 126, 234, 0.25);
    color: #a78bfa;
    border-left-color: #a78bfa;
    padding-left: calc(1rem - 3px);
    box-shadow: inset 0 0 20px rgba(102, 126, 234, 0.1);
}

.sidebar-nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-label {
    flex: 1;
}

.sidebar.collapsed .sidebar-label {
    display: none;
}

.sidebar-section {
    padding: 0.5rem 0;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    margin: 0.5rem 0;
}

.sidebar-section-title {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #a78bfa;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sidebar.collapsed .sidebar-section-title {
    display: none;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
    display: none;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: #a78bfa;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.sidebar-toggle:hover {
    color: #c084fc;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 80px;
}



/* ========================================
   RESPONSIVE SIDEBAR
   ======================================== */

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 60px;
        width: 250px;
        height: calc(100vh - 60px);
        transform: translateX(-100%);
        z-index: 999;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar.collapsed {
        width: 250px;
    }
    
    .sidebar-label {
        display: inline;
    }
    
    .sidebar-section-title {
        display: block;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .sidebar-overlay {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar ~ .main-content {
        margin-left: 0;
    }
}

/* ========================================
   PAGINATION STYLES
   ======================================== */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap;
    justify-content: center;
}

.page-item {
    margin: 0 !important;
}

.page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    background: rgba(102, 126, 234, 0.15) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 6px !important;
    color: #a78bfa !important;
    text-decoration: none !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
}

.page-link:hover {
    background: rgba(102, 126, 234, 0.3) !important;
    border-color: rgba(102, 126, 234, 0.6) !important;
    color: #c084fc !important;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: rgba(102, 126, 234, 0.8) !important;
    color: white !important;
}

.page-item.disabled .page-link {
    background: rgba(102, 126, 234, 0.05) !important;
    border-color: rgba(102, 126, 234, 0.1) !important;
    color: #7a8a9a !important;
    cursor: not-allowed !important;
}

.page-link svg,
.page-link i {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    font-size: 12px !important;
}

/* ========================================
   IMAGE UPLOAD & GALLERY STYLES - ENHANCED
   ======================================== */

/* Two-Column Form Section Layout */
.form-section-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.form-section-double:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-column {
    display: flex;
    flex-direction: column;
}

.form-section-column .form-section-title {
    margin-bottom: 1.5rem;
}

/* Quill Editor Styles */
.quill-editor {
    background: rgba(102, 126, 234, 0.08) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 6px !important;
    padding: 1rem !important;
    min-height: 250px !important;
    color: #e0e0e0 !important;
}

.quill-editor.ql-blank::before {
    color: rgba(224, 224, 224, 0.5) !important;
}

.ql-toolbar {
    background: rgba(102, 126, 234, 0.1) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 6px 6px 0 0 !important;
}

.ql-toolbar.ql-snow .ql-stroke {
    stroke: #a78bfa !important;
}

.ql-toolbar.ql-snow .ql-fill {
    fill: #a78bfa !important;
}

.ql-toolbar.ql-snow button:hover,
.ql-toolbar.ql-snow button.ql-active {
    color: #667eea !important;
}

.ql-toolbar.ql-snow button:hover .ql-stroke,
.ql-toolbar.ql-snow button.ql-active .ql-stroke {
    stroke: #667eea !important;
}

.ql-toolbar.ql-snow button:hover .ql-fill,
.ql-toolbar.ql-snow button.ql-active .ql-fill {
    fill: #667eea !important;
}

.ql-container {
    border: none !important;
}

.ql-editor {
    color: #e0e0e0 !important;
    padding: 1rem !important;
}

.ql-editor.ql-blank::before {
    color: rgba(224, 224, 224, 0.5) !important;
}

/* Main Image Display */
.image-main-display {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.image-main-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7a8a9a;
}

.main-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

/* Thumbnails Container */
.image-thumbnails-container {
    margin-top: 1rem;
}

.thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
}

.image-thumbnails-grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.image-thumbnail-item {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-thumbnail-item:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.image-thumbnail-item:hover img {
    transform: scale(1.1);
}

.image-thumbnail-item .preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-thumbnail-item:hover .preview-remove {
    opacity: 1;
}

/* Add More Button */
.add-image-btn {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 2px dashed rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.add-image-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

/* Checkbox Grid Multi-Column */
.checkbox-grid-multi {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-wrapper:hover {
    background: rgba(102, 126, 234, 0.1);
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-label {
    font-weight: 500;
    color: #e0e0e0;
}

/* Responsive Image Styles */
@media (max-width: 1024px) {
    .form-section-double {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .image-main-display {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .image-main-display {
        height: 200px;
        margin-bottom: 1rem;
    }

    .image-thumbnail-item {
        width: 70px;
        height: 70px;
    }

    .add-image-btn {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .thumbnails-wrapper {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .image-main-display {
        height: 180px;
    }

    .image-thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .add-image-btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
}


/* ============================================ 
   UNIVERSAL CARD SYSTEM - Added Jan 21, 2026
   ============================================ */

/* Universal Card System - Consistent Look and Feel Across All Modules */

/* Base Card Component */
.card {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

/* Dark Theme Card - Used in Property Listings and Details */
.card-dark {
    background-color: #2c2c3e4f !important;
    border-radius: 12px;
    padding: 2rem;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.card-dark .section-title {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-dark .card-description {
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
}

.card-dark .card-content {
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
}

/* Light Theme Card - Used in Profile and Settings */
.card-light {
    background: rgba(26, 10, 62, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2), inset 0 0 32px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 2rem;
}

.card-light .card-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.card-light .card-label {
    font-weight: 600;
    color: #a78bfa;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.card-light .card-value {
    font-size: 1rem;
    color: #e0e0e0;
    margin: 0.5rem 0 0 0;
}

.card-light .card-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

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

/* Seller/Contact Card - Specialized layout for user information */
.card-seller {
    background: #2c2c3e4f !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-seller .seller-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.card-seller .seller-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.card-seller .seller-info {
    flex-grow: 1;
}

.card-seller .seller-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

.card-seller .seller-role {
    margin: 0 0 0.75rem 0;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-seller .seller-info p {
    margin: 0.4rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.card-seller .seller-info i {
    color: #667eea;
    min-width: 1.2rem;
}

.card-seller .seller-contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-seller .seller-contact-link:hover {
    color: #764ba2;
    transform: translateX(4px);
}

/* Property Detail Card - Main container for property info */
.card-property-detail {
    background-color: #2c2c3e;
    border-radius: 12px;
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-property-detail .property-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.card-property-detail .property-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-property-detail .property-location {
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-property-detail .property-price-box {
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
    padding: 1rem;
    border-radius: 4px;
}

.card-property-detail .price-label {
    margin: 0;
    color: #a78bfa;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 600;
}

.card-property-detail .price-value {
    margin: 0.5rem 0 0 0;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.card-property-detail .price-per-unit {
    margin: 0.25rem 0 0 0;
    color: #ddd;
    font-size: 0.9rem;
}

.card-property-detail .property-key-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.card-property-detail .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ddd;
}

.card-property-detail .info-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.card-property-detail .action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Hover Effects for Interactive Cards */
.card:hover {
    transition: all 0.3s ease;
}

.card-light:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3), inset 0 0 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.7);
}

.card-seller:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ============================================ 
   PROPERTY SHOW PAGE STYLES
   ============================================ */

.property-detail-card,
.card-property-detail {
    background-color: #2c2c3e4f !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.property-detail-card .property-title,
.card-property-detail .property-title,
.property-detail-card h1,
.card-property-detail h1 {
    color: #fff !important;
    font-weight: 700 !important;
}

.property-detail-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
}

.property-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.thumbnail-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnail-image:hover {
    border-color: #007bff;
}

.gallery-container {
    padding: 2rem;
    border-top: 1px solid #555;
    background-color: #2c2c3e4f !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.description-content {
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card,
    .card-dark,
    .card-light,
    .card-seller,
    .card-property-detail {
        padding: 1.5rem;
    }

    .card-property-detail .property-title {
        font-size: 1.5rem;
    }

    .card-seller .seller-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .property-detail-header {
        grid-template-columns: 1fr;
    }
}

