/* ================================
   Global reset & base styles
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
}

body {
  background: #f4f6f9;
  min-height: 100vh;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================
   Titles & text
================================ */
h1 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: #ce5d9f;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.info-text {
  font-size: 0.6rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: #737373;
}

.message {
  font-size: 0.9rem;
  margin: 1rem 0;
  color: #444;
  min-height: 18px;
}

.success {
  color: #2e7d32;
  font-size: 15px;
  font-weight: 500;
  margin-top: 10px;
}

/* ================================
   Labels & Inputs (general)
================================ */
label {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #737373;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdfe5;
  font-size: 16px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
  border-color: #ce5d9f;
  box-shadow: 0 0 0 3px rgba(206, 93, 159, 0.15);
}

textarea {
  font-family: "Montserrat", sans-serif;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea:focus {
  border-color: #ce5d9f;
  box-shadow: 0 0 0 3px rgba(206, 93, 159, 0.15);
  outline: none;
}

/* ================================
   Buttons (general)
================================ */
button {
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ================================
   Responsive
================================ */
@media (max-width: 420px) {
  h1 {
    font-size: 1rem;
  }

  h2 {
    font-size: 0.95rem;
  }

  label {
    font-size: 0.85rem;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"] {
    font-size: 12px;
    padding: 10px 12px;
  }
}
