/*
Theme Name: 7FLYS
Theme URI: https://7flys.com/
Author: 7FLYS
Description: 7FLYS UAS power and flight electronics website theme.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sevenflys
*/

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
}

.sevenflys-cookie-banner {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 30px;
  width: min(800px, calc(100% - 40px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid #e7e3e1;
  background: #f1efed;
  color: #151515;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.18);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.sevenflys-cookie-banner[hidden] {
  display: none;
}

.sevenflys-cookie-banner.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sevenflys-cookie-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.sevenflys-cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}

.sevenflys-cookie-copy p {
  margin: 0;
  color: #5d5855;
  font-size: 13px;
  line-height: 1.55;
}

.sevenflys-cookie-copy a {
  color: #741d2a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#sevenflys-cookie-accept {
  flex: 0 0 auto;
  min-width: 104px;
  border: 0;
  background: #741d2a;
  color: #fff;
  padding: 11px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease;
}

#sevenflys-cookie-accept:hover,
#sevenflys-cookie-accept:focus-visible {
  background: #8b2635;
}

#sevenflys-cookie-accept:focus-visible,
.sevenflys-cookie-copy a:focus-visible {
  outline: 2px solid #151515;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .sevenflys-cookie-banner {
    left: 0;
    bottom: 0;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px 20px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    transform: translateY(18px);
  }

  .sevenflys-cookie-banner.is-visible {
    transform: translateY(0);
  }

  #sevenflys-cookie-accept {
    width: 100%;
  }
}
