/*!
 * Copyright (c) 2025 410 Gone
 * This file is licensed under the MIT license.
 */
/* Form container */
.giftcard-form{
  max-width:400px;
}

/* Amount input */
#amount {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  color: #db898f;
  border: none;
  max-width: 150px;
}
#amount:focus {
  outline: none;
}
#amount.form-control {
  border: none !important;
  box-shadow: none !important;
}
#amount.form-control:focus,
#amount.form-control:hover {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
/* Display currency sign next to amount */
.giftcard-form .input-group {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.giftcard-form .input-group-text {
  font-size: 3rem;
  font-weight: bold;
  color: #db898f;
    border: none;
    background: none;
}

/* Panel title */
.giftcard-panel-title {
  margin-top: 0;
  line-height: 38px!important;
}

@media (min-width: 992px) {
  .giftcard-panel-title {
    font-size: 2rem !important;
  }
}

.giftcard-required-info {
  margin-top: 1rem;
}
.giftcard-required-asterisk {
  color: #dc3545;
  margin-left: 0.25rem;
}

.giftcard-message-counter {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6c757d;
  text-align: right;
}

.giftcard-step {
  margin-bottom: 1.5rem;
}
.giftcard-step-title {
  font-weight: 600;
  margin: 2rem 0 1rem;
}

/* Right side sliding panel */
.giftcard-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 20px rgba(0,0,0,0.3);
  overflow-y: auto;
  z-index: 9999;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  pointer-events: none;
}
.giftcard-panel.open {
  transform: translateX(0);
  pointer-events: auto;
}
.giftcard-panel-close {
  background: none;
  border: 0;
  font-size: 1.5rem;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.giftcard-page-text-top,
.giftcard-page-text-bottom {
  margin: 1rem 0;
}

.giftcard-page {
  text-align: center;
}

.giftcard-page picture {
  display: inline-block;
}

