* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #0f172a;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  background-attachment: fixed;
  color: white;
  overflow-x: hidden;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 700px;
  width: 100%;
  margin: auto;
  padding: 20px;
  flex: 1;
}

h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
}

h2 {
  text-align: center;
  margin-top: 25px;
}

.intro {
  text-align: center;
  color: #cbd5f5;
  line-height: 1.6;
}

.upload-note {
  text-align: center;
  color: #94a3b8;
}

.dogs {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.dog-card {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 12px;
  width: 48%;
  text-align: center;
}

.dog-card img {
  width: 100%;
  border-radius: 10px;
}

.card {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 12px;
  margin-top: 20px;
  text-align: center;
}

form {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

label {
  display: block;
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 6px;
}

input,
textarea,
button {
  width: 100%;
}

input,
textarea {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  outline: none;
  background: #132238;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 2px #22c55e;
}

button {
  padding: 14px;
  background: #22c55e;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #16a34a;
}

small {
  display: block;
  text-align: center;
  color: #94a3b8;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* 🔥 FILE INPUT FIX (matches your HTML) */
.file-hidden {
  display: none;
}

.file-button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 6px;
  background: #132238;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  text-align: center;
  color: white;
  cursor: pointer;
}

.file-button:hover {
  background: #1b2f4a;
}

.file-name {
  display: block;
  text-align: center;
  color: #94a3b8;
  margin-bottom: 12px;
  font-size: 13px;
}

/* 🔥 FILE SIZE WARNING */
.file-warning {
  text-align: center;
  color: #f87171;
  font-size: 13px;
  margin-bottom: 15px;
}

@media (max-width: 600px) {
  .dogs {
    flex-direction: column;
  }

  .dog-card {
    width: 100%;
  }
}