*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

body{
  background:#f5f7fb;
  padding:20px;
  color:#1e293b;
}

/* TOP BAR */

.top-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
  flex-wrap:wrap;
}

.top-buttons{
  display:flex;
  gap:12px;
}

.btn{
  padding:12px 22px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-weight:bold;
  transition:0.3s;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-light{
  background:#f1f5f9;
  color:#334155;
  border:1px solid #e2e8f0;
}

.btn-main{
  background:#2563eb;
  color:white;
  box-shadow:0 4px 12px rgba(37,99,235,0.2);
}

.btn-main:hover{
  background:#1d4ed8;
}

/* ALERT */

.alert-box{
  background:#fff7ed;
  border:1px solid #fed7aa;
  padding:22px;
  border-radius:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}

.alert-box h3{
  color:#c2410c;
  margin-bottom:6px;
}

.pay-btn{
  background:#ea580c;
  color:white;
  border:none;
  padding:13px 22px;
  border-radius:12px;
  cursor:pointer;
  transition:0.3s;
}

.pay-btn:hover{
  background:#c2410c;
}

/* CARDS */

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-bottom:25px;
}

.card{
  padding:24px;
  border-radius:20px;
  border:1px solid #eef2f7;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-3px);
}

.card h4{
  margin-bottom:10px;
  color:#475569;
}

.card h2{
  margin-bottom:10px;
}

.card:nth-child(1){
  background:#eff6ff;
}

.card:nth-child(2){
  background:#f0fdf4;
}

.card:nth-child(3){
  background:#faf5ff;
}

.card:nth-child(4){
  background:#fff1f2;
}

.small-text{
  color:#15803d;
}

/* MAIN */

.main{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
}

/* WHITE CONTAINERS */

.warehouse,
.actions,
.payment-history,
.recent,
.agreement-page,
.support-page,
.profile-page{
  background:white;
  border-radius:22px;
  padding:25px;
  box-shadow:0 4px 14px rgba(15,23,42,0.04);
  border:1px solid #eef2f7;
}

/* SECTION TITLE */

.section-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.active{
  background:#dcfce7;
  color:#15803d;
  padding:7px 14px;
  border-radius:30px;
  font-size:12px;
  font-weight:bold;
}

/* MINI CARDS */

.warehouse-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
  margin:20px 0;
}

.mini-card{
  background:#f8fafc;
  padding:20px;
  border-radius:18px;
  border:1px solid #eef2f7;
}

.mini-card h3{
  margin:10px 0;
}

/* PROGRESS */

.progress-top{
  display:flex;
  justify-content:space-between;
  margin-bottom:10px;
}

.progress-bar{
  width:100%;
  height:12px;
  background:#e2e8f0;
  border-radius:20px;
  overflow:hidden;
}

.progress{
  width:61%;
  height:100%;
  background:linear-gradient(to right,#2563eb,#7c3aed);
}

/* ACTIONS */

.actions h2{
  margin-bottom:20px;
}

.action-item{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  padding:18px;
  border-radius:16px;
  margin-bottom:15px;
  cursor:pointer;
  transition:0.3s;
  box-sizing:0 4px 10px rgba(0,0,0,0.03);
}

.action-item:hover{
  background:#eff6ff;
  border-color:#bfdbfe;
  transform:translateY(-2px);
}

.action-item h4{
  margin-bottom:5px;
}

.action-item p{
  color:#64748b;
}

/* RECENT */

.recent{
  margin-top:25px;
}

.recent-header{
  margin-bottom:20px;
}

.activity{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
  border-bottom:1px solid #e2e8f0;
}

.activity-left{
  display:flex;
  gap:15px;
}

.icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.green{
  background:#dcfce7;
  color:#15803d;
}

.receipt{
  color:#2563eb;
  font-weight:bold;
  cursor:pointer;
}

/* PAYMENT HISTORY */

.history-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom:30px;
}

.section-small{
  color:#2563eb;
  font-size:14px;
  font-weight:bold;
  margin-bottom:6px;
}

.history-sub{
  color:#64748b;
}

/* BUTTON GROUP */

.history-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.filter-btn{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  padding:12px 18px;
  border-radius:12px;
  cursor:pointer;
}

.export-btn{
  background:#eff6ff;
  color:#2563eb;
  border:none;
  padding:12px 18px;
  border-radius:12px;
  cursor:pointer;
}

.excel{
  background:#f0fdf4;
  color:#15803d;
}

.pay-now-btn{
  background:#2563eb;
  color:white;
  border:none;
  padding:12px 22px;
  border-radius:12px;
  cursor:pointer;
}

.pay-now-btn:hover{
  background:#1d4ed8;
}

/* SUMMARY */

.summary-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin:30px 0;
}

.summary-card{
  padding:22px;
  border-radius:20px;
  border:1px solid #eef2f7;
}

.paid-card{
  background:#f0fdf4;
}

.pending-card{
  background:#fff7ed;
}

.late-card{
  background:#fff1f2;
}

.avg-card{
  background:#eff6ff;
}

/* TABLE */

.table-wrapper{
  overflow-x:auto;
}

table{
  width:100%;
  border-collapse:collapse;
}

th{
  background:#f8fafc;
  text-align:left;
}

th, td{
  padding:18px;
  border-bottom:1px solid #e2e8f0;
}

.status{
  padding:8px 14px;
  border-radius:30px;
  font-size:13px;
  font-weight:bold;
}

.paid{
  background:#dcfce7;
  color:#15803d;
}

.pending{
  background:#ffedd5;
  color:#c2410c;
}

.method{
  padding:7px 12px;
  border-radius:10px;
  font-size:13px;
}

.imps{
  background:#eff6ff;
  color:#2563eb;
}

.neft{
  background:#f5f3ff;
  color:#7c3aed;
}

.rtgs{
  background:#f0fdf4;
  color:#15803d;
}

.receipt-btn{
  background:#2563eb;
  color:white;
  border:none;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
}

.disabled{
  background:#cbd5e1;
}

/* PAYMENT MODAL */

.payment-modal{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  background:rgba(0,0,0,0.45);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
}

.payment-box{
  width:90%;
  max-width:550px;
  background:white;
  border-radius:24px;
  padding:30px;
}

.payment-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.close-btn{
  font-size:32px;
  cursor:pointer;
}

.payment-subtitle{
  color:#64748b;
  margin:15px 0;
}

.payment-options{
  display:grid;
  gap:15px;
}

.payment-option{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  padding:18px;
  border-radius:18px;
  cursor:pointer;
  transition:0.3s;
}

.payment-option:hover{
  background:#eff6ff;
  border-color:#bfdbfe;
}

/* AGREEMENT */

.agreement-header,
.support-header,
.profile-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}

.download-btn,
.raise-btn,
.save-btn{
  background:#2563eb;
  color:white;
  border:none;
  padding:12px 22px;
  border-radius:12px;
  cursor:pointer;
}

.agreement-box{
  background:#f8fafc;
  padding:25px;
  border-radius:20px;
  line-height:1.8;
}

/* SUPPORT */

.ticket-card{
  padding:20px;
  border-radius:18px;
  margin-bottom:18px;
}

.pending-ticket{
  background:#fff7ed;
}

.progress-ticket{
  background:#eff6ff;
}

.resolved-ticket{
  background:#f0fdf4;
}

/* PROFILE */

.profile-card{
  display:flex;
  flex-direction:column;
  gap:14px;
  background:#f8fafc;
  padding:25px;
  border-radius:20px;
}

.profile-card input{
  padding:14px;
  border:1px solid #dbe2ea;
  border-radius:12px;
}

/* FOOTER */

.footer-bar{
  margin-top:25px;
  text-align:center;
  background:white;
  padding:12px;
  border-radius:30px;
  border:1px solid #eef2f7;
  color:#64748b;
}

/* RESPONSIVE */

@media(max-width:1100px){

  .cards{
    grid-template-columns:repeat(2,1fr);
  }

  .summary-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .main{
    grid-template-columns:1fr;
  }

}

@media(max-width:700px){

  .cards{
    grid-template-columns:1fr;
  }

  .warehouse-grid{
    grid-template-columns:1fr;
  }

  .summary-grid{
    grid-template-columns:1fr;
  }

  .top-bar{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }

  .top-buttons{
    width:100%;
  }

  .btn{
    width:100%;
  }

  .alert-box{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }

  .pay-btn{
    width:100%;
  }

}
/* ===================================== */
/* OPERATIONS DASHBOARD */
/* ===================================== */

.operations-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:30px;
  flex-wrap:wrap;
  gap:20px;
}

.ops-small{
  color:#2563eb;
  font-weight:bold;
  margin-bottom:6px;
}

.ops-sub{
  color:#64748b;
  margin-top:6px;
}

.ops-refresh-btn{
  background:#2563eb;
  color:white;
  border:none;
  padding:14px 22px;
  border-radius:14px;
  cursor:pointer;
  font-weight:bold;
}

.ops-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-bottom:25px;
}

.ops-card{
  background:white;
  padding:24px;
  border-radius:22px;
  border:1px solid #eef2f7;
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
  transition:0.3s;
  cursor:pointer;
}
.ops-card:hover{
  transform:translateY(-3px);
}

.ops-card p{
  color:#64748b;
  margin-bottom:10px;
}

.ops-card h2{
  margin-bottom:10px;
}

.chart-layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
  margin-bottom:25px;
}

.chart-card{
  background:white;
  padding:25px;
  border-radius:22px;
  border:1px solid #eef2f7;
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
}

.chart-header{
  margin-bottom:25px;
}

.ops-bottom-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.ops-panel{
  background:white;
  padding:24px;
  border-radius:22px;
  border:1px solid #eef2f7;
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
}

.panel-header{
  margin-bottom:20px;
}

.tenant-row,
.lease-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid #eef2f7;
}

.call-btn,
.renew-btn{
  background:#2563eb;
  color:white;
  border:none;
  padding:10px 16px;
  border-radius:12px;
  cursor:pointer;
}

.timeline-row{
  display:flex;
  gap:15px;
  margin-bottom:22px;
}

.timeline-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#2563eb;
  margin-top:6px;
}

.green-text{
  color:#16a34a;
}

.blue-text{
  color:#2563eb;
}

.purple-text{
  color:#7c3aed;
}

.red-text{
  color:#dc2626;
}

.orange-text{
  color:#ea580c;
}

@media(max-width:1200px){

  .ops-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .ops-bottom-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:900px){

  .chart-layout{
    grid-template-columns:1fr;
  }

}

@media(max-width:700px){

  .ops-grid{
    grid-template-columns:1fr;
  }

}
/* ===================================== */
/* QUICK ACTION ENHANCEMENT */
/* ===================================== */

.action-item{
  box-shadow:0 4px 10px rgba(0,0,0,0.03);
}

.action-item:hover{
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

/* ===================================== */
/* OPERATIONS CARD HOVER */
/* ===================================== */

.ops-card{
  transition:0.3s;
  cursor:pointer;
}

.ops-card:hover{
  transform:translateY(-3px);
}

/* ===================================== */
/* MOBILE BUTTON FIX */
/* ===================================== */

.top-buttons{
  flex-wrap:wrap;
}
.raise-btn{
  background:#2563eb;
  color:white;
  border:none;
  padding:12px 22px;
  border-radius:12px;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
}
.dashboard{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.card{
    padding:25px;
    border-radius:15px;
    color:white;
}

.card:nth-child(1){
    background:linear-gradient(to right,#2563eb,#3b82f6);
}

.card:nth-child(2){
    background:linear-gradient(to right,#059669,#10b981);
}

.card:nth-child(3){
    background:linear-gradient(to right,#d97706,#f59e0b);
}

table{
    width:100%;
    border-collapse:collapse;
    background:white;
}

table th{
    background:#2563eb;
    color:white;
    padding:15px;
}

table td{
    padding:15px;
    border:1px solid #ddd;
}