/* ===== Application Page Layout ===== */

.app-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0 14px;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

#name{
    font-weight: bold;
    font-size: 25px;
    color: #0b5317;

}
.banner-big{
    color: orange;
}
.banner-small{
    color: #0b5317;
}

.app-header-left{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-search{
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  max-width: 520px;
}

.app-search input{
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.25);
  outline: none;
}

.search-btn{
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid var(--green-dark);
  background: #ffffff;
  font-weight: 700;
  cursor: pointer;
}
.search-btn:hover{ filter: brightness(0.97); }

.apps-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
  margin-bottom: 20px;
}

.app-card{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.18);
}

.app-title-row{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.app-card h3{
  margin: 0;
  font-size: 18px;
}

.app-badge{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.app-desc{
  margin: 10px 0 12px;
}

.app-actions{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.action-block{
  border: 2px solid var(--green-dark);
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.link-block{
  text-decoration: none;
  color: inherit;
}

.link-block:hover{
  filter: brightness(0.97);
}

.action-label{
  font-size: 12px;
  opacity: 0.85;
  font-weight: 700;
}

.action-value{
  margin-top: 6px;
  font-size: 16px;
  font-weight: 900;
  color: #24562b;
}

.details{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 14px;
}

/* Footer: only 2 columns */
.simple-footer{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.25);
}

.footer-two{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 860px){
  .apps-grid{ grid-template-columns: 1fr; }
  .footer-two{ grid-template-columns: 1fr; }
  .app-search{
    justify-content: flex-start;
    max-width: none;
  }
  .app-search input{
    max-width: none;
  }
}
