/*
Theme Name: SendPopup
Theme URI: https://sendpopup.net
Author: SendPopup
Author URI: https://sendpopup.net
Description: SEO-friendly block theme built for Elementor editing.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sendpopup
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, editor-style, featured-images, wide-blocks
*/

:root {
  color-scheme: light;
}

body {
  background-color: var(--wp--preset--color--base);
  color: var(--wp--preset--color--foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--wp--preset--color--primary);
}

img {
  height: auto;
  max-width: 100%;
}

.sendpopup-header {
  border-bottom: 1px solid var(--wp--preset--color--muted);
}

.wpcf7 form {
  display: grid;
  gap: 16px;
}

.wpcf7 label {
  font-weight: 500;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--wp--preset--color--muted);
  border-radius: 10px;
  background-color: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--foreground);
  font-size: 16px;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: 2px solid var(--wp--preset--color--primary);
  outline-offset: 2px;
  border-color: var(--wp--preset--color--primary);
}

.wpcf7 .wpcf7-submit {
  border: none;
  border-radius: 10px;
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--surface);
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus {
  background-color: var(--wp--preset--color--primary);
}

.wpcf7 .wpcf7-not-valid-tip {
  color: var(--wp--preset--color--danger);
  font-size: 14px;
}

.wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--wp--preset--color--muted);
  background-color: var(--wp--preset--color--surface);
}
