/*
Theme Name: TechRx Blocksy Child
Theme URI: https://techrxrepair.com
Description: Child theme of Blocksy for TechRx Repair site
Author: TechRx
Author URI: https://techrxrepair.com
Template: blocksy
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techrx-blocksy-child
*/

/* 
 * This child theme inherits all styles from Blocksy parent theme.
 * Add custom CSS below as needed to match techrxrepair.com design.
 */

.custom-button {
  background-color: #4a9eff !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-input {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 5px;
  padding: 12px 15px;
  width: 100%;
  transition: all 0.3s ease;
}

.google-form-wrapper {
  max-width: 100%;
  width: 100%;
  overflow: visible;
}

.google-form-wrapper iframe {
  width: 100%;
  height: 3000px; /* Large fixed height - adjust if needed */
  border: 0;
  overflow: visible;
}

.quote-btn {
  background-color: #4a9eff !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.entry-card {
  background-color: rgba(0, 0, 0, 0.292) !important;
  border-radius: 10px;
}
.entry-card * {
  color: #fff !important;
}

/* Blog Post Text - Make all text white */
.single-post .entry-content,
.single-post .entry-content *,
article.post .entry-content,
article.post .entry-content *,
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content li,
.entry-content a,
.entry-content span,
.entry-content div,
.entry-content blockquote,
.entry-content cite,
.entry-content strong,
.entry-content em,
.entry-content code,
.entry-content pre {
  color: #ffffff !important;
}

/* Blog Post Title - Make white */
.single-post .page-title,
.single-post .entry-title,
.single-post .ct-post-title,
.entry-header .page-title,
.entry-header .entry-title,
.entry-header .ct-post-title {
  color: #ffffff !important;
}

/* Blog Post Author and Meta - Make white */
.single-post .entry-meta,
.single-post .entry-meta *,
.single-post .ct-author-name,
.single-post .ct-author-name *,
.entry-header .entry-meta,
.entry-header .entry-meta *,
.entry-meta a,
.entry-meta span,
.entry-meta time {
  color: #ffffff !important;
}

/* Comments Section - Make all text white */
.single-post .ct-comments-title,
.single-post .ct-comment-list,
.single-post .ct-comment-list *,
.single-post .ct-comment-author,
.single-post .ct-comment-author *,
.single-post .ct-comment-meta-data,
.single-post .ct-comment-meta-data *,
.single-post .ct-comment-inner,
.single-post .ct-comment-inner *,
.single-post .comment-form,
.single-post .comment-form *,
.single-post .comment-reply-title,
.single-post .comment-reply-title *,
.single-post .comment-form label,
.single-post .comment-form input,
.single-post .comment-form textarea,
.single-post .comment-form button,
.single-post .ct-comment-navigation-container,
.single-post .ct-comment-navigation-container *,
.single-post .ct-comments-navigation,
.single-post .ct-comments-navigation *,
.single-post .no-comments {
  color: #ffffff !important;
}

/* Contact Form 7 - Semitransparent Dark Background Styles */

/* Form container with semitransparent dark background */
/* .wpcf7 {
  background-color: rgba(0, 0, 0, 0.6) !important;
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
} */

/* Labels - light color for dark background */
.wpcf7 label:not(.wpcf7-form-control-wrap) {
  color: #e0e0e0 !important;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* Input fields - semitransparent dark with light text */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="time"],
.wpcf7 textarea,
.wpcf7 select {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 5px;
  padding: 12px 15px;
  width: 100%;
  transition: all 0.3s ease;
}

/* Placeholder text */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1;
}

/* Focus state */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Textarea specific */
.wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button - styled for dark background */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  background-color: #4a9eff !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  float: left;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background-color: #6bb3ff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.wpcf7 input[type="submit"]:active,
.wpcf7 .wpcf7-submit:active {
  transform: translateY(0);
}

/* Validation messages */
.wpcf7 .wpcf7-not-valid-tip {
  color: #ff6b6b !important;
  background-color: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: 5px;
  display: block;
}

/* Response output messages */
.wpcf7 .wpcf7-response-output {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0 0 0 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450 !important;
  background-color: rgba(70, 180, 80, 0.2) !important;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #dc3232 !important;
  background-color: rgba(220, 50, 50, 0.2) !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #ffb900 !important;
  background-color: rgba(255, 185, 0, 0.2) !important;
}

/* Checkboxes and radio buttons */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  accent-color: #4a9eff;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.wpcf7 .wpcf7-list-item-label {
  color: #e0e0e0 !important;
}

/* Select dropdown */
.wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg width='21' height='13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5.379L20.621 2.5 10.5 12.621.379 2.5 2.5.379l8 8z' fill='%23ffffff' fill-rule='nonzero'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Spinner */
.wpcf7 .ajax-loader {
  filter: brightness(0) invert(1);
}

/* Add left padding to header logo on mobile only */
@media (max-width: 767px) {
  .site-logo-container {
    padding-left: 20px; /* Adjust this value as needed */
  }
}

/* Move hamburger menu to the left on mobile only */
@media (max-width: 767px) {
  .ct-header-trigger {
    order: -1;
    margin-left: 90px !important;
    margin-right: auto !important;
  }

  /* If the trigger is in a flex container, ensure proper ordering */
  [data-column="end"] .ct-header-trigger {
    order: -999;
  }
}

/* Blog Page Pagination - Make all text white */
.blog .ct-pagination,
.blog .ct-pagination *,
.blog .ct-pagination a,
.blog .ct-pagination .page-numbers,
.blog .ct-pagination a.page-numbers,
.blog .ct-pagination span.page-numbers,
.blog .ct-pagination .next,
.blog .ct-pagination .prev,
.home.blog .ct-pagination,
.home.blog .ct-pagination *,
.home.blog .ct-pagination a,
.home.blog .ct-pagination .page-numbers,
.archive .ct-pagination,
.archive .ct-pagination *,
.archive .ct-pagination a,
.archive .ct-pagination .page-numbers {
  color: #ffffff !important;
}

/* Force edge-to-edge for privacy policy page */
.page-id-687 .ct-container > article,
[data-content="normal"] > article,
[data-content="narrow"] > article {
  padding: 0 !important;
  margin-inline: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  --theme-container-width: 100% !important;
}
