body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}

.whiskeypulse-color {
  color: #E38200;
}

.hidden {
  display: none;
}

.black {
  filter: brightness(0);
}

/* .adsbygoogle {
    border: 1px solid red;
} */

/* The Modal (background) */
.signup-modal {
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
  }
  
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* The Close Button */
  .signup-close {
    color: #E6E3D2;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 10px;
  }
  
  .signup-close:hover,
  .signup-close:focus {
    color: #E38200;
    text-decoration: none;
    cursor: pointer;
  }
  
    
  .modal-body {padding: 2px 16px;}
    
  .modal-footer {
    padding: 2px 16px;
    background-color: #86C232;
    color: #222629;
  }
  
  .popup-input {
    height: 30px;
    border-radius: 5px;  
    padding-left: 5px;
  }
  
  .popup-submit:hover {
    cursor: pointer;
  }
  
  .popup-inputs {
    width: 100%;
  }
  
  .popup-sub-cta {
    color: grey;
    font-weight: bold;
    font-size: 18px;
    font-style: italic;
  }
  
  .backrnd-img {
    height: 100%;
    width: 100%;
    opacity: 0.6;
    z-index: -1;
    border-radius: 5px;
    object-fit: cover;
  }

  .errormsg {
    color: red;
    font-style: italic;
    margin-top: 10px;
  }
  
  .signup-success {
    color: green;
    font-style: italic;
    margin-top: 10px;
  }

  .disabled {
    opacity: 0.7;
    filter: grayscale(0.7);
    display: block;
  }
  
  #whiskey-sale-btn:hover {
    cursor: pointer;
  }
  
  @media screen and (max-width: 1000px) {
    .signup-modal-content {
      width: 90%;
      font-size: 20px;
      max-height: 80%;
      overflow: scroll;
    }
  
    .close {
      font-size: 40px;
    }
  
    .popup-inputs{
      margin-top: 5px;
    }
  
    .popup-submit {
      display: block;
      margin: 15px auto 10px  auto;
      background-color: #E38200;
      border-radius: 5px;
      width: 80%;
      height: 35px;
      outline: none;
      border: none;
      font-size: medium;
      font-weight: bolder;
    }
  
    .popup-input {
      width: 80%;
      margin-top: 20px;
    }
    
    .popup-cta {
      color: black;
      font-size: 32px;
      margin: 20px 0 10px 0;
      font-weight: bold;
    }
  
    #whiskey-sale-btn {
      background-color: transparent;
      width: 70%;
      height: 30px;
      font-size: small;
      outline: none;
      border: 1px solid lightgray;
      border-radius: 5px;
      color: black;
    }
  
    /* Modal Content */
    .signup-modal-content {
      position: relative;
      margin: auto;
      padding: 0;
      border: none;
      outline: none;
      width: 100%;
      top: 50%;
      transform: translate(0, -50%);
      box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
      -webkit-animation-name: animatetop;
      -webkit-animation-duration: 0.4s;
      animation-name: animatetop;
      animation-duration: 0.4s;
    }
  
    .signup-popup-overlay {
      position: absolute;
      width: 90%;
      height: 100%;
      top: 0;
      left: 50%;
      transform: translate(-50%, -0%);
      background-color: white;
      border-radius: 5px;
      overscroll-behavior: contain;
    }

    .banner-wrapper{
      overflow: hidden;
      margin-top: 50px;
    }

    .banner-wrapper img{
      width: 100%;
    }

    .login-with-google-btn {
      width: fit-content
    }

    .popup-sub-cta {
      padding: 0 10px;
    }

    .signup-modal-header {
      min-height: 460px;
      position: relative;
      /* border-top-left-radius: 21px;
      border-top-right-radius: 21px; */
      /* opacity: 50%; */
    }
  }
  
  @media screen and (min-width: 1001px) {
    /* Modal Content */
    .signup-modal-content {
      position: relative;
      background-image: url('https://res.cloudinary.com/caskompare/image/upload/v1646176310/Signup_Background_2_gyj0nw.png');
      background-repeat: repeat;
      background-size: 600px 400px;
      margin: auto;
      padding: 0;
      border: none;
      outline: none;
      width: 100%;
      top: 30%;
      box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
      -webkit-animation-name: animatetop;
      -webkit-animation-duration: 0.4s;
      animation-name: animatetop;
      animation-duration: 0.4s;
      color: black;
    }
  
    .popup-inputs{
      margin-top: 5px;
    }
    
    .popup-submit {
      margin: 0 auto 25px auto;
    }
    
    .popup-submit {
      display: block;
      margin: 15px auto 15px auto;
      background-color: #E38200;
      border-radius: 5px;
      width: 40%;
      height: 35px;
      outline: none;
      border: none;
      font-size: 18px;
      font-weight: bolder;
    }
  
    #whiskey-sale-btn {
      background-color: transparent;
      width: fit-content;
      height: 30px;
      font-size: 12px;
      outline: none;
      border: 1px solid lightgray;
      border-radius: 5px;
      color: black;
    }
  
    .popup-input {
      width: 60%;
      margin-top: 10px;
    }
  
    .popup-cta {
      color: black;
      font-size: 36px;
      margin: 20px 0 10px 0;
      font-weight: bold;
    }
  
    .signup-popup-overlay {
      position: absolute;
      width: 40%;
      height: 100%;
      top: 0;
      left: 50%;
      transform: translate(-50%, -0%);
      background-color: white;
    }

    .banner-wrapper{
      overflow: hidden;
      margin-top: 50px;
    }

    .login-with-google-btn {
      width: fit-content;
    }

    .signup-modal-header {
      min-height: 400px;
      position: relative;
      /* border-top-left-radius: 21px;
      border-top-right-radius: 21px; */
      /* opacity: 50%; */
    }

  }

  .not-found-wrapper {
    width: 100%;
    margin: 100px auto;
}

.not-found-wrapper img {
    height: 50vh;
    max-width: 100vw;
    display: block;
    margin: auto;
}

.relative {
  position: relative;
}

.google-icon-wrapper {
  position: absolute;
  margin-top: 1px;
  margin-left: 1px;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background-color: white;
}

.btn-text {
  float: right;
  margin: 11px 11px 0 0;
  color: white;
  font-size: 14px;
  letter-spacing: 0.2px;
  font-family: "Roboto";
}

.login-with-google-btn {
  margin-top: 20px;
  transition: background-color .3s, box-shadow .3s;
    
  padding: 12px 16px 12px 42px;
  border: solid 1px #757575;
  border-radius: 3px;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
  
  color: black;
  font-size: 16px;
  font-weight: 500;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
  
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
  background-color: white;
  background-repeat: no-repeat;
  background-position: 12px 11px;
}

.login-with-google-btn:hover {
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
}
  
.login-with-google-btn:active {
  background-color: #eeeeee;
}
  
.login-with-google-btn:focus {
  outline: none;
  box-shadow: 
    0 -1px 0 rgba(0, 0, 0, .04),
    0 2px 4px rgba(0, 0, 0, .25),
    0 0 0 3px #c8dafc;
}

.or {
  margin-top: 10px;
}

.aff-disc {
  padding-bottom: 20px;
}

/* ========================================= */
/*  WhiskeyPulse – Popup Modal               */
/* ========================================= */

.wp-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.wp-popup-modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.wp-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.wp-popup-content {
  position: relative;
  max-width: 720px;
  width: 90%;
  background: #1A1A18; /* Dark charred-oak tone */
  border: 2px solid #E38200; /* Whiskey amber border */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: wpPopupSlideUp 0.5s ease forwards;
}

@keyframes wpPopupSlideUp {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.wp-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  z-index: 10;
}

.wp-popup-close:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.wp-popup-inner {
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  color: #E6E3D2; /* Cream text */
}

.wp-popup-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #E6E3D2;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.wp-popup-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #c5c2b6; /* Softer cream */
}

.wp-popup-subtitle strong {
  color: #E38200; /* Whiskey amber highlight */
}

/* Buttons & Form */
.wp-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  background: white;
  color: #111;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wp-google-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.wp-popup-divider {
  position: relative;
  margin: 2rem 0;
  color: #9b8f77; /* muted cask tone */
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wp-popup-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: #444;
}

.wp-popup-divider span {
  background: #1A1A18;
  padding: 0 1.2rem;
}

.wp-popup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 360px;
  margin: 0 auto;
}

.wp-popup-input {
  padding: 1.1rem 1.4rem;
  font-size: 1.05rem;
  background: #1f1f1d; /* Deep barrel tone */
  border: 1px solid #555;
  border-radius: 10px;
  color: #E6E3D2;
  outline: none;
  transition: border 0.2s;
}

.wp-popup-input:focus {
  border-color: #E38200;
  box-shadow: 0 0 0 3px rgba(227, 130, 0, 0.25);
}

.wp-popup-submit {
  background: #E38200;
  color: #1A1A18;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 1.1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.wp-popup-submit:hover {
  background: #c67000;
}

.wp-popup-decline {
  margin-top: 1.5rem;
  background: none;
  border: none;
  color: #9b9b9b;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.wp-popup-decline:hover {
  color: #E6E3D2;
}

.wp-popup-footer-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #9b9b9b;
}

/* Error message */
.wp-error-msg {
  color: #ff6b6b;
  font-weight: 500;
  min-height: 1.4em;
  margin: 0.5rem 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  display: none;
}

.wp-error-msg:not(:empty) {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 480px) {
  .wp-popup-inner {
    padding: 2.5rem 1.5rem 2rem;
  }
  .wp-popup-inner h2 {
    font-size: 2rem;
  }

  .wp-google-btn {
    width: 60%;
  }
}
