﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background: #0b1320 center / cover no-repeat fixed;
  display: grid;
  place-items: center;
}

.overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 8, 16, 0.35), rgba(13, 25, 40, 0.35)),
    url("images/mein-hintergrund.jpg") center / contain no-repeat;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  width: min(750px, 75vw);
  padding: 2rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.timer {
  margin: 1.2rem 0;
}

.timer-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.9rem 0.6rem;
}

.timer-part span {
  display: block;
  font-size: clamp(1.4rem, 2.7vw, 2.4rem);
  font-weight: 700;
}

.upload {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
}

.consent-label a {
  color: #ffdf8a;
}

.file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  cursor: pointer;
  background: #ffbf47;
  color: #162033;
  font-weight: 700;
}

.file-label.is-disabled {
  background: #8a8f98;
  color: #e7ebf2;
  cursor: not-allowed;
  opacity: 0.9;
}

#photoUpload {
  display: none;
}

#statusText {
  margin: 0.4rem 0 0;
}

.switch-link a {
  color: #ffdf8a;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
  justify-content: flex-end;
}

.footer-links a {
  color: #ffdf8a;
}
