html,
body{
  margin:0 !important;
  padding:0 !important;
  background:#050606 !important;
  overflow-x:hidden;
}

body{
  background:
    radial-gradient(circle at top right,rgba(31,214,210,.12),transparent 30%),
    linear-gradient(180deg,#070909 0%,#020303 100%) !important;
}.admin_page{
  min-height:100vh;
  background:
    radial-gradient(circle at top right,rgba(31,214,210,.12),transparent 30%),
    linear-gradient(180deg,#070909 0%,#020303 100%);
  padding:28px 18px 120px;
  color:#fff;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

.admin_shell{
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

.jh_brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:26px;
}

.jh_logo_box{
  background:#1fd6d2;
  color:#041010;
  font-weight:950;
  letter-spacing:-.08em;
  padding:8px 14px;
  border-radius:16px;
  font-size:24px;
}

.jh_logo_text{
  color:#fff;
  font-weight:900;
  letter-spacing:.12em;
  font-size:14px;
}

.admin_topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:30px;
}

.admin_kicker{
  color:#1fd6d2;
  font-size:12px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.admin_topbar h1{
  margin:0 0 10px;
  color:#fff;
  font-size:52px;
  line-height:.92;
  font-weight:950;
  letter-spacing:-.06em;
}

.admin_topbar p{
  margin:0;
  color:#a8b3b3;
  font-size:17px;
  line-height:1.5;
}

.admin_icon_btn{
  width:52px;
  height:52px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:#101313;
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:900;
}

.admin_stats_grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:26px;
}

.admin_stat_card{
  background:#101313;
  border:1px solid rgba(255,255,255,.1);
  border-radius:24px;
  padding:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.28);
}

.admin_stat_card span{
  display:block;
  color:#a8b3b3;
  font-size:13px;
  font-weight:800;
  margin-bottom:10px;
}

.admin_stat_card strong{
  display:block;
  color:#fff;
  font-size:42px;
  line-height:1;
  font-weight:950;
}

.admin_filter_bar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:30px;
}

.admin_filter_btn{
  height:46px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:#101313;
  color:#fff;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}

.admin_filter_btn.active{
  background:#1fd6d2;
  color:#041010;
  border-color:#1fd6d2;
}

.admin_property_admin_actions{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:18px;
}

.admin_action_btn{
  height:44px;
  border-radius:14px;
  background:#171d1d;
  border:1px solid rgba(255,255,255,.1);
  color:#fff;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}

.admin_action_btn:hover{
  border-color:rgba(31,214,210,.45);
  background:rgba(31,214,210,.12);
}

@media(max-width:768px){

  .admin_topbar{
    flex-direction:column;
  }

  .admin_topbar h1{
    font-size:38px;
  }

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

  .admin_stat_card strong{
    font-size:32px;
  }

  .admin_property_admin_actions{
    grid-template-columns:1fr;
  }
}
.property_edit_form{
  width:100%;
}

.edit_grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.edit_card{
  background:#101313;
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:22px;
}

.edit_card h2{
  margin:0 0 18px;
  color:#fff;
  font-size:26px;
  font-weight:900;
  letter-spacing:-.04em;
}

.edit_card label{
  display:block;
  color:#a8b3b3;
  font-size:13px;
  font-weight:800;
  margin-bottom:16px;
}

.edit_card input,
.edit_card textarea,
.edit_card select{
  width:100%;
  margin-top:8px;
  padding:15px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:#070909;
  color:#fff;
  font-size:15px;
  font-family:inherit;
  outline:none;
}

.edit_card textarea{
  resize:vertical;
}

.toggle_row{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:#070909;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px;
}

.toggle_row input{
  width:22px;
  height:22px;
  margin:0;
}

.image_preview_wrap{
  width:100%;
  height:220px;
  border-radius:22px;
  overflow:hidden;
  background:#070909;
  border:1px solid rgba(255,255,255,.08);
}

.image_preview_wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
}

.edit_actions{
  position:sticky;
  bottom:0;
  z-index:20;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  padding:18px 0 0;
  background:linear-gradient(to top,#020303 70%,transparent);
}

.save_btn,
.delete_btn{
  height:60px;
  border:none;
  border-radius:20px;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
}

.save_btn{
  background:#63cfd0;
  color:#041010;
}

.delete_btn{
  background:#2a1010;
  color:#ffb7b7;
  border:1px solid rgba(255,90,90,.25);
}

@media(min-width:860px){

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

  .edit_actions{
    grid-template-columns:1fr 1fr;
  }
}
/* =========================================
   EDIT PAGE FINAL POLISH
========================================= */

.property_edit_form{
  padding-bottom:120px;
}

.edit_card{
  box-shadow:
    0 24px 80px rgba(0,0,0,.28);
}

.edit_card input:focus,
.edit_card textarea:focus,
.edit_card select:focus{
  border-color:rgba(31,214,210,.55);

  box-shadow:
    0 0 0 4px rgba(31,214,210,.08);
}

.image_preview_wrap img{
  display:block;
}

.edit_card input[type="checkbox"]{
  accent-color:#1fd6d2;
}

.save_btn:hover{
  transform:translateY(-1px);

  box-shadow:
    0 14px 30px rgba(99,207,208,.22);
}

.delete_btn:hover{
  background:#341414;
}

@media(max-width:768px){

  .edit_card{
    padding:18px;
    border-radius:24px;
  }

  .edit_card h2{
    font-size:22px;
  }

  .edit_actions{
    position:fixed;
    left:0;
    right:0;
    bottom:0;

    padding:14px;

    background:#050606;

    border-top:
      1px solid rgba(255,255,255,.08);
  }

  .save_btn,
  .delete_btn{
    height:58px;
  }
}
/* FIX EDIT PAGE WIDTH / INPUT BLEED */

.edit_card{
  overflow:hidden !important;
}

.edit_card input,
.edit_card textarea,
.edit_card select{
  max-width:100% !important;
  box-sizing:border-box !important;
}

@media(min-width:900px){

  .edit_grid{
    grid-template-columns:1fr 1fr !important;
    align-items:start !important;
  }

  .edit_card:first-child{
    grid-column:span 1 !important;
  }
}

.admin_shell{
  max-width:1080px !important;
}