/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Custom Booking Form Styles (Homepage) */
.home .wpcf7-form {
  max-width: 100%;
  margin: 0 auto;
}

.home .wpcf7-form p {
  margin-bottom: 10px;
}

.home .wpcf7-form label {
  font-weight: 600;
  color: #2881be; /* Blue color for labels from the design */
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.home .wpcf7-form input:not([type="submit"]),
.home .wpcf7-form textarea {
  background-color: #eaf5ff !important; /* Light blue background */
  border: 1.5px solid #7cb3e3 !important; /* Blue border */
  border-radius: 15px !important; /* Rounded corners matching the image */
  padding: 12px 20px !important;
  color: #333;
  width: 100%;
  box-shadow: none;
  transition: all 0.3s ease;
}

.home .wpcf7-form input:focus,
.home .wpcf7-form textarea:focus {
  background-color: #fff !important;
  border-color: #167ac6 !important;
}

.home .wpcf7-form input::placeholder,
.home .wpcf7-form textarea::placeholder {
  color: #888;
}

.home .wpcf7-form textarea {
  height: 100px;
}

/* Custom Submit Button */
.home .wpcf7-form .wpcf7-submit {
  background-color: #167ac6 !important;
  color: #fff !important;
  border-radius: 15px !important;
  padding: 0px 60px !important;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  border: none !important;
  display: block;
  margin: 0px auto 0;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.home .wpcf7-form .wpcf7-submit:hover {
  background-color: #0e5a94 !important;
  transform: translateY(-2px);
}

.home .wpcf7-form .wpcf7-submit:active {
  transform: translateY(0);
}

/* Fix for Flatsome's default label and break behavior */
.home .wpcf7-form br {
  display: none;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/* Custom accordion-ui styles for support page */
.accordion-ui {
  width: 100%;
  margin: 0 auto;
}

.accordion-ui .accordion-item {
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 20px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--ts-shadow);
}

.accordion-ui .accordion-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 22px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  color: #102d4f;
  text-decoration: none;
  border: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.accordion-ui .accordion-title span {
  flex: 1;
  order: 1;
}

.accordion-ui .accordion-title .toggle {
  position: relative;
  left: auto;
  top: auto;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  background: #eef5ff;
  border: 1px solid #c5d9ef;
  color: #1465b4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  order: 2;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.accordion-ui .accordion-title.active .toggle,
.accordion-ui .accordion-item.open .accordion-title .toggle {
  background: #167ac6;
  color: #ffffff;
  transform: rotate(180deg);
}

.accordion-ui .accordion-inner {
  padding: 18px 22px 22px;
  background: #ffffff;
  color: #5e6a7f;
  font-size: 0.98rem;
  line-height: 1.8;
}

.accordion-ui .accordion-item:last-child {
  margin-bottom: 0;
}
