/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

:root {
  --bg-body-color: #f3f4f6;
  --available-color: #15803d;
  --unavailable-color: #ef4444;
  --available-soon: #334155;
  --separator-color: #e2e8f0;
  --border-color-custom: #cbd5e1;
}

body {
  background: var(--bg-body-color);
}

body.request-product {
  overflow: hidden;
}

.logged-in.admin-bar {
  padding-top: 50px;
}
.btn-available,
.btn-unavailable {
  pointer-events: none;
}

.product-available .btn-available {
  display: block;
}
.product-available .btn-unavailable {
  display: none;
}

.product-unavailable .btn-available {
  display: none;
}
.product-unavailable .btn-unavailable {
  display: block;
}

.product-unavailable .stock .elementor-icon-list-text {
  color: var(--unavailable-color) !important;
}

.stock-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--e-global-typography-primary-font-family);
  flex-wrap: wrap;
}

.separator-vertical {
  width: 2px;
  height: 24px;
  background-color: #e2e8f0;
}

.button-available-filter:hover,
.button-unavailable-filter:hover {
  background: none !important;
}

.button-available-filter {
  background: none;
  border: none;
  padding: 0 !important;
  color: var(--available-color);
}

.button-available-filter:hover {
  color: var(--available-color) !important;
}

.button-unavailable-filter {
  background: none;
  border: none;
  padding: 0 !important;
  color: var(--unavailable-color);
}

.button-unavailable-filter:hover {
  color: var(--unavailable-color) !important;
}

.content-tp {
  display: none;
}

.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: 650px;
  height: 100%;
  background-color: white;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 99;
  overflow: auto;
}

.request-product .sidebar {
  transform: translateX(0%);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 98;
  display: none;
}

.formResa {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.input {
  width: calc(50% - 10px) !important;
  padding: 10px !important;
  border: 1px solid var(--border-color-custom) !important;
  border-radius: 8px !important;
}

.input-group-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin-top: 10px;
}

.label-form {
  font-size: 1.5rem;
  font-weight: bold;
}

.dateWrapper {
  display: flex;
}

.input-group-date {
  width: 50%;
}

.date-info-wrapper {
  width: 50%;
}

.label-form {
  color: var(--e-global-color-text);
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  text-transform: var(--e-global-typography-text-text-transform);
  line-height: var(--e-global-typography-text-line-height);
  margin-bottom: 15px;
}

.date-group .label-form {
  margin-top: 20px;
}

input#datepicker {
  display: none;
}

.date-info .date {
  color: var(--e-global-color-text);
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  text-transform: var(--e-global-typography-text-text-transform);
  line-height: var(--e-global-typography-text-line-height);
}

.dateWrapper {
  gap: 2rem;
}

.date-info-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
}

.date-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: end;
}

.checkin {
  margin-top: 1rem;
}

.date-value {
  font-weight: 700;
}

p.submit-info {
  font-size: 0.8rem;
  text-align: right;
}

.submitWrapper {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-top: 20px;
}

button.submitBtn {
  background-color: var(--e-global-color-primary);
  font-size: var(--e-global-typography-136c14a-font-size);
  font-weight: var(--e-global-typography-136c14a-font-weight);
  text-transform: var(--e-global-typography-136c14a-text-transform);
  line-height: var(--e-global-typography-136c14a-line-height);
  fill: var(--e-global-color-secondary);
  color: var(--e-global-color-secondary);
  border-radius: 5px 5px 5px 5px;
  padding: 10px 10px 10px 10px;
  border: none;
}

.date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-name {
  font-family: var(--e-global-typography-3e7ed1a-font-family), Sans-serif;
  font-size: var(--e-global-typography-3e7ed1a-font-size);
  font-weight: var(--e-global-typography-3e7ed1a-font-weight);
  text-transform: var(--e-global-typography-3e7ed1a-text-transform);
  line-height: var(--e-global-typography-3e7ed1a-line-height);
  color: var(--e-global-color-primary);
}

.product-libelle {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: var(--e-global-typography-primary-font-size);
  font-weight: var(--e-global-typography-primary-font-weight);
  text-transform: var(--e-global-typography-primary-text-transform);
  line-height: var(--e-global-typography-primary-line-height);
  margin: -10px 0px 0px 0px;
  padding: 6px 6px 6px 6px;
  background-color: var(--e-global-color-293e747);
  border-radius: 5px 5px 5px 5px;
}

.dialog-widget-content .elementor-message-success {
  display: block !important;
}

.unavailable-message {
  display: none !important;
}

button.button-clear-filters {
  background: none;
  border: none;
  padding: 0 !important;
  color: var(--available-soon);
  margin-left: 30px;
}

.stock-buttons button[disabled] {
  opacity: 0.4;
}

.stock-buttons button:focus {
  background: none !important;
}

.stock-buttons .button-available-filter:focus {
  color: var(--available-color) !important;
}

.stock-buttons .button-unavailable-filter:focus {
  color: var(--unavailable-color) !important;
}

.no-results {
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
}

@media all and (max-width: 767px) {
  .sidebar {
    width: 90%;
  }

  .dateWrapper {
    flex-direction: column;
  }

  .input-group-date,
  .date-info-wrapper {
    width: 100%;
  }

  button.button-clear-filters {
    margin-left: 0;
  }
}

.tippy-box {
  max-width: 300px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 14px;
  line-height: 1.4;
}

.login-disabled .logoutBtn {
  display: none;
}

.tippy-content::-webkit-scrollbar-thumb {
  background-color: #fff;
}

.tippy-content::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: transparent;
}
