/* ===== Reset global ===== */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

/* Detector de touch device — desliga background-attachment fixed em touch (perf) */
html.gf-mod-touch * {
  background-attachment: scroll !important;
}

/* ===== Reset de elementos de form ===== */
fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

button,
[type='button'],
[type='reset'] {
  border: 0;
  cursor: pointer;
  -webkit-appearance: button;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Clearfix para wrappers de embed (mantido por compatibilidade — substituído em phase 3) */
.map-embed:before,
.map-embed:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}

.map-embed:after {
  clear: both;
}

/* ===== Form (markup do form de doação, atualmente oculto via styles.css) ===== */
.donation-form-wrapper {
  margin: 0 0 15px;
}

.form-success {
  display: none;
  padding: 20px;
  text-align: center;
  background-color: #dddddd;
}

.form-error {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background-color: #ffdede;
}

.donation-input {
  display: block;
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333333;
  vertical-align: middle;
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

.donation-input::placeholder {
  color: #999;
}

.donation-input:focus {
  border-color: #3898EC;
  outline: 0;
}

.donation-input[disabled],
.donation-input[readonly] {
  cursor: not-allowed;
  background-color: #eeeeee;
}

.form-label {
  display: inline-block;
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 0px;
}
