/* Shared CSS for common components across multiple pages */
/* Used in: index.html, map.html (About Bottom Sheet) */

/* Download App Store Buttons */
.download-apps {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.download-apps a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.download-apps img {
  height: 48px;
  width: auto;
  transition: transform 0.2s ease;
}

.download-apps img:hover {
  transform: scale(1.05);
}

/* Form Styles - Material 3 Design */
.form-group { 
  margin-bottom: 20px; 
}

label { 
  display: block; 
  margin-bottom: 8px; 
  font-weight: 500; 
  font-size: 0.875rem; 
  color: #49454f;
  letter-spacing: 0.1px;
}

/* All text inputs and textareas with consistent background */
input[type="text"],
input[type="email"],
textarea {
  display: block;
  width: 100%;
  padding: 16px;
  margin: 0.5rem auto;
  border: 1px solid #79747e;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 16px;
  font-family: system-ui, -apple-system, 'Roboto', sans-serif;
  background-color: #ffffff;
  color: #1d1b20;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Unified placeholder styles - Material 3 */
input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: #79747e;
  opacity: 1;
  font-family: system-ui, -apple-system, 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #0061a4;
  border-width: 2px;
  padding: 15px;
  box-shadow: 0 0 0 1px #0061a4;
}

/* Primary Button - Material 3 Style */
button.primary-btn {
  width: 100%;
  padding: 16px 24px;
  background-color: #0061a4;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

button.primary-btn:hover { 
  background-color: #0073c0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
}

button.primary-btn:active { 
  background-color: #004f89;
  transform: scale(0.98);
}

/* Hidden elements */
.hidden {
  display: none !important;
}

/* Hidden form fields (honeypot) */
.hidden-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}
