/*
Theme Name: TRB Kyoto Divi Child
Theme URI: https://trbbiketour.com/kyoto/
Description: Child theme for the TRB Bike Tours Kyoto one-page launch site. Requires the Divi parent theme.
Author: TRB Bike Tour
Author URI: https://trbbiketour.com/
Version: 1.3.2
Template: Divi
Text Domain: trb-kyoto-divi-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * Site-specific styles are loaded from assets/css/trb-kyoto.css.
 * Do not edit files in the parent Divi theme. Add PHP hooks and filters
 * to functions.php and presentation rules to the dedicated CSS file.
 */

 
/* =========================================
   TRB KYOTO - BOOKLY RESULT PAGES
========================================= */

.trb-result-page {
  background: #f2f8f9;
  padding: 80px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #17242c;
}

.trb-result-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 48px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(23,36,44,.07);
  text-align: center;
}

.trb-result-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e5f8fa;
  color: #00afc1;
  font-size: 34px;
}

.trb-result-eyebrow {
  color: #008c9b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 12px;
}

.trb-result-container h1 {
  color: #17242c;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 18px;
}

.trb-result-lead {
  color: #52636b;
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 32px;
}

.trb-result-info,
.trb-result-notice {
  padding: 26px;
  border-radius: 12px;
  margin-bottom: 22px;
  text-align: left;
}

.trb-result-info {
  background: #f1fafb;
  border: 1px solid #d6e7e9;
}

.trb-result-notice {
  background: #fff8db;
  border: 1px solid #f3e5a4;
}

.trb-result-info h2,
.trb-result-notice h2 {
  color: #17242c;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}

.trb-result-info h2 i,
.trb-result-notice h2 i {
  color: #008c9b;
  margin-right: 8px;
}

.trb-result-info p,
.trb-result-notice p {
  color: #52636b;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.trb-result-notice a {
  display: inline-block;
  margin-top: 14px;
  color: #008c9b;
  font-size: 13px;
  text-decoration: underline;
}

.trb-result-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  padding: 16px 28px;
  margin: 10px auto 25px;
  background: #00afc1;
  border-radius: 8px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease;
}

.trb-result-button:hover {
  background: #008c9b;
}

.trb-result-help {
  color: #52636b;
  font-size: 14px;
  margin: 0;
}

.trb-result-help a {
  color: #008c9b;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .trb-result-page {
    padding: 35px 12px;
  }

  .trb-result-container {
    padding: 36px 20px;
    border-radius: 14px;
  }

  .trb-result-info,
  .trb-result-notice {
    padding: 20px;
  }

  .trb-result-lead {
    font-size: 15px;
  }

  .trb-result-button {
    width: 100%;
  }
}


/* =========================================
   TRB KYOTO - CANCELLATION UNAVAILABLE
========================================= */

.trb-result-warning-icon {
  background: #fff1dd;
  color: #b7791f;
}

.trb-result-denied .trb-result-notice h2 i {
  color: #b7791f;
}

.trb-result-denied .trb-result-info a {
  color: #008c9b;
  text-decoration: underline;
}


/* TRB KYOTO - BOOKING APPROVED */

.trb-result-approved .trb-result-icon {
  background: #e5f8fa;
  color: #00afc1;
}

.trb-result-approved .trb-result-info h2 i {
  color: #00afc1;
}

.trb-result-approved .trb-result-notice h2 i {
  color: #b7791f;
}


/* =========================================
   TRB KYOTO - BOOKING ACTION UNAVAILABLE
========================================= */

.trb-result-action-denied .trb-result-icon {
  background: #fff1dd;
  color: #b7791f;
}

.trb-result-action-denied .trb-result-notice h2 i {
  color: #b7791f;
}

.trb-result-action-denied .trb-result-info h2 i {
  color: #008c9b;
}


/* =========================================
   TRB KYOTO - BOOKING REJECTED
========================================= */

.trb-result-rejected .trb-result-icon {
  background: #fff1dd;
  color: #b7791f;
}

.trb-result-rejected .trb-result-info h2 i {
  color: #00afc1;
}

.trb-result-rejected .trb-result-notice h2 i {
  color: #b7791f;
}

/* =========================================
   TRB KYOTO | Booking Modal Header Fix
========================================= */

body:has(.trbk-booking-modal:not([aria-hidden="true"]))
.et-l--header,
body:has(.trbk-modal:not([aria-hidden="true"]))
.et-l--header,
body:has(.trb-booking-modal:not([aria-hidden="true"]))
.et-l--header {
    visibility: hidden !important;
}