:root {
    --base-color: #eff4f6;
    --darker-color: #cddfe4; /* Couleur plus sombre */
    --lighter-color: #f5f9fb; /* Couleur plus claire */
}
html, body {
    background: linear-gradient(to right, var(--darker-color), var(--base-color), var(--lighter-color));
}
.app-hero {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1, p, ul, li {
    color: black;
}
.app-hero-title {
    text-align: center;
    font-size: 1.35rem;
}
.instances {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.instance {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.instance p {
    margin-bottom: .35em;
}
.instance-date, .instance-elapsed-time {
    font-size: 14px;
    color: #6b7280;
    display: flex;
}
.instance-repository-name {
    font-size: 28px;
    font-weight: 700;
    color: #092356;
    margin-bottom: .5em;
    display: block;
}
.instance-run {
    font-size: 18px;
    margin-bottom: .5em;
    display: flex;
    color: #6cc3de;
    font-weight: 500;
}
.instance-status {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
}
.instance-status,.instance-sha-commit {
    font-size: 16px;
}
.instance-sha-commit {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: .5em;
    margin-bottom: .5em;
    text-decoration: underline;
}
/* Buttons */
.instance-link, .instance-project-status {
    display: inline-flex;
    margin-top: .5em;
    color: #fff;
    padding: .5rem 1.25rem;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    margin-right: .5rem;
}
.instance-link {
    background-color: rgba(9, 35, 86, 0.1);
    color: #092356;
}
.instance-project-status {
    background-color: #092356;
    color: #e5e8ee;
}
.placeholder {
  width: 100px;
  height: 20px;
  background-color: #ccc;
  margin-bottom: 10px;
  position: relative;
  border-radius: 4px;
}

.placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: wave 1.5s infinite;
}

@keyframes wave {
  0% {
      left: -100%;
  }
  100% {
      left: 100%;
  }
}
