/*============================================
  EasyDonate — Custom CSS Override
  Based on original system styles + custom buttons
  Main brand color: #9d00fc
=============================================*/

body.oc-loading, body.oc-loading * {
  cursor: wait !important;
}

/* Loading indicator stripe */
.stripe-loading-indicator {
  height: 5px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 2000;
}
.stripe-loading-indicator .stripe,
.stripe-loading-indicator .stripe-loaded {
  height: 5px;
  display: block;
  background: #9d00fc;
  position: absolute;
  box-shadow: inset 0 1px 1px -1px #fff, inset 0 -1px 1px -1px #fff;
}
.stripe-loading-indicator .stripe {
  width: 100%;
  animation: oc-infinite-loader 60s linear;
}
.stripe-loading-indicator .stripe-loaded {
  width: 100%;
  transform: translate3d(-100%, 0, 0);
  opacity: 0;
}
.stripe-loading-indicator.loaded {
  opacity: 0;
  transition: opacity 0.4s linear;
  transition-delay: 0.3s;
}
.stripe-loading-indicator.loaded .stripe {
  animation-play-state: paused;
}
.stripe-loading-indicator.loaded .stripe-loaded {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s linear;
}
.stripe-loading-indicator.hide {
  display: none;
}

/* Flash messages */
body > p.flash-message {
  position: fixed;
  width: 500px;
  left: 50%;
  top: 13px;
  margin-left: -250px;
  color: #fff;
  font-size: 14px;
  padding: 10px 30px 10px 15px;
  z-index: 10300;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
  text-align: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);
  border-radius: 3px;
}
body > p.flash-message.fade {
  opacity: 0;
  transition: all 0.5s, width 0s;
  transform: scale(0.9);
}
body > p.flash-message.fade.in {
  opacity: 1;
  transform: scale(1);
}
body > p.flash-message.success { background: #00aa00; }
body > p.flash-message.error { background: #aa0000; }
body > p.flash-message.warning { background: #fba700; }
body > p.flash-message.info { background: #9d00fc; }
body > p.flash-message button.close {
  position: absolute;
  right: 10px;
  top: 8px;
  color: white;
  font-size: 21px;
  font-weight: bold;
  opacity: 0.4;
  background: transparent;
  border: 0;
  cursor: pointer;
}
body > p.flash-message button.close:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  body > p.flash-message {
    left: 10px;
    right: 10px;
    top: 10px;
    margin-left: 0;
    width: auto;
  }
}

/* Loader for inline actions */
a.oc-loading:after,
button.oc-loading:after,
span.oc-loading:after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: .4em;
  height: 1em;
  width: 1em;
  animation: oc-rotate-loader 0.8s infinite linear;
  border: .2em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.5;
}

/* ================================
   Custom Buttons (Main color #9d00fc)
================================ */
button {
  font-size: 18px;
  background-color: #9d00fc;
  color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / 25%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  z-index: 1;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 1.5rem;
  font-weight: 900;
  transition: all 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}
button:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
  z-index: -1;
  background-color: #9d00fc !important;
  box-shadow: 0 -4px rgba(50, 0, 77, 0.5) inset,
              0 4px rgba(200, 100, 255, 0.99) inset,
              -4px 0 rgba(200, 100, 255, 0.5) inset,
              4px 0 rgba(50, 0, 77, 0.5) inset;
}
button:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}
button:hover:before {
  box-shadow: 0 -4px rgb(0 0 0 / 50%) inset,
              0 4px rgb(255 255 255 / 20%) inset,
              -4px 0 rgb(255 255 255 / 20%) inset,
              4px 0 rgb(0 0 0 / 50%) inset;
}
button:hover:after {
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
}
button:active {
  transform: translateY(4px);
}
button:active:after {
  box-shadow: 0 0px 0 0 rgb(0 0 0 / 15%);
}

.btn-sm {
  font-size: 18px;
  background-color: #9d00fc;
  color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / 25%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  z-index: 1;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 1.5rem;
  font-weight: 900;
  transition: all 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}
.btn-sm:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
  z-index: -1;
  background-color: #9d00fc !important;
  box-shadow: 0 -4px rgba(50, 0, 77, 0.5) inset,
              0 4px rgba(200, 100, 255, 0.99) inset,
              -4px 0 rgba(200, 100, 255, 0.5) inset,
              4px 0 rgba(50, 0, 77, 0.5) inset;
}
.btn-sm:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}
.btn-sm:hover:before {
  box-shadow: 0 -4px rgb(0 0 0 / 50%) inset,
              0 4px rgb(255 255 255 / 20%) inset,
              -4px 0 rgb(255 255 255 / 20%) inset,
              4px 0 rgb(0 0 0 / 50%) inset;
}
.btn-sm:hover:after {
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
}
.btn-sm:active {
  transform: translateY(4px);
}
.btn-sm:active:after {
  box-shadow: 0 0px 0 0 rgb(0 0 0 / 15%);
}

.btn-purple {
  font-size: 18px;
  background-color: #9d00fc;
  color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / 25%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  z-index: 1;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 1.5rem;
  font-weight: 900;
  transition: all 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}
.btn-purple:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
  z-index: -1;
  background-color: #9d00fc !important;
  box-shadow: 0 -4px rgba(50, 0, 77, 0.5) inset,
              0 4px rgba(200, 100, 255, 0.99) inset,
              -4px 0 rgba(200, 100, 255, 0.5) inset,
              4px 0 rgba(50, 0, 77, 0.5) inset;
}
.btn-purple:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}
.btn-purple:hover:before {
  box-shadow: 0 -4px rgb(0 0 0 / 50%) inset,
              0 4px rgb(255 255 255 / 20%) inset,
              -4px 0 rgb(255 255 255 / 20%) inset,
              4px 0 rgb(0 0 0 / 50%) inset;
}
.btn-purple:hover:after {
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
}
.btn-purple:active {
  transform: translateY(4px);
}
.btn-purple:active:after {
  box-shadow: 0 0px 0 0 rgb(0 0 0 / 15%);
}

.filter-button {
  font-size: 18px;
  background-color: #9d00fc;
  color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / 25%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  z-index: 1;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 1.5rem;
  font-weight: 900;
  transition: all 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}  

.filter-button:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
  z-index: -1;
  background-color: #9d00fc !important;
  box-shadow: 0 -4px rgba(50, 0, 77, 0.5) inset,
              0 4px rgba(200, 100, 255, 0.99) inset,
              -4px 0 rgba(200, 100, 255, 0.5) inset,
              4px 0 rgba(50, 0, 77, 0.5) inset;
}
.filter-button:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}
.filter-button:hover:before {
  box-shadow: 0 -4px rgb(0 0 0 / 50%) inset,
              0 4px rgb(255 255 255 / 20%) inset,
              -4px 0 rgb(255 255 255 / 20%) inset,
              4px 0 rgb(0 0 0 / 50%) inset;
}
.filter-button:hover:after {
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
}
.filter-button:active {
  transform: translateY(4px);
}
.filter-button:active:after {
  box-shadow: 0 0px 0 0 rgb(0 0 0 / 15%);
}

/* From Uiverse.io by TechByElijah */ 
.input-container {
  position: relative;
}

.input {
  font-size: 1em;
  padding: 0.6em 1em;
  border: none;
  border-radius: 6px;
  background-color: #f8f8f8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  max-width: 200px;
  color: #333;
}

.input:hover {
  background-color: #f2f2f2;
}

.input:focus {
  outline: none;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.input::placeholder {
  color: #999;
}

.highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #9d00fc;
  transition: width 0.3s ease;
}

.input:focus + .highlight {
  width: 100%;
}

/* Optional: Animation on focus */
@keyframes input-focus {
  from {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  }

  to {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
}

.input:focus {
  animation: input-focus 0.3s ease;
}

.cart-cost {
  color: #027802;
}

.fa-ruble-sign {
  color: #027802;
}

.basket-button position-relative {
  background-color: #9d00fc;
}

/* From Uiverse.io by kennyotsu */ 
.notifications-container {
  width: 320px;
  height: auto;
  font-size: 0.875rem;
  line-height: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flex {
  display: flex;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.alert-warning {
  background-color: #fba700;
  border-left-width: 4px;
  border-color: rgb(250 204 21);
  border-radius: 0.375rem;
  padding: 1rem;
}

.alert-svg {
  height: 1.25rem;
  width: 1.25rem;
  color: #fba700;
}

.alert-prompt-wrap {
  margin-left: 0.75rem;
  color: rgb(202 138 4);
}

.alert-prompt-link {
  font-weight: 500;
  color: rgb(141, 56, 0);
  text-decoration: underline;
}

.alert-prompt-link:hover {
  color: rgb(202 138 4);
}


/* Animations */
@keyframes oc-rotate-loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes oc-infinite-loader {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(-0.09765625%); }
}
