/*!
 *  Copyright 2022  SenX S.A.S.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
/*!
*  Copyright 2022  SenX S.A.S.
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
:host {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
:host .popup {
  position: relative;
  width: 100%;
  height: auto;
  background-color: var(--warp-view-popup-bg-color, #ffffff);
  top: 10%;
  z-index: 999999;
  background-clip: padding-box;
  border: 1px solid var(--warp-view-popup-border-color, rgba(0, 0, 0, 0.2));
  border-radius: 0.3rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  pointer-events: auto;
  outline: 0;
  margin: 1.75rem auto;
}
@media (min-width: 576px) {
  :host .popup {
    max-width: 800px;
  }
}
:host .popup .header {
  background-color: var(--warp-view-popup-header-bg-color, #c0c0c0);
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}
:host .popup .header .title {
  margin-bottom: 0;
  line-height: 1.5;
  color: var(--warp-view-popup-title-color, #404040);
}
:host .popup .header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
  cursor: pointer;
  color: var(--warp-view-popup-close-color, #404040);
}
:host .popup .body {
  position: relative;
  background-color: var(--warp-view-popup-body-bg-color, #ffffff);
  color: var(--warp-view-popup-body-color, #000000);
  height: auto;
  padding: 10px;
}