/* Import base styles from photos.css */
@import url('photos.css');

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Baloo 2', 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  background: linear-gradient(180deg, #4fd3ff 0%, #2176c1 100%);
  overflow-x: hidden;
}

.index-container {
  max-width: 420px;
  width: 90vw;
  margin: 40px auto 40px auto;
  background: rgba(255,255,255,0.98);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(33,118,193,0.13);
  padding: 40px 28px 32px 28px;
  text-align: center;
  box-sizing: border-box;
}

.logo {
  display: block;
  max-width: 160px;
  width: 40vw;
  min-width: 90px;
  margin: 0 auto 18px auto;
  border-radius: 16px;
}

.index-title {
  display: none;
}

.subtitle {
  color: #2176c1;
  font-size: 1.25em;
  margin-top: 0;
  margin-bottom: 28px;
  font-weight: bold;
  text-shadow: 0 1px 0 #fff;
}

.form-group {
  margin-bottom: 24px;
  text-align: center;
}

.form-label {
  font-size: 1.1em;
  margin-bottom: 10px;
  display: block;
  color: #2176c1;
  font-weight: bold;
  text-shadow: 0 1px 0 #fff;
}

.form-input {
  padding: 14px 18px;
  border-radius: 18px;
  border: 2.5px solid #4fd3ff;
  font-size: 1.1em;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 8px auto;
  background: #fff;
  color: #2176c1;
  font-family: 'Baloo 2', 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(33,118,193,0.08);
  display: block;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #2176c1;
  box-shadow: 0 4px 16px rgba(33,118,193,0.18);
  transform: translateY(-2px);
}

.form-button {
  background: linear-gradient(90deg, #ffe066 0%, #4fd3ff 100%);
  color: #2176c1;
  border: none;
  border-radius: 18px;
  padding: 16px 36px;
  font-size: 1.2em;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.18s cubic-bezier(.4,1.5,.5,1);
  font-family: 'Baloo 2', 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  box-shadow: 0 4px 16px rgba(33,118,193,0.13);
  text-shadow: 0 1px 2px rgba(255,255,255,0.12);
  margin-top: 8px;
  display: inline-block;
}

.form-button:hover, .form-button:focus {
  background: linear-gradient(90deg, #4fd3ff 0%, #ffe066 100%);
  color: #2176c1;
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(33,118,193,0.18);
}

.form-button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(33,118,193,0.18);
}

.error {
  color: #d32f2f;
  background: #ffeaea;
  border-radius: 12px;
  padding: 14px;
  margin-top: 18px;
  font-size: 1.1em;
  font-weight: bold;
  box-shadow: 0 2px 8px #d32f2f22;
}

@media (max-width: 900px) {
  .index-container {
    width: 85vw;
    padding: 32px 20px 24px 20px;
  }
  .logo {
    max-width: 120px;
    width: 30vw;
  }
}

@media (max-width: 600px) {
  .index-container {
    width: 92vw;
    padding: 24px 16px 20px 16px;
    border-radius: 18px;
    margin: 20px auto 20px auto;
  }
  .logo {
    max-width: 90px;
    width: 28vw;
  }
  .form-input {
    font-size: 1em;
    padding: 10px 12px;
  }
  .form-button {
    font-size: 1em;
    padding: 12px 18px;
  }
}

@media (max-width: 400px) {
  .index-container {
    width: 96vw;
    padding: 16px 12px 16px 12px;
    margin: 10px auto 10px auto;
  }
  .logo {
    max-width: 60px;
    width: 22vw;
  }
}

/* Touch-friendly improvements for form */
@media (hover: none) and (pointer: coarse) {
  .form-button:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(33,118,193,0.2);
  }
  .form-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(33,118,193,0.2);
  }
  .form-input:focus {
    transform: none;
  }
} 