.page-header-menu{
position: fixed;
z-index: 200;
background-color: #ffffff;
width: 85.1%;
height: 50px;
display: inline-flex;
top: 0;
  right:0;
border-bottom: 1px solid #e2e1de;
}
.menu-btn{
font-size: 26px;
margin: 0 0 0 10px;
cursor: pointer;
transition: transform 2s ease, color 1s ease;
color:#141f33;
display: flex;
align-content: center;
align-items: center;
height: 50px;
}
.menu-btn:hover{
 transform: scale(1.1);
 color: #000000;
}
.menu-container,
.auth-menu-container{position: fixed;height: calc(100vh - 60px);width: 15%;border: 1px solid #e2e1de;background: white;top: 55px;}
.menu-container{position: absolute;left: 0;top: 0;height: calc(100vh - 4px);}
.menu-logo{
width: 100%;
text-align: center;
padding: 5px 0 0 0;
font-size: 25px;
font-weight: 699;
font-family: Playfair Display;
color: blue;
}
.menu-logo img{
width: 50px;
position: relative;
top: -14px;
left: 10px;
}
.auth-menu-container{
border-radius: 5px;
right: 1%;
 box-shadow: -2px 1px 6px 1px #a4a4a461;}

.active-auth-menu{
box-shadow: -1px 1px 3px 1px #4b4b4bab;
right: 2px !important;
}
#menu-container.active-menu{
 left: 0;  
animation: main 1s;
    
}
@keyframes main {
  0%   {left: -250px; }
  100% {left: 0px;  }
}
.user-menu-nav,
.menu-inner-container{
display:grid;
height: 60%;
grid-auto-rows: 1fr;
}
.menu-inner-container{
padding-top: 20px;
}

/* items */
.menu-item,
.user-menu-item{
display: flex;
align-items: center;
gap: 14px;
height: 35px;
margin: 6px 14px;
padding: 0 16px;
font-size: 14px;
color: #2c2c2c;
border-radius: 12px;
cursor: pointer;
transition: .25s;
}

/* icons */
.menu-item svg,
.user-menu-item svg{
width:20px;
height:20px;
display:flex;
align-items:center;
justify-content:center;
border-radius:4px;
background:#ffffff;
color:#000c7d;
}

/* hover */
.menu-item:hover,
.user-menu-item:hover{
background:#f1f4ff;
transform:translateX(4px);
color:#3040ff;
}
.login-menu-wrapper svg,
.menu-btn svg{
 width:25px;
height:25px;
}


/* active link */
#menu-container .is-active{
background:#e9edff;
color:#2330d8;
font-weight:600;
}
.login-menu-wrapper{
height: 50px;
display: flex;
justify-content: center;
align-items: center;
margin-right: 10px;  
}

#menu-notification{
color: red;
position: relative;
left: 5px
}
#menu-notification i{
 color: #f0f0f0;
position: relative;
font-size: 8px;
top: 3px;
border-radius: 50%;
background: red;
padding: 5px;
box-shadow: 1px 1px 4px 1px #666666bd;
animation: colorChange 0.3s ease infinite;
}
@keyframes colorChange {  
  0% { transform: rotate(10deg); }
    50% { transform: rotate(-10deg); }
    100% { transform: rotate(10deg); }
}    
#login-menu{
transition: transform 2s ease, color 1s ease;
background: #e1e1e100;
color: #141f33;
}
#login-menu i{
 font-size: 26px
}
#login-menu i:hover{
color: #2d309e;
cursor: pointer;
transition: 1s;
}
#message{
position: relative;
}
.message-notification {
 position: absolute;
 top: -35px;
 right: 0px;
 color: #ffffff;
 height: 20px;
 margin-right: 30px;
}
.message-notification .layout-content{
 background: red;
padding: 5px 15px;
border-radius: 20px;
 font-size: 12px;
}
.user-menu-item.message:after{
padding: 5px;
width: 10px;
color: white;
background: red;
}
.auth-menu img,
.auth-menu{
width: 35px;
 height: 35px
}

.user-menu-wrapper{
 position: relative;
 display: flex;
 flex-direction: column;
 align-items: center;
 min-height: 110px;
 color: #5b5b5b;
 font-size: 14px;
 border-bottom: 1px solid lavender;
}
.user-menu-container::before{
 background-size: 100%;
 position:absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-position:cover;
 opacity: 0.3;
 z-index: -1;
 content:"";
}

.user-menu-container{
 position: relative;
 height: 130px;
 width: 94%;
 text-align: center;
 z-index:1;
 position: relative;
 padding: 25px;
 margin: 5px;
 border-radius: 8px;
 color: #111111;
 }
.user-image-container img, 
.user-image-container svg{
 width: 32px;
 height:32px;
 position:absolute;
 left: 10px;
 top: 25px;
 box-shadow: 0px 1px 5px 1px #b8b8b8ad;
 border-radius: 50px;
 padding: 5px;
 background: #f3f3f3;
}
.user-name-line{
 font-size: 14px;
 color: #002a87;
 text-transform: capitalize;
}
.user--line{
font-size: 12px;
  color: #646464;
 padding-left: 20px;
}
.line-member {
 font-size: 11px;
   color: #8b8b8b;
}
.line-role{
 font-style: italic;
 color: #2563eb;
 text-transform: capitalize;
}
.login-container{
 border-top: 1px solid #c0bdbd;
  border-bottom: 1px solid #c0bdbd;
 margin: 10px 0;
}
.messages__wrapper{
position:absolute
}
.page{
width: 98%;
margin: 0 1%;
margin-top: 60px;
height: calc(100vh - 60px);
overflow-y: auto;
scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE and Edge */
}

.page::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, Opera */
}
.moderator-main-wrapper{
width: 85%;
float: right;
margin-top: 50px;
background: #f4f4f4;
}
.user-management-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.user-management-container h1 {
  margin-bottom: 24px;
  color: #333;
}

.table-controls {
  display: flex;
  margin-bottom: 20px;
  gap: 15px;
  position: absolute;
  top: 10px;
  flex-direction: row-reverse;
  right: 30px;
  align-items: center;
}

.search-input {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 300px;
  font-size: 14px;
}

.total-count {
  color: #666;
  font-size: 14px;
  width: 200px;
}

.users-table-wrapper {
  overflow-x: auto;
}

.users-container {
  width: 100%;
  overflow-x: auto;
  background: white;
  text-align: center;
}

.users-grid {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto auto auto auto;
  gap: 0;
  border-bottom: 1px solid #c8c8c8;
  font-size: 12px;
}

.users-grid.header {
  background: #f5f5f5;
  font-weight: 600;
  position: sticky;
  top: 0;
}

.users-grid > div {
  padding: 12px 1px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Column widths */
.users-grid > div:nth-child(1) {width: 30px;}  /* ID */
.users-grid > div:nth-child(2) {min-width: 100px;} /* Name */
.users-grid > div:nth-child(3) {min-width: 150px;} /* Email */
.users-grid > div:nth-child(4) {width: 90px;} /* Phone */
.users-grid > div:nth-child(5) {width: 70px;} /* Membership */
.users-grid > div:nth-child(6) {min-width: 80px;} /* Roles */
.users-grid > div:nth-child(7) {width: 70px;} /* Created */
.users-grid > div:nth-child(8) {width: 70px;} /* Last Login */
.users-grid > div:nth-child(9) {width: 50px;} /* Status */
.users-grid > div:nth-child(10) {width: 70px;} /* Actions */

.user-name {
  font-weight: 500;
  color: #007bff;
  cursor: pointer;
}

.user-name:hover {
  text-decoration: underline;
}

/* Badges */
.membership-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.membership-badge.basic { background: #e3f2fd; color: #1976d2; }
.membership-badge.gold { background: #fff3e0; color: #ef6c00; }
.membership-badge.diamond { background: #e8f5e9; color: #2e7d32; }
.membership-badge.platinum { background: #f3e5f5; color: #7b1fa2; }
.membership-badge.none { background: #f5f5f5; color: #999; }

.role-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #e0e0e0;
  border-radius: 4px;
  font-size: 11px;
  margin: 2px;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.active { background: #e8f5e9; color: #2e7d32; }
.status-badge.blocked { background: #ffebee; color: #c62828; }

.delete-btn {
  padding: 6px 12px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.3s;
}

.delete-btn:hover:not(:disabled) {
  background: #c82333;
}

.delete-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.protected-badge {
  padding: 6px 12px;
  background: #e9ecef;
  color: #6c757d;
  border-radius: 4px;
  font-size: 12px;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 50px;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error State */
.error-state {
  text-align: center;
  padding: 50px;
  background: #f9f9f9;
  border-radius: 8px;
  color: #dc3545;
}

.retry-btn {
  margin-top: 15px;
  padding: 8px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
 /* Summary Cards */
    .summary-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      margin-bottom: 24px;
    }

    .summary-card {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      padding: 20px;
      border-radius: 12px;
      color: white;
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .summary-card.warning {
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

    .card-icon {
      font-size: 40px;
    }

    .card-info h3 {
      font-size: 28px;
      margin: 0;
    }

    .card-info p {
      margin: 5px 0 0;
      opacity: 0.9;
      font-size: 14px;
    }

    /* Filters */
    .filters-bar {
    display: inline-flex;
    gap: 15px;
    flex-direction: row;
    }

    .search-input {
      flex: 1;
      min-width: 200px;
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
    }

    .filter-select {
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      background: white;
      cursor: pointer;
    }

    /* IP Analysis Section */
    .ip-analysis-section {
      background: #f8f9fa;
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 24px;
    }

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

    .ip-card {
      background: white;
      border-radius: 10px;
      padding: 15px;
      border-left: 4px solid #ffc107;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .ip-card.suspicious {
      border-left-color: #dc3545;
      background: #fff5f5;
    }

    .ip-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
      padding-bottom: 8px;
      border-bottom: 1px solid #eee;
    }

    .ip-address {
      font-family: monospace;
      font-weight: bold;
      color: #007bff;
    }

    .user-count {
      background: #e9ecef;
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 500;
    }

    .user-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .user-chip {
      background: #e9ecef;
      padding: 4px 10px;
      border-radius: 16px;
      font-size: 12px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .user-chip:hover {
      background: #dee2e6;
    }

    /* Users Table */
    .users-table-wrapper {
      background: white;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .table-container {
      overflow-x: auto;
    }

    .users-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }

    .users-table th,
    .users-table td {
      padding: 12px 10px;
      text-align: left;
      border-bottom: 1px solid #eee;
    }

    .users-table th {
      background: #f5f5f5;
      font-weight: 600;
      position: sticky;
      top: 0;
    }

    .users-table tbody tr:hover {
      background: #f9f9f9;
    }

    .user-name {
      font-weight: 500;
      color: #007bff;
      cursor: pointer;
    }

    .user-name:hover {
      text-decoration: underline;
    }

    /* Badges */
    .membership-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 500;
    }

    .membership-badge.basic { background: #e3f2fd; color: #1976d2; }
    .membership-badge.gold { background: #fff3e0; color: #ef6c00; }
    .membership-badge.diamond { background: #e8f5e9; color: #2e7d32; }
    .membership-badge.platinum { background: #f3e5f5; color: #7b1fa2; }
    .membership-badge.none { background: #f5f5f5; color: #999; }

    .role-badge {
      display: inline-block;
      padding: 2px 8px;
      background: #e0e0e0;
      border-radius: 4px;
      font-size: 11px;
    }

    .ip-badge {
      font-family: monospace;
      background: #f0f0f0;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 11px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .ip-badge:hover {
      background: #e0e0e0;
    }

    .view-btn {
      padding: 5px 12px;
      background: #007bff;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 11px;
      transition: background 0.2s;
    }

    .view-btn:hover {
      background: #0056b3;
    }

    /* States */
    .loading-state, .error-state, .empty-state {
      text-align: center;
      padding: 50px;
    }

    .spinner {
      border: 3px solid #f3f3f3;
      border-top: 3px solid #007bff;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 0 auto 15px;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .error-state {
      color: #dc3545;
    }

    .retry-btn {
      margin-top: 15px;
      padding: 8px 20px;
      background: #007bff;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .empty-table {
      text-align: center;
      padding: 30px;
      color: #999;
    }

    /* Properties Grid */
    .properties-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
      gap: 24px;
    }

    .property-card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.2s, box-shadow 0.2s;
    }

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

    .property-card.high-risk {
      border-left: 4px solid #dc3545;
    }

    .property-card.medium-risk {
      border-left: 4px solid #ffc107;
    }

    /* Risk Banner */
    .risk-banner {
      background: #dc3545;
      color: white;
      padding: 8px 12px;
      text-align: center;
      font-weight: bold;
      font-size: 12px;
    }

    .risk-banner.medium {
      background: #ffc107;
      color: #333;
    }

    .risk-banner.low {
      background: #28a745;
    }

    /* Property Header */
    .property-header {
      padding: 16px;
      background: #f8f9fa;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .property-header h3 {
      margin: 0;
      font-size: 18px;
    }

    .property-id {
      font-size: 12px;
      color: #999;
    }

    /* Property Details */
    .property-details {
      padding: 16px;
      border-bottom: 1px solid #eee;
    }

    .detail-row {
      display: flex;
      padding: 6px 0;
      font-size: 14px;
    }

    .detail-row .label {
      width: 100px;
      font-weight: 600;
      color: #666;
    }

    .price {
      font-weight: bold;
      color: #28a745;
    }

    .rent {
      color: #007bff;
    }

    .sale {
      color: #dc3545;
    }

    .role-badge {
      background: #e9ecef;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 12px;
    }

    /* Fraud Summary */
    .fraud-summary {
      padding: 16px;
      background: #f8f9fa;
      border-bottom: 1px solid #eee;
    }

    .fraud-summary h4 {
      margin: 0 0 12px 0;
      font-size: 14px;
    }

    .analysis-stats {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .stat {
      font-size: 13px;
    }

    .stat-label {
      font-weight: 500;
      margin-right: 5px;
    }

    .stat-label.warning {
      color: #ffc107;
    }

    .stat-label.danger {
      color: #dc3545;
    }

    .warning {
      color: #ffc107;
      font-weight: bold;
    }

    .danger {
      color: #dc3545;
      font-weight: bold;
    }

    .risk-level {
      font-weight: bold;
      padding: 2px 8px;
      border-radius: 4px;
    }

    .risk-level.high {
      background: #dc3545;
      color: white;
    }

    .risk-level.medium {
      background: #ffc107;
      color: #333;
    }

    .risk-level.low {
      background: #28a745;
      color: white;
    }

    /* Images Section */
    .images-section {
      padding: 16px;
      border-bottom: 1px solid #eee;
    }

    .images-section h4 {
      margin: 0 0 12px 0;
      font-size: 14px;
    }

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

    .image-card {
      position: relative;
      aspect-ratio: 1;
      border-radius: 8px;
      overflow: hidden;
      border: 2px solid #eee;
      cursor: pointer;
    }

    .image-card.duplicate-warning {
      border-color: #ffc107;
      box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3);
    }

    .image-card.high-risk-image {
      border-color: #dc3545;
      box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3);
    }

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

    .image-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0,0,0,0.7);
      color: white;
      padding: 4px;
      font-size: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .image-analysis {
      display: flex;
      gap: 4px;
      flex-wrap: wrap;
    }

    .duplicate-badge {
      background: #ffc107;
      color: #333;
      padding: 2px 4px;
      border-radius: 3px;
      font-size: 9px;
    }

    .risk-badge {
      background: #dc3545;
      padding: 2px 4px;
      border-radius: 3px;
      font-size: 9px;
    }

    .risk-badge.high {
      background: #dc3545;
    }

    .risk-badge.medium {
      background: #ffc107;
      color: #333;
    }

    .risk-badge.low {
      background: #28a745;
    }

    .no-analysis {
      font-size: 9px;
    }

    /* Duplicate Groups */
    .duplicate-groups {
      padding: 16px;
      background: #fff3cd;
      border-bottom: 1px solid #ffc107;
    }

    .duplicate-groups h4 {
      margin: 0 0 12px 0;
      font-size: 14px;
      color: #856404;
    }

    .duplicate-group {
      background: white;
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 12px;
      border: 1px solid #ffc107;
    }

    .group-title {
      font-weight: bold;
      font-size: 13px;
      margin-bottom: 8px;
      color: #856404;
    }

    .group-images {
      display: flex;
      gap: 8px;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }

    .group-image {
      width: 60px;
      height: 60px;
      border-radius: 4px;
      overflow: hidden;
      position: relative;
    }

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

    .group-image span {
      position: absolute;
      bottom: 0;
      right: 0;
      background: rgba(0,0,0,0.6);
      color: white;
      font-size: 9px;
      padding: 2px 4px;
    }

    .similarity-info {
      font-size: 11px;
      color: #666;
    }

    /* Action Buttons */
    .action-buttons {
      padding: 16px;
      display: flex;
      gap: 12px;
      background: #f8f9fa;
    }

    .btn {
      flex: 1;
      padding: 10px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
      transition: all 0.2s;
    }

    .btn.approve {
      background: #28a745;
      color: white;
    }

    .btn.approve:hover {
      background: #218838;
    }

    .btn.reject {
      background: #dc3545;
      color: white;
    }

    .btn.reject:hover {
      background: #c82333;
    }

    .btn.view {
      background: #6c757d;
      color: white;
    }

    .btn.view:hover {
      background: #5a6268;
    }

    .btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    /* States */
    .loading-state, .error-state, .empty-state {
      text-align: center;
      padding: 60px;
    }

    .spinner {
      border: 3px solid #f3f3f3;
      border-top: 3px solid #007bff;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 0 auto 15px;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .retry-btn {
      margin-top: 15px;
      padding: 8px 20px;
      background: #007bff;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
/* Stats Grid */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      margin-bottom: 24px;
    }

    .stat-card {
      background: white;
      padding: 20px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .stat-icon {
      font-size: 40px;
    }

    .stat-info h3 {
      font-size: 28px;
      margin: 0;
    }

    .stat-info p {
      color: #666;
      font-size: 14px;
    }

    /* Filters */
    .filters-bar {
      display: flex;
      gap: 15px;
      margin-bottom: 24px;
     flex-wrap: nowrap;
    }

    .search-input {
      flex: 1;
      min-width: 200px;
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
    }

    .filter-select {
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      background: white;
      cursor: pointer;
    }

    /* Properties Grid */
    .properties-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 24px;
    }

    .property-card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.2s, box-shadow 0.2s;
    }

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

    .property-image {
      position: relative;
      height: 200px;
      overflow: hidden;
    }

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

    .property-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: bold;
      color: white;
    }

    .property-badge.sale {
      background: #dc3545;
    }

    .property-badge.rent {
      background: #28a745;
    }

    .property-details {
      padding: 16px;
    }

    .property-details h3 {
      margin: 0 0 10px 0;
      font-size: 18px;
      color: #333;
    }

    .property-location {
      font-size: 13px;
      color: #666;
      margin-bottom: 10px;
    }

    .property-price {
      font-size: 20px;
      font-weight: bold;
      color: #28a745;
      margin-bottom: 10px;
    }

    .property-price small {
      font-size: 11px;
      font-weight: normal;
      color: #999;
    }

    .property-type {
      display: flex;
      gap: 8px;
      margin-bottom: 10px;
    }

    .type-badge {
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 500;
    }

    .type-badge.house { background: #e3f2fd; color: #1976d2; }
    .type-badge.apartment { background: #e8f5e9; color: #2e7d32; }
    .type-badge.plot { background: #fff3e0; color: #ef6c00; }

    .role-badge {
      padding: 2px 8px;
      background: #f0f0f0;
      border-radius: 4px;
      font-size: 11px;
    }

    .property-meta {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: #999;
      margin-bottom: 15px;
      padding-top: 10px;
      border-top: 1px solid #eee;
    }

    .property-actions {
      display: flex;
      gap: 10px;
    }

    .btn {
      flex: 1;
      padding: 8px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
      transition: all 0.2s;
    }

    .btn.view {
      background: #007bff;
      color: white;
    }

    .btn.view:hover {
      background: #0056b3;
    }

    .btn.edit {
      background: #ffc107;
      color: #333;
    }

    .btn.edit:hover {
      background: #e0a800;
    }

    .btn.delete {
      background: #dc3545;
      color: white;
    }

    .btn.delete:hover {
      background: #c82333;
    }

    /* States */
    .loading-state, .error-state, .empty-state {
      text-align: center;
      padding: 60px;
    }

    .spinner {
      border: 3px solid #f3f3f3;
      border-top: 3px solid #007bff;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 0 auto 15px;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .error-state {
      color: #dc3545;
    }

    .retry-btn {
      margin-top: 15px;
      padding: 8px 20px;
      background: #007bff;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    @media (max-width: 768px) {
      .properties-grid {
        grid-template-columns: 1fr;
      }
      
      .filters-bar {
        flex-direction: column;
      }
      
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
 
      .properties-grid {
        grid-template-columns: 1fr;
      }
      
      .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      }

      .summary-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .users-table th,
      .users-table td {
        padding: 8px 6px;
        font-size: 11px;
      }

  .users-table th,
  .users-table td {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .search-input {
    width: 100%;
  }
}