html { line-height: 1.7; }
body { font-family: Arial, sans-serif; background-color: rgb(203, 220, 236); }
footer { display: none; }

#show-selector { font-size: 16px; margin: 10px; padding: 10px; display: flex; align-items: center; gap: 0.75rem; }
#selectLabel { color: #1e3a5f; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }
#selectAlbum {
  appearance: none; -webkit-appearance: none;
  width: auto; min-width: 180px;
  padding: 0.4rem 2.2rem 0.4rem 0.9rem;
  border-radius: 20px; border: 1.5px solid #1e3a5f;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e3a5f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center;
  font-family: Arial, sans-serif; font-size: 0.9rem;
  color: #1e3a5f; font-weight: 500; cursor: pointer; transition: all 0.15s; outline: none;
}
#selectAlbum:hover {
  background-color: #1e3a5f; color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
#selectAlbum:focus { border-color: #16304f; box-shadow: 0 0 0 3px rgba(30,58,95,0.12); }

#slideshow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: min(55vh, 720px);
  margin: 0.5rem auto 0;
}

/* Native selects: some browsers need explicit option colors or menu looks empty */
#selectAlbum option {
  color: #1e3a5f;
  background: #fff;
}

#slide {
  width: 90%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
#controls { display: flex; justify-content: center; gap: 20px; padding: 12px 0; }
#controls button { font-size: 28px; background: none; border: none; cursor: pointer; padding: 6px 12px; border-radius: 8px; transition: background-color 0.2s; line-height: 1; }
#controls button:hover { background-color: rgba(0,0,0,0.1); }

@media screen and (min-width: 670px)  { #slide { width: 660px; } }
@media screen and (min-width: 1280px) { #slide { width: 1000px; } }

/* ── Cognito sign-in: Dropbox (index) + Calendar — shared chrome ─────────── */

.auth-sign-shell {
  max-width: 800px;
}

.auth-sign-card {
  margin-top: 1rem;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.auth-sign-block h3 {
  margin: 0 0 1rem;
  color: #1e3a5f;
  font-size: 1.05rem;
  font-weight: 700;
}

.auth-sign-block input[type="email"],
.auth-sign-block input[type="password"],
.auth-sign-block input[type="text"] {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0.4rem 0;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
  border: 1.5px solid #dde3ec;
  border-radius: 20px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
  font-family: Arial, sans-serif;
}

.auth-sign-block input:focus {
  border-color: #1e3a5f;
}

.auth-sign-block .auth-password-row {
  position: relative;
  max-width: 420px;
}

.auth-sign-block .auth-password-row input {
  padding-right: 2.5rem;
}

.auth-sign-block .auth-show-pwd {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 0.85rem;
  color: #94a3b8;
  user-select: none;
}

.auth-sign-block button.auth-signin-submit {
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: 500;
  margin-top: 0.75rem;
  border: 1.5px solid #1e3a5f;
  background: #1e3a5f;
  color: #fff;
  transition: background-color 0.15s, border-color 0.15s;
}

.auth-sign-block button.auth-signin-submit:hover {
  background: #16304f;
  border-color: #16304f;
}

.auth-sign-error {
  color: #e11d48;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  min-height: 1.25em;
}
