/* main.css */

/* Import Google Font: Lato */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');

html, body, #root {
  height: 100%;
  margin: 0;
  padding: 0;
}

#root {
  display: flex;
  flex-direction: column;
}


/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
  font-weight: 300; 
}

body {
  background-image: url('/images/white-mountains.jpg');
  background-size: cover;
  background-position: center;
  
  color: #252222;
  line-height: 1.5;
   background-repeat: no-repeat; /* ✅ ensure no tiling */
  min-height: 100vh;      
}

/* Semi-transparent overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4); /* white overlay */
  pointer-events: none;
  z-index: -1;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.2;
}

p {
  margin-bottom: 1em;
}

/* Common Buttons */
button {
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Common Input Fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  background-color: #f5f5f5; /* light gray background */
  border-radius: 6px;
  border: 1px solid grey;
  font-size: 20px;
  font-family: inherit;
  box-sizing: border-box;
  
}

/* Common Submit Button */
.submit-btn {
  background: rgb(105, 105, 106);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: rgb(137, 137, 138);
}

/* Checkbox Styles */
input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  appearance: none;
  border: 1px solid #3a3636;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
 
  
}

input[type="checkbox"]:checked::after {
  content: "✓";
  color: rgb(53, 182, 132);
  font-size: 12px;
  line-height: 1;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label h3 {
  margin: 0;
  /* VERY IMPORTANT */
  font-size: 18px;
}
.checkbox-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 10px;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 20px;
}

