/*
Theme Name: Bug Reporter
Description: A minimal WordPress theme for bug reporting using Gravity Forms and Loom.
Author: Your Name
Version: 1.01
*/

body {
  font-family: sans-serif;
  margin: 0;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.6;
}

h2 {
  color: #d36948;
  font-family: sans-serif;
  font-size: 1.5em;
}

h2.gfield_label.gform-field-label {
  color: #d36948;
  font-family: sans-serif;
  font-size: 1.5em;
  margin-top: 12px;
}

div#gfield_description_1_3 {
  font-size: 14px;
  margin-bottom: 20px;
}

.site-header {
  background: #1b2b40;
  padding: 20px 0;
  text-align: center;
}

.site-header img {
  max-width: 360px;
  height: auto;
}

.site-footer {
  background: #1b2b40;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9em;
}

.content-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
}

.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), 
.gform_button.button {
  background: #d36948 !important;
  color: #fff !important;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.gform-theme--foundation .gform_fields {
  row-gap: 10px !important;
}

/* === Responsive Enhancements === */

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.content-wrapper,
.gform_wrapper {
  padding: 20px;
}

.gform_wrapper .gfield input,
.gform_wrapper .gfield textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .site-header img {
    max-width: 260px;
  }

  .content-wrapper {
    padding: 15px;
    margin: 0 10px;
  }

  .gform_wrapper .gform_button {
    width: 100%;
  }

  h2, 
  h2.gfield_label.gform-field-label {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .site-header img {
    max-width: 200px;
  }

  .gform_wrapper .gfield input,
  .gform_wrapper .gfield textarea {
    font-size: 1rem;
    padding: 10px;
  }

  .gform_wrapper .gform_button {
    font-size: 1rem;
  }

  .site-footer {
    font-size: 0.8em;
    padding: 10px;
  }

  h2, 
  h2.gfield_label.gform-field-label {
    font-size: 1.2em;
  }
}