/* /css/dashboard.css */

:root{
  --primary:#17395d;
  --accent:#f5b301;
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#667085;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  padding-bottom:95px;
}

.dashboard-page{
  max-width:1250px;
  margin:auto;
  padding:20px 16px 40px;
}

.dashboard-hero{
  background:linear-gradient(135deg,#17395d,#295b8d);
  border-radius:28px;
  padding:28px;
  color:white;
  margin-bottom:20px;
}

.hero-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.hero-badge{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.15);
  font-size:12px;
  font-weight:700;
}

.hero-left h1{
  margin:16px 0 8px;
  font-size:38px;
}

.hero-left p{
  margin:0;
  color:#dbe7f4;
}

.profile-card{
  background:rgba(255,255,255,0.12);
  padding:16px;
  border-radius:20px;
  display:flex;
  align-items:center;
  gap:14px;
}

.profile-avatar{
  width:58px;
  height:58px;
  border-radius:50%;
  background:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:800;
  color:#2f2400;
}

.profile-card h3{
  margin:0 0 4px;
}

.profile-card span{
  color:#d9e7f4;
  font-size:14px;
}

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

.stat-card{
  background:white;
  border-radius:22px;
  padding:22px;
  text-align:center;
  box-shadow:0 10px 28px rgba(15,45,75,0.08);
}

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

.stat-card h2{
  margin:14px 0 8px;
  font-size:34px;
  color:var(--primary);
}

.stat-card p{
  margin:0;
  color:var(--muted);
}

.dashboard-section{
  background:white;
  border-radius:24px;
  padding:22px;
  margin-bottom:20px;
  box-shadow:0 10px 28px rgba(15,45,75,0.08);
}

.section-head{
  margin-bottom:18px;
}

.section-head h2{
  margin:0;
  color:var(--primary);
}

.action-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.action-card{
  border:none;
  background:#f7fbff;
  border-radius:20px;
  padding:24px;
  min-height:130px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  transition:0.25s;
}

.action-card:hover{
  transform:translateY(-4px);
}

.action-card span{
  font-size:32px;
}

.action-card strong{
  font-size:15px;
}

.action-card.primary{
  background:linear-gradient(135deg,#ff7a18,#ffb347);
  color:white;
}

.owner-panel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.owner-box{
  border:1px solid #e6edf5;
  border-radius:20px;
  padding:22px;
}

.owner-box h3{
  margin-top:0;
  color:var(--primary);
}

.owner-box p{
  color:var(--muted);
  line-height:1.7;
}

.owner-box button{
  border:none;
  background:var(--primary);
  color:white;
  padding:12px 18px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
}

.activity-box{
  display:grid;
  gap:12px;
}

.activity-item{
  background:#f8fbff;
  border-radius:16px;
  padding:16px;
  display:flex;
  align-items:center;
  gap:12px;
}

.account-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.account-btn{
  min-height:54px;
  border:none;
  border-radius:16px;
  background:#edf4fb;
  color:var(--primary);
  font-weight:700;
  cursor:pointer;
}

.account-btn.logout{
  background:#ffe4e4;
  color:#b42318;
}

.bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:74px;
  background:rgba(255,255,255,0.98);
  border-top:1px solid #e6edf5;
  display:none;
  align-items:center;
  justify-content:space-around;
  z-index:9999;
}

.bottom-nav-item{
  flex:1;
  height:74px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#7a8ca3;
  font-size:11px;
  font-weight:700;
}

.bottom-nav-item.active{
  color:var(--primary);
}

.bottom-icon{
  font-size:21px;
}

.bottom-center-btn{
  width:62px;
  height:62px;
  margin-top:-34px;
  border-radius:50%;
  border:4px solid white;
  background:linear-gradient(135deg,#ff7a18,#ffb347);
  color:white;
  font-size:34px;
  font-weight:800;
  box-shadow:0 12px 28px rgba(255,122,24,0.35);
}

@media(max-width:950px){

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

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

  .owner-panel{
    grid-template-columns:1fr;
  }

}

@media(max-width:760px){

  .bottom-nav{
    display:flex;
  }

  .hero-left h1{
    font-size:30px;
  }

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

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

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

}