/* Compatibility styles for WordPress */

/* Reset WordPress default styles that might interfere */
#clima-pastel-root,
#clima-pastel-root * {
  box-sizing: border-box;
}

#clima-pastel-root {
  all: revert;
}

/* Ensure proper font rendering */
#clima-pastel-root {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix for WordPress admin bar */
@media (max-width: 782px) {
  body.admin-bar #clima-pastel-root {
    margin-top: 0;
  }
}

/* Prevent WordPress from affecting button styles */
#clima-pastel-root button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
}

/* Prevent WordPress from affecting input styles */
#clima-pastel-root input {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* Ensure proper z-index stacking */
#clima-pastel-root {
  position: relative;
  z-index: 1;
}

/* Fix for WordPress table styles */
#clima-pastel-root table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Fix for WordPress list styles */
#clima-pastel-root ul,
#clima-pastel-root ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Fix for WordPress link styles */
#clima-pastel-root a {
  color: inherit;
  text-decoration: none;
}

#clima-pastel-root a:hover {
  text-decoration: underline;
}

/* Ensure proper image rendering */
#clima-pastel-root img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fix for WordPress form elements */
#clima-pastel-root label {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 600;
}

#clima-pastel-root select,
#clima-pastel-root textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
