
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FONT */
body {
  font-family: 'Poppins', sans-serif;
}

/* ========== LANDING PAGE ========== */
body.landing {
  background-image: url('../img/kost.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}

/* OVERLAY GELAP */
.overlay {
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 80px;
}

/* KONTEN */
.content {
  display: flex;
  align-items: center;
  gap: 70px;
  max-width: 900px;
}

/* TEKS */
.hero-text h1 {
  color: #ffffff;
  font-size: 72px;
  line-height: 1.1;
  font-weight: 300;
}

.hero-text span {
  font-weight: 600;
}

/* TOMBOL */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  padding: 16px 26px;
  min-width: 280px;
  border: 1.5px solid #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  text-align: center;
  transition: 0.3s;
}

.btn:hover {
  background: #ffffff;
  color: #000000;
}
/* ========== AUTH PAGE (LOGIN & REGISTER) ========== */
.auth-page {
  background-image: url('../img/kost.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  font-family: 'Poppins', sans-serif;
}

.auth-overlay {
  background: rgba(0, 0, 0, 0.65);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-card {
  width: 360px;
  background: rgba(18, 18, 18, 0.95);
  padding: 40px 32px;
  border-radius: 14px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Judul */
.auth-card h2 {
  margin-bottom: 28px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Input */
.auth-card input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #1f1f1f;
  border: 1px solid #2c2c2c;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.auth-card input::placeholder {
  color: #bdbdbd;
}

.auth-card input:focus {
  border-color: #00bcd4;
}

/* Tombol */
.auth-card button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: #00bcd4;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.1s ease;
}

.auth-card button:hover {
  background: #0097a7;
}

.auth-card button:active {
  transform: scale(0.98);
}

/* Link bawah */
.auth-link {
  margin-top: 22px;
  font-size: 13px;
  color: #cfcfcf;
}

.auth-link a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
}

.auth-link a:hover {
  text-decoration: underline;
}
/* ================= DASHBOARD DENGAN BACKGROUND FOTO ================= */

.dashboard-bg {
  background: url('../img/kost.jpg') center/cover no-repeat;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

.dashboard-overlay {
  background: rgba(0,0,0,0.65);
  min-height: 100vh;
  padding: 30px 0;
}

.dashboard-container {
  max-width: 1000px;
  margin: auto;
  padding: 30px;
}

/* HEADER */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  color: #fff;
}

.dashboard-header h2 {
  margin: 0;
}

.dashboard-header p {
  margin: 6px 0 0;
  color: #ddd;
}

/* BUTTON */
.btn {
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  background: #00bcd4;
  color: #fff;
  font-weight: 500;
}

.btn-logout {
  background: #616161;
  margin-left: 10px;
}

/* EMPTY */
.empty-text {
  color: #eee;
  font-style: italic;
}

/* CARD */
.kost-card {
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.kost-card h3 {
  margin-top: 0;
}

.kost-desc {
  color: #444;
  margin-top: 10px;
}

/* LINK */
.link-foto {
  display: inline-block;
  margin-top: 12px;
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
}
.kost-foto-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.kost-foto {
  width: 130px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
}

.no-foto {
  font-size: 13px;
  color: #777;
}

.kost-map {
  margin-top: 12px;
}

.kost-actions {
  margin-top: 15px;
}

.kost-actions a {
  text-decoration: none;
  color: #00bcd4;
  font-weight: 500;
}
.kost-foto-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.kost-foto {
  width: 130px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
}

.no-foto {
  font-size: 13px;
  color: #777;
}
.kost-foto-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.kost-foto {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.kost-foto-wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.kost-card {
  background: rgba(255,255,255,0.95);
  padding: 15px;
  border-radius: 12px;
  width: 240px;
}

.kost-foto {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.kost-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  border: none;
}
/* ===== DETAIL KOST PAGE ===== */
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 25px;
}

.detail-card {
  background: rgba(255,255,255,0.96);
  padding: 18px;
  border-radius: 14px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
  gap: 12px;
}

.detail-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
}

.detail-map iframe {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   DETAIL KOST – PROFESIONAL
================================ */

.detail-bg {
  background: url('../img/kost.jpg') center/cover no-repeat;
  min-height: 100vh;
}

.detail-overlay {
  background: rgba(0,0,0,0.6);
  min-height: 100vh;
  padding: 40px 0;
}

.detail-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* HEADER */
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  margin-bottom: 30px;
}

.detail-header h1 {
  margin: 0;
  font-size: 32px;
}

/* GRID */
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
}

/* CARD */
.detail-card {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  margin-bottom: 20px;
}

/* GALLERY */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: 15px;
}

.detail-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

/* MAP */
.detail-map iframe {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: 14px;
}

/* EMPTY */
.empty-text {
  color: #777;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.chat-box {
  max-width: 800px;
  margin: 20px auto;
  background: #f4f4f4;
  padding: 15px;
  border-radius: 12px;
  max-height: 420px;
  overflow-y: auto;
}

.chat-me {
  background: #1E88E5;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  margin: 8px 0;
  text-align: right;
  margin-left: auto;
  max-width: 70%;
}

.chat-you {
  background: #ddd;
  padding: 10px 14px;
  border-radius: 12px;
  margin: 8px 0;
  text-align: left;
  max-width: 70%;
}

.chat-time {
  font-size: 11px;
  opacity: .7;
  margin-top: 4px;
}

.chat-form {
  max-width: 800px;
  margin: auto;
  display: flex;
  gap: 10px;
}
.no-cover {
  width: 100%;
  height: 140px;
  background: #ddd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 13px;
  margin-bottom: 10px;
}
/* CHAT */
.chat-container{
  width:70%;
  max-width:1000px;
  height:85vh;
  margin:30px auto;
  background:#fff;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}


.chat-header{
  background:#0bbcd6;
  color:#fff;
  padding:14px;
  display:flex;
  align-items:center;
  gap:12px;
}

.chat-back{
  color:#fff;
  text-decoration:none;
  font-size:18px;
}

.chat-box{
  flex:1;
  padding:15px;
  overflow-y:auto;
  background:#f2f2f2;
}

.chat-empty{
  color:#777;
  text-align:center;
  margin-top:20px;
}

.chat-bubble{
  max-width:75%;
  padding:10px 14px;
  border-radius:14px;
  margin-bottom:10px;
  font-size:14px;
  line-height:1.4;
}

.chat-bubble.me{
  background:#0bbcd6;
  color:#fff;
  margin-left:auto;
  border-bottom-right-radius:4px;
}

.chat-bubble.you{
  background:#e0e0e0;
  color:#000;
  margin-right:auto;
  border-bottom-left-radius:4px;
}

.chat-bubble small{
  display:block;
  font-size:11px;
  opacity:.7;
  margin-top:4px;
}

.chat-form{
  display:flex;
  border-top:1px solid #ddd;
}

.chat-form input{
  flex:1;
  padding:12px;
  border:none;
  outline:none;
  font-size:14px;
}

.chat-form button{
  padding:0 20px;
  background:#0bbcd6;
  color:#fff;
  border:none;
  cursor:pointer;
  font-size:18px;
}
.notif-icon{
  position:relative;
  font-size:22px;
  text-decoration:none;
}

.notif-badge{
  position:absolute;
  top:-6px;
  right:-8px;
  background:red;
  color:white;
  font-size:11px;
  padding:2px 6px;
  border-radius:50%;
}
.notif-icon{
  position:relative;
  font-size:22px;
  text-decoration:none;
}

.notif-badge{
  position:absolute;
  top:-6px;
  right:-8px;
  background:red;
  color:white;
  font-size:11px;
  padding:2px 6px;
  border-radius:50%;
}
.detail-page{
  max-width:1200px;
  margin:auto;
  padding:20px;
}

.detail-title{color:#fff}
.detail-owner{color:#ddd;margin-bottom:20px}

.detail-grid{
  display:grid;
  grid-template-columns:2fr 1.3fr;
  gap:20px;
}

.card{
  background:#fff;
  border-radius:14px;
  padding:16px;
  margin-bottom:15px;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.gallery{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.gallery img{
  width:160px;
  height:120px;
  object-fit:cover;
  border-radius:10px;
}

.map-wrap{
  width:100%;
  height:320px;
  border-radius:12px;
  overflow:hidden;
}

.map-wrap iframe{
  width:100%;
  height:100%;
  border:0;
}

.action-card{
  display:flex;
  gap:15px;
  justify-content:center;
}

.rekening-box{
  background:#f3f3f3;
  padding:10px;
  border-radius:8px;
  margin-bottom:12px;
}

.btn{
  padding:12px 20px;
  border-radius:10px;
  text-decoration:none;
  font-weight:bold;
  border:none;
  cursor:pointer;
}

.btn.primary{background:#00bcd4;color:#fff}
.btn.secondary{background:#0097a7;color:#fff}

@media(max-width:900px){
  .detail-grid{grid-template-columns:1fr}
}
.detail-bg{
  background:url('assets/images/bg.jpg') center/cover no-repeat fixed;
}

.detail-wrapper{
  max-width:1200px;
  margin:auto;
  padding:30px;
}

.detail-header{
  color:#fff;
  margin-bottom:20px;
}

.detail-grid{
  display:grid;
  grid-template-columns:2fr 1.2fr;
  gap:20px;
}

.card{
  background:#fff;
  border-radius:14px;
  padding:16px;
  margin-bottom:15px;
}

.gallery{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.gallery img{
  width:180px;
  height:130px;
  object-fit:cover;
  border-radius:10px;
}

.map-box{
  width:100%;
  height:350px;
  border-radius:12px;
  overflow:hidden;
}

.map-box iframe{
  width:100%;
  height:100%;
  border:0;
}

.action-row{
  display:flex;
  gap:15px;
}

.rekening-box{
  background:#f3f3f3;
  padding:12px;
  border-radius:8px;
  margin-bottom:12px;
}

.btn{
  padding:12px 20px;
  border-radius:10px;
  border:none;
  cursor:pointer;
}

.primary{background:#00bcd4;color:#fff}
.secondary{background:#0097a7;color:#fff}

@media(max-width:900px){
  .detail-grid{grid-template-columns:1fr}
}
.history-wrapper{
  max-width:900px;
  margin:auto;
  padding:30px;
}

.history-header{
  color:#fff;
  margin-bottom:20px;
}

.history-list{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.history-card{
  background:#fff;
  border-radius:14px;
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.history-info h3{
  margin:0 0 6px;
}

.history-info p{
  margin:4px 0;
  font-size:14px;
}

.history-action{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:160px;
}

.status{
  margin-top:8px;
  font-weight:bold;
}

.status.pending{color:#ff9800}
.status.acc{color:#4caf50}
.status.tolak{color:#f44336}

.btn.small{
  padding:8px 12px;
  font-size:13px;
}

.back-btn{
  margin-top:25px;
  display:inline-block;
}

.history-empty{
  background:#fff;
  padding:20px;
  border-radius:12px;
  text-align:center;
}

@media(max-width:700px){
  .history-card{
    flex-direction:column;
  }
  .history-action{
    flex-direction:row;
    flex-wrap:wrap;
  }
}
/* ===============================
   DASHBOARD PEMILIK – FINAL FIX
================================ */

.dashboard-container{
  max-width:1200px;
  margin:auto;
  padding:30px;
}

/* GRID */
.kost-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(360px,1fr));
  gap:24px;
  align-items:stretch;
}

/* CARD */
.kost-card{
  background:#fff;
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.15);

  display:flex;
  flex-direction:column;
  height:100%;
}

/* HEADER */
.kost-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}

.kost-header h3{
  font-size:16px;
  margin:0;
}

.kost-price{
  font-weight:700;
  color:#00bcd4;
  white-space:nowrap;
}

/* ADDRESS */
.kost-address{
  font-size:13px;
  color:#555;
  margin:6px 0 10px;
}

/* IMAGES */
.kost-images{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin-bottom:10px;
}

.kost-images img{
  width:100%;
  height:90px;
  object-fit:cover;
  border-radius:8px;
}

.no-cover{
  grid-column:1/-1;
  height:90px;
  background:#ddd;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font-size:13px;
  color:#666;
}

/* MAP */
.kost-map-small{
  margin-top:8px;
  border-radius:10px;
  overflow:hidden;
}

.kost-map-small iframe{
  width:100%;
  height:150px;
  border:0;
}

/* ACTION */
.kost-actions{
  display:flex;
  justify-content:space-between;
  margin-top:auto;
  padding-top:12px;
}

.kost-actions a{
  font-size:13px;
  color:#00bcd4;
  text-decoration:none;
  font-weight:600;
}

/* RESPONSIVE */
@media(max-width:768px){
  .kost-grid{
    grid-template-columns:1fr;
  }
}
/* ===============================
   DASHBOARD PENCARI – FIX SEJAJAR
================================ */

.kost-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:24px;
  align-items:stretch;
}

/* CARD */
.kost-card{
  background:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.15);

  display:flex;
  flex-direction:column;
  height:100%;
}

/* FOTO */
.kost-card img,
.no-cover{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:12px;
}

/* JUDUL */
.kost-card h3{
  font-size:16px;
  margin-bottom:6px;
  min-height:40px; /* BIAR JUDUL SEJAJAR */
}

/* HARGA */
.kost-card b{
  display:block;
  margin-bottom:6px;
}

/* ALAMAT */
.kost-card p{
  font-size:13px;
  color:#555;
  line-height:1.4;
  margin-bottom:12px;

  /* POTONG TEKS */
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* TOMBOL */
.kost-card .btn{
  margin-top:auto;   /* KUNCI UTAMA */
  text-align:center;
  border-radius:12px;
}
/* ===============================
   FINAL FIX – HOME / DASHBOARD PENCARI
================================ */

/* RAPATKAN & SERAGAMKAN ISI */
.kost-card{
  padding:20px;
}

/* FOTO & NO FOTO */
.kost-card img,
.no-cover{
  height:160px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:13px;
  color:#666;
}

/* JUDUL */
.kost-card h3{
  font-size:16px;
  font-weight:600;
  margin:10px 0 6px;
  min-height:42px;
}

/* HARGA — JADI SATU BARIS */
.kost-card b{
  display:inline;
  font-size:14px;
}

.kost-card b + span,
.kost-card b + strong{
  margin-left:6px;
}

/* ALAMAT DIPOTONG RAPI */
.kost-card p{
  font-size:13px;
  line-height:1.45;
  margin:8px 0 14px;

  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* TOMBOL FIX BAWAH */
.kost-card .btn{
  margin-top:auto;
  padding:12px;
  border-radius:14px;
  font-weight:600;
}
/* =====================================
   FORCE FIX – HOME (ANTI TABRAKAN)
===================================== */

/* GRID UTAMA */
.kost-foto-wrap,
.kost-grid{
  display:grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap:24px !important;
}

/* CARD */
.kost-card{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;

  background:#fff !important;
  border-radius:18px !important;
  padding:20px !important;

  box-shadow:0 10px 30px rgba(0,0,0,.15) !important;
}

/* FOTO / NO FOTO */
.kost-card img,
.kost-card .no-cover{
  width:100% !important;
  height:180px !important;
  object-fit:cover !important;
  border-radius:14px !important;
}

/* JUDUL */
.kost-card h3{
  font-size:17px !important;
  font-weight:600 !important;
  margin:14px 0 6px !important;
  min-height:44px !important;
}

/* HARGA — PAKSA 1 BARIS */
.kost-card p b{
  display:inline !important;
}
.kost-card p{
  font-size:14px !important;
  margin:6px 0 !important;
}

/* ALAMAT – SERAGAM */
.kost-card p:last-of-type{
  flex-grow:1 !important;
  font-size:13px !important;
  line-height:1.5 !important;

  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}

/* TOMBOL – SELALU SEJAJAR */
.kost-card .btn{
  margin-top:16px !important;
  padding:14px !important;
  border-radius:16px !important;
  font-weight:600 !important;
}
/* ===============================
   HOME PENCARI – FIX TOTAL
=============================== */

.home-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:24px;
  margin-top:30px;
}

.home-card{
  background:#ffffff;
  border-radius:16px;
  padding:16px;
  display:flex;
  flex-direction:column;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

/* FOTO */
.home-img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:12px;
}

.home-img.empty{
  background:#e0e0e0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#666;
  font-size:14px;
}

/* JUDUL */
.home-card h3{
  margin:6px 0;
  font-size:17px;
  color:#222;
}

/* HARGA */
.home-price{
  font-weight:700;
  color:#00bcd4;
  margin-bottom:6px;
}

/* ALAMAT */
.home-address{
  font-size:13px;
  color:#555;
  line-height:1.4;
  flex-grow:1;
}

/* BUTTON */
.home-btn{
  margin-top:12px;
  background:#00bcd4;
  color:#fff;
  text-decoration:none;
  text-align:center;
  padding:12px;
  border-radius:10px;
  font-weight:600;
  display:inline-block;
}

.home-btn:hover{
  background:#0097a7;
}

/* DETAIL LAYOUT */
.detail-container{
  max-width:1200px;
  margin:40px auto;
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:30px;
}

.detail-left,
.detail-right{
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* CARD */
.detail-card{
  background:#fff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

/* GALERI */
.detail-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:12px;
}

.detail-gallery img{
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:10px;
}

/* MAP */
.map-wrap iframe{
  width:100%;
  height:260px;
  border-radius:12px;
  border:0;
}

/* REKENING */
.rekening-box{
  background:#f1f1f1;
  padding:12px;
  border-radius:10px;
  font-size:14px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .detail-container{
    grid-template-columns:1fr;
  }
}
*{box-sizing:border-box;font-family:Poppins,Arial}

body.detail-page{
  background:#f2f4f6;
  margin:0;
}

.detail-wrapper{
  max-width:1200px;
  margin:40px auto;
  padding:20px;
}

.detail-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
}

.card{
  background:#fff;
  padding:20px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  margin-bottom:20px;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:12px;
}

.gallery img{
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:10px;
}

.map iframe{
  width:100%;
  height:260px;
  border-radius:12px;
  border:0;
}

.rekening{
  background:#f1f1f1;
  padding:12px;
  border-radius:10px;
  font-size:14px;
}

.btn{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:none;
  cursor:pointer;
  font-weight:600;
  margin-top:10px;
}

.primary{background:#00bcd4;color:#fff}
.secondary{background:#eee}

.bayar{display:none}
.bayar.show{display:block}

.empty{
  color:#777;
  font-size:14px;
}

@media(max-width:900px){
  .detail-grid{grid-template-columns:1fr}
}
/* ===============================
   ORDER / PEMESANAN CARD
   (Dashboard Pemilik)
================================ */

.order-card{
  background:#ffffff;
  padding:16px;
  border-radius:14px;
  margin-bottom:20px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.order-card h4{
  margin-bottom:8px;
}

.order-card p{
  font-size:14px;
  margin:4px 0;
}

.order-card img{
  max-width:100%;
  margin-top:10px;
  border-radius:10px;
  display:block;
}
/* ===============================
   PEMESANAN MASUK - OWNER
================================ */
.order-card{
  background:#fff;
  padding:18px;
  border-radius:14px;
  margin-bottom:20px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.order-card h3{
  margin-bottom:10px;
}

.order-card p{
  font-size:14px;
  margin:4px 0;
}

.order-card img{
  max-width:220px;
  border-radius:10px;
  margin-top:10px;
  display:block;
}

/* STATUS */
.order-status{
  margin-top:12px;
  font-weight:bold;
}

.status-pending{ color:#ff9800; }
.status-acc{ color:#4caf50; }
.status-tolak{ color:#f44336; }

/* BUTTON */
.order-action{
  display:flex;
  gap:12px;
  margin-top:14px;
}

.btn-acc{
  background:#4caf50;
  color:#fff;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
}

.btn-tolak{
  background:#f44336;
  color:#fff;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
}

.btn-acc:hover{background:#43a047;}
.btn-tolak:hover{background:#e53935;}
/* ================= PESANAN MASUK ================= */

.order-card{
  background:#fff;
  padding:18px;
  border-radius:14px;
  margin-bottom:20px;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.order-card h3{
  margin-bottom:10px;
}

.order-card p{
  margin:4px 0;
  font-size:14px;
}

.order-card img{
  margin-top:10px;
  max-width:220px;
  border-radius:10px;
  display:block;
}

/* STATUS */
.order-status{
  margin-top:12px;
  font-weight:bold;
}

.status-pending{ color:#ff9800; }
.status-acc{ color:#4caf50; }
.status-tolak{ color:#f44336; }

/* ACTION */
.order-action{
  display:flex;
  gap:12px;
  margin-top:12px;
}

.btn-acc{
  background:#4caf50;
  color:#fff;
  padding:8px 14px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
}

.btn-tolak{
  background:#f44336;
  color:#fff;
  padding:8px 14px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
}

.btn-acc:hover{opacity:.85;}
.btn-tolak:hover{opacity:.85;}
.page-title {
  color: #fff;
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 700;
}

.order-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.bukti-img {
  width: 200px;
  border-radius: 6px;
  margin: 8px 0;
  display: block;
}

.order-status {
  margin-top: 10px;
  font-weight: bold;
}

.status-pending {
  color: #e67e22;
}

.status-acc {
  color: #2ecc71;
}

.status-tolak {
  color: #e74c3c;
}

.order-action {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn-acc,
.btn-tolak {
  padding: 8px 14px;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.btn-acc {
  background: #27ae60;
}

.btn-tolak {
  background: #c0392b;
}
.order-card{
  background:#fff;
  padding:16px;
  border-radius:12px;
  margin-bottom:18px;
  box-shadow:0 2px 12px rgba(0,0,0,.15);
}

.order-status{
  margin-top:8px;
  font-weight:bold;
}

.status-pending{ color:#e67e22; }
.status-acc{ color:#2ecc71; }
.status-tolak{ color:#e74c3c; }

.page-title{
  color:#fff;
  margin-bottom:20px;
}
/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 600px){

  /* tombol chat & bayar */
  .action-card{
    flex-direction:column;
  }

  .action-card .btn{
    font-size:16px;
    padding:16px;
    border-radius:14px;
  }

  /* tombol kirim pengajuan */
  .bayar .btn{
    font-size:16px;
    padding:16px;
    border-radius:14px;
  }

}

