/*
Theme Name: Easy Blog PBJ Main
Theme URI: https://Bookings.PhotoboothJamaica.com/
Description: A child theme for Easy Blog
Author: Your Photobooth Jamaica
Author URI: https://PhotoboothJamaica.com/
Template: easy-blog
Version: 3.0
Text Domain: easy-blog-pbj-main
*/

/* Import parent theme styles */
@import url("../easy-blog/style.css");

/* Container styling */
.pbj-form-wrapper .form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

/* Input + Select field styling */
.pbj-form-wrapper input[type="text"],
.pbj-form-wrapper input[type="email"],
.pbj-form-wrapper input[type="tel"],
.pbj-form-wrapper input[type="number"],
.pbj-form-wrapper input[type="date"],
.pbj-form-wrapper input[type="password"],
.pbj-form-wrapper select {
  color: blue !important;
  font-weight: bold !important;
  width: 100% !important;
  max-width: 600px;
  box-sizing: border-box;
}

/* Form Layout Blocks */
.form-row,
.form-cell {
  margin: 0;
  padding: 0 !important;
}

.form-row {
  margin-bottom: 0.3em !important;
  clear: both;
}

.form-row::after {
  content: "";
  display: table;
  clear: both;
}

.form-cell {
  padding: 0.2em 10px 0.2em 0;
  box-sizing: border-box;
  display: block;
}

.center {
  text-align: center;
}

.form-cell.half {
  width: 50%;
  float: left;
  padding: 0 5px 0 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.third {
  width: 33.33%;
  float: left;
}

/* Responsive layout */
@media (max-width: 600px) {
  .half,
  .third {
    width: 100%;
    float: none;
  }
}

/* Unified PBJ label styles */
.pbj-label {
  font-size: 18px;
  letter-spacing: 1px;
  word-spacing: 1px;
  color: #000;
  font-weight: bold;
}

/* Required indicator */
.pbj-required {
  color: #ff0000;
  font-weight: bold;
  margin-left: 4px;
}

/* Optional Note Styles */
.pbj-note {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

/* Form divider */
.form-divider {
  height: 5px;
  background-color: #ccc;
  border: none;
  width: 100%;
}

/* Button Styling */
.submit-button {
  padding: 12px 24px;
  font-size: 18px;
  background-color: #3498db;
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #1f5f91;
}

.submit-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Quote Header */
.pbj-quote-header {
  text-align: center !important;
  color: #000 !important;
  font-weight: 600 !important;
  font-size: 30px !important;
}

/* PBJ Conditional Logic Hidden by Default */
div[pbj-show-if],
div[pbj-hide-if],
span[pbj-show-if],
span[pbj-hide-if],
p[pbj-show-if],
p[pbj-hide-if],
label[pbj-show-if],
label[pbj-hide-if],
section[pbj-show-if],
section[pbj-hide-if],
li[pbj-show-if],
li[pbj-hide-if],
tr[pbj-show-if],
tr[pbj-hide-if],
td[pbj-show-if],
td[pbj-hide-if] {
  display: none;
}

/* Select Option Styling */
select option {
  color: #0000ff;
  font-weight: bold;
  background-color: #fff;
}

/* Table-based form layout (admin) */
table.form-table {
  width: 100%;
  border-collapse: collapse;
}

.form-table td {
  border: none !important;
  padding: 8px 5px;
  vertical-align: top;
}

.form-table textarea {
  border: none;
  outline: none;
  box-shadow: none;
}

/* Experience Options */
.experience-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.experience-option label {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  color: blue !important;
}

/* Notice and Message Boxes */
.popular-upgrade-notice {
  background-color: #fff8e1;
  border-left: 6px solid #ffa000;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #e65100;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.popular-upgrade-notice span {
  font-weight: normal;
  font-size: 14px;
  display: block;
  margin-top: 4px;
}

.email-match-message {
  background-color: #e6f4ea;
  border-left: 5px solid #34a853;
  padding: 12px 16px;
  font-size: 15px;
  color: #202124;
  margin-bottom: 15px;
  border-radius: 4px;
  font-family: 'Segoe UI', sans-serif;
}

.event-intro-message {
  text-align: center;
  color: red;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 15px;
}

.event-requirements-message {
  font-size: 15px;
  color: black;
  font-weight: 500;    
  line-height: 1.6;
  padding: 10px 20px;
  margin-bottom: 5px;
}

/* Tight Labels */
label.tight-label {
  line-height: 1.1 !important;
}

label.tight-label br {
  line-height: 1px !important;
}

/* Spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-inline {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid #0d47a1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
