/* dashboard.css - CSS Dashboard User plugin */

/* USER DASHBOARD */

.lj-user-dashboard {
  max-width: 1200px;
  margin: 40px auto 70px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.lj-user-sidebar {
  background: #071d33;
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  min-height: 620px;
}

.lj-user-profile {
  text-align: center;
  margin-bottom: 28px;
}

.lj-user-avatar img {
  border-radius: 50%;
  margin-bottom: 12px;
}

.lj-user-profile strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.lj-user-profile span {
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 700;
}

.lj-user-nav {
  display: grid;
  gap: 8px;
}

.lj-user-nav a {
  color: #dbeafe;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
}

.lj-user-nav a:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.lj-user-hero {
  background: linear-gradient(135deg, #071d33, #0b3a75);
  color: #fff;
  border-radius: 26px;
  padding: 34px;
  margin-bottom: 22px;
}

.lj-user-hero span {
  display: inline-block;
  margin-bottom: 10px;
  background: #e30613;
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.lj-user-hero h1 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 36px;
}

.lj-user-hero p {
  color: #dbeafe;
  margin: 0;
}

.lj-user-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.lj-user-cards div,
.lj-user-panel {
  background: #fff;
  border: 1px solid var(--lj-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.lj-user-cards strong {
  display: block;
  font-size: 32px;
  color: #e30613;
  margin-bottom: 8px;
}

.lj-user-cards span {
  color: #64748b;
  font-weight: 800;
  font-size: 13px;
}

.lj-user-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.lj-user-actions a,
.lj-register-box a {
  background: #e30613;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.lj-user-panel h2 {
  margin-top: 0;
}

.lj-user-list {
  display: grid;
  gap: 10px;
}

.lj-user-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--lj-border);
  border-radius: 14px;
  padding: 14px;
}

.lj-user-list span {
  color: #64748b;
  font-size: 13px;
}

.lj-register-box {
  max-width: 520px;
  margin: 60px auto;
  padding: 34px;
  background: #fff;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 16px 44px rgba(15,23,42,.08);
}

@media(max-width: 900px) {
  .lj-user-dashboard {
    grid-template-columns: 1fr;
  }

  .lj-user-cards {
    grid-template-columns: 1fr;
  }

  .lj-user-list a {
    display: block;
  }
}

/* MOBILE DASHBOARD HOME COMPACT */

@media(max-width:768px){

  .lj-user-hero{
    padding:24px !important;
    border-radius:22px !important;
    margin-bottom:18px !important;
  }

  .lj-user-hero h1{
    font-size:28px !important;
    line-height:1.2 !important;
  }

  .lj-user-hero p{
    font-size:15px !important;
    line-height:1.55 !important;
  }

  .lj-user-cards{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:10px !important;
    margin-bottom:16px !important;
  }

  .lj-user-cards div{
    padding:16px 12px !important;
    border-radius:18px !important;
    min-height:110px !important;
  }

  .lj-user-cards strong{
    font-size:28px !important;
    margin-bottom:8px !important;
  }

  .lj-user-cards span{
    font-size:12px !important;
    line-height:1.3 !important;
  }

  .lj-user-actions{
    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;
    gap:10px !important;
  }

  .lj-user-actions a{
    padding:12px 10px !important;
    font-size:14px !important;
    border-radius:999px !important;
  }
}
