/* 
Theme Name: Seen Heard Helped Theme
Theme URI: https://osky.com.au
Description: Theme for the Seen Heard Helped website.
Author: OSKY
Author URI: https://osky.com.au
Template: hello-elementor
Version: 2.0.0
*/

/* Add your custom styles here */

.popup-inner {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 2rem;
  flex-direction: column;
}
.popup-inner.active {
  display: flex;
}
#close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#grid-info-btn a {
text-decoration: none;
}
/* Form container */
#gform_1 {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Set grid on the fields container */
#gform_fields_1 {
  display: grid;
  grid-template-columns: 50% 1fr;
  grid-template-rows: auto auto auto;
  gap: 1.5rem 2rem;
}

/* Place Name, Email, and Address in column 1 */
#field_1_1 {
  grid-column: 1;
  grid-row: 1;
}
#field_1_3 {
  grid-column: 1;
  grid-row: 2;
}
#field_1_4 {
  grid-column: 1;
  grid-row: 3;
}

/* Place Message in column 2, spanning all rows */
#field_1_5 {
  grid-column: 2;
  grid-row: 1 / span 3;
}

/* Responsive: Stack all fields on smaller screens */
@media (max-width: 768px) {
  #gform_fields_1 {
    display: flex;
    flex-direction: column;
  }

  #field_1_1,
  #field_1_3,
  #field_1_4,
  #field_1_5 {
    grid-column: unset;
    grid-row: unset;
    width: 100%;
  }
}
.gform-body textarea{
min-block-size: 9rem !important;
}
.gform-footer.gform_footer.top_label {
    justify-content: center;
    margin-top: 0;
}
/* Input & textarea styles */
.gform-body input[type="text"],
.gform-body input[type="email"],
.gform-body textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #FFF;
  margin-bottom: 0.5rem;
  transition: border-color 0.3s ease;
box-shadow: none;
}

.gform-body input:focus,
.gform-body textarea:focus {
  border-color: #ea377d;
  outline: none;
}

/* Labels */
.gform-field-label, legend.gfield_label.gform-field-label {
    font-weight: 400 !important;
    font-size: 16px !important;
    margin-bottom: 0.5rem;
    color: #000;
}
/* Submit button */
#gform_submit_button_1 {
    background: #000000;
    color: #fff;
    border: 1px solid;
    padding: 0.75rem 2rem;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}
#gform_submit_button_1:hover {
  background: #dd3333;
}
