/* Projects Page */

#myProjectsGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(360px, 520px));
  gap:32px;
  align-items:stretch;
}

.dash-card{
  position:relative;
  display:flex;
  flex-direction:column;

  min-height:400px;
  height:auto;

  padding:34px;

  background:linear-gradient(
    145deg,
    rgba(20,28,26,.96),
    rgba(8,14,13,.94)
  );

  border:1px solid rgba(0,224,164,.22);
  border-radius:30px;

  box-shadow:
    0 24px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.04);

  overflow:hidden;
  transition:.3s ease;
}

.dash-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg, var(--teal), var(--mint));
}

.dash-card:hover{
  transform:translateY(-6px);
  border-color:rgba(0,224,164,.42);
  box-shadow:
    0 26px 80px rgba(0,224,164,.12),
    0 24px 70px rgba(0,0,0,.45);
}

.status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:max-content;
  max-width:max-content;

  padding:8px 16px;
  margin-bottom:28px;

  border-radius:999px;

  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.status-badge.draft{
  background:rgba(255,213,79,.12);
  color:#ffd54f;
  border:1px solid rgba(255,213,79,.35);
}

.dash-card h3{
  margin:0 0 22px;

  font-size:34px;
  line-height:1.08;
  min-height:88px;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;

  overflow:hidden;
  text-overflow:ellipsis;
}

.dash-card p{
  margin:0 0 26px;
  color:rgba(255,255,255,.62);
  font-size:16px;
  line-height:1.7;
}

.project-meta{
  display:flex;
  flex-direction:column;
  gap:10px;

  margin-top:8px;
  margin-bottom:auto;
  padding-top:22px;

  border-top:1px solid rgba(255,255,255,.08);
}

.project-meta span{
  color:var(--mint);
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.dash-card .hero-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:28px !important;
}

.dash-card .hero-actions .btn,
.dash-card .hero-actions button{
  width:100%;
  height:46px;
  min-height:46px;

  padding:10px 14px;
  border-radius:14px;

  font-size:14px;
  font-weight:900;
}

.dash-card .hero-actions button:last-child{
  grid-column:1 / -1;
}

@media(max-width:768px){
  #myProjectsGrid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(380px,1fr));
    gap:28px;
}

  .dash-card{
    min-height:auto;
    padding:26px;
  }

  .dash-card h3{
    font-size:32px;
    min-height:auto;
  }
}
/* Project Stats */

.project-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  margin-bottom:50px;
}

.stat-box{
  background:rgba(18,26,24,.92);
  border:1px solid rgba(0,224,164,.18);
  border-radius:22px;
  padding:22px 26px;
}

.stat-info{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.stat-box h3{
  margin:0;
  font-size:42px;
  color:var(--mint);
}

.stat-box span{
  color:rgba(255,255,255,.65);
  font-size:15px;
  font-weight:700;
}

@media(max-width:900px){
  .project-stats{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:560px){
  .project-stats{
    grid-template-columns:1fr;
  }
}
/* Projects Header */

.projects-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

.projects-header-left{
  max-width:720px;
}

.projects-header-right{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  flex-shrink:0;
}

.projects-header-right .btn{
  white-space:nowrap;
  min-width:180px;
}

@media(max-width:992px){
  .projects-header{
    flex-direction:column;
    align-items:flex-start;
  }

  .projects-header-right{
    width:100%;
  }

  .projects-header-right .btn{
    width:100%;
    max-width:260px;
  }
}
.status-badge.submitted{
  background:rgba(79,195,247,.12);
  color:#4fc3f7;
  border:1px solid rgba(79,195,247,.35);
}

.status-badge.under-review{
  background:rgba(255,167,38,.12);
  color:#ffa726;
  border:1px solid rgba(255,167,38,.35);
}

.status-badge.approved{
  background:rgba(0,229,176,.12);
  color:#00e5b0;
  border:1px solid rgba(0,229,176,.35);
}

.status-badge.published{
  background:rgba(124,247,212,.14);
  color:#7cf7d4;
  border:1px solid rgba(124,247,212,.38);
}

.status-badge.rejected{
  background:rgba(255,82,82,.12);
  color:#ff5252;
  border:1px solid rgba(255,82,82,.35);
}