/* add drop shadow to images */
.img-shadow {
  box-shadow: 2px 2px 4px rgba(45, 45, 45, 0.1);
  border-radius: 4px;
}


/* vibe code the GitHub Actions spinner */
.spinner {
  width: 1em;
  height: 1em;
  border: 0.2em solid orange;
  border-top: 0.2em solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* vibe code a more accurate GitHub Actions spinner */

.github-spinner {
  position: relative;
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
}

/* Inner dark orange dot */
.github-spinner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.6em;
  height: 0.6em;
  background-color: #D2B23F;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Outer spinning arc with gap */
.github-spinner {
  position: relative;
  width: 1.6em;
  height: 1.6em;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
}

/* Inner dark orange dot */
.github-spinner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8em;
  height: 0.8em;
  background-color: #D2B23F;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Outer spinning arc with thicker ring */
.github-spinner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 0.2em solid #E1D7B1;     /* base light ring */
  border-top-color: #D2B23F;       /* spinning arc */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 1;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
