@charset "UTF-8";

/*
Theme Name: MediaVolt
Theme URI: https://mediawaypoint.live/mediavolt
Author: Media Waypoint
Author URI: https://mediawaypoint.com
Description: MediaVolt is a custom theme intended for minimal plugin useage and ultimately a quicker website.
Requires at least: 5.3
Tested up to: 5.6
Requires PHP: 7.3
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mediavolt
Tags: Pre-defined Layouts
Nimble WordPress Theme, (C) 2020 WordPress.org
Nimble is distributed under the terms of the GNU GPL.
*/

/* ===============================
   Contact Form 7 - Clean Styling
   Scoped to .cf7-grid / .cf7-heading
   =============================== */

.wpcf7 form .cf7-heading{
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
}

/* Grid */
.wpcf7 form .cf7-grid{
  display: grid;
  gap: 18px 22px; /* row gap, column gap */
  max-width: 720px;
}

/* Keep CF7 from adding odd spacing */
.wpcf7 form .cf7-grid p{
  margin: 0;
}

/* Labels */
.wpcf7 form .cf7-field label{
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

/* Inputs */
.wpcf7 form .cf7-grid input[type="text"],
.wpcf7 form .cf7-grid input[type="email"],
.wpcf7 form .cf7-grid input[type="tel"]{
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  font-size: 16px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* Placeholder */
.wpcf7 form .cf7-grid input::placeholder{
  color: rgba(255,255,255,0.55);
  opacity: 1;
}

/* Focus state */
.wpcf7 form .cf7-grid input:focus{
  outline: none;
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.10);
}

/* Button row */
.wpcf7 form .cf7-actions{
  margin-top: 4px;
}

/* Submit button (prevents iOS/theme default blue) */
.wpcf7 form .cf7-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.92);
  color: #1a1a1a;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.2px;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  transition: transform 0.06s ease, opacity 0.15s ease;
}

.wpcf7 form .cf7-submit:hover{
  opacity: 0.95;
}

.wpcf7 form .cf7-submit:active{
  transform: translateY(1px);
}

/* Validation */
.wpcf7-not-valid-tip{
  margin-top: 8px;
  font-size: 13px;
}

.wpcf7 form .wpcf7-response-output{
  margin: 16px 0 0;
}

/* Desktop columns */
@media (min-width: 768px){
  .wpcf7 form .cf7-grid{
    grid-template-columns: 1fr 1fr;
  }
  .wpcf7 form .cf7-actions{
    grid-column: 1 / -1;
  }

  /* Make Email span full width (cleaner layout) */
  .wpcf7 form .cf7-field:nth-last-child(2){
    grid-column: 1 / -1;
  }
}

/* Mobile: keep edge spacing + full width button */
@media (max-width: 767px){
  .wpcf7 form .cf7-heading{
    padding: 0 16px;
  }

  .wpcf7 form .cf7-grid{
    padding: 0 16px;
    box-sizing: border-box;
  }

  .wpcf7 form .cf7-submit{
    width: 100%;
  }
}

/* CF7 - fieldset can show a default border (the "white box") */
.wpcf7 form fieldset{
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}



/* ===============================
   Register Your Pack - Layout spacing
   (adds breathing room above/below the CF7 block)
   =============================== */

/* Targets only the Register Your Pack page (body class is WP standard) */
.page-id-10900 .wpcf7{
  padding-top: 28px;
  padding-bottom: 34px;
}

/* Give the heading some breathing space from the header */
.page-id-10900 .wpcf7 form .cf7-heading{
  margin-top: 12px;
}

/* Ensure there is space after the button so it never kisses the footer */
.page-id-10900 .wpcf7 form .cf7-actions{
  margin-top: 14px;
  margin-bottom: 22px;
}


/* Reduce space between label and input */
.wpcf7 form .cf7-field label{
  margin-bottom: 1px; /* was 8px */
}
