@font-face {
    font-family: "NeutraTextTF-BookAlt";
    src: url('../fonts/NeutraTextTF-BookAlt-webfont.eot?') format('embedded-opentype'),
         url('../fonts/NeutraTextTF-BookAlt-webfont.woff') format('woff'),
         url('../fonts/NeutraTextTF-BookAlt-webfont.ttf') format('truetype'),
         url('../fonts/NeutraTextTF-BookAlt-webfont.svg#') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "NeutraTextTF-Bold";
    src: url('../fonts/NeutraTextTF-Bold-webfont.eot?') format('embedded-opentype'),
         url('../fonts/NeutraTextTF-Bold-webfont.woff') format('woff'),
         url('../fonts/NeutraTextTF-Bold-webfont.ttf') format('truetype'),
         url('../fonts/NeutraTextTF-Bold-webfont.svg#') format('svg');
    font-weight: normal;
    font-style: normal;
}
.gift-card {
  text-align: center;  
  padding: 0;
  max-width: 512px;
  font-family: NeutraTextTF-BookAlt, Arial, Helvetica, sans-serif;
}
.gift-card .gift-card-logo {
  text-align: center;  
  padding: 1rem;
}
.gift-card .gift-card-qr-code {
  text-align: center;
  margin: 1rem;
}
.gift-card .gift-card-message {
  text-align: left;
  padding: 1rem 2rem 4rem 2rem;
}
.gift-card .gift-card-box {
  border: 2px solid #000000;
  padding: 1rem;
  text-align: center;
}
.gift-card .gift-card-box .gift-card-recipient,
.gift-card .gift-card-box .gift-card-amount {
  font-size: 1.6rem;
  font-family: NeutraTextTF-Bold;
  line-height: .8em;
  padding-bottom: .8rem;
}
.gift-card ul {
  padding-left: 1rem;
  padding-top: 1rem;
  font-size: .75rem;
  text-align: left;
  line-height: 1.25em;
}
.gift-card .gift-card-contact {
  font-size: .75rem;
  padding-top: 3rem;
}

/* gift card 2 */

.gift-card-02 {
  text-align: center;  
  padding: 0;
  font-family: NeutraTextTF-BookAlt, Arial, Helvetica, sans-serif;
}
.gift-card-02 .gift-card-header {
  margin: 2rem 0;
}
.gift-card-02 .gift-card-header h1 {
  font-family: NeutraTextTF-Bold;
  font-size: 1.5rem;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}
.gift-card-02 .gift-card-header h2 {
  font-family: NeutraTextTF-Bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #727272 !important;
  padding: 0;
  margin: 0;
}
.gift-card-02 .gift-card-logo {
  position: relative;
  width: 100%;
  height: 100%;
}
.gift-card-02 .gift-card-logo img {
  position: absolute
  top: 0;
  left: 50%;
}

.gift-card-box {
    width: 100%;
}


.gift-card-02 .gift-card-box {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%,0);
  padding: 0;
  text-align: center;
  font-size: .7rem;
  max-width: 337px;
  margin: 0 auto;
}
.gift-card-02 .gift-card-box .gift-card-amount {
  font-size: 1.2rem;
  font-family: NeutraTextTF-Bold;
  margin-top: .8rem;
  margin-bottom: 1.1rem;
  padding: 0;
  line-height: 1.5rem;
}
.gift-card-02 .gift-card-box .gift-card-amount {
  color: #279f79;
  font-size: 1.6rem;
  padding: 0;
  line-height: 1.7rem;
}
.gift-card-02 .gift-card-box .gift-card-amount span {
  font-size: 1.8rem;
}
.gift-card-02 .gift-card-box .gift-card-recipient {
  font-size: 1.8rem;
  font-family: NeutraTextTF-Bold;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: 0;
  line-height: 1.8rem;
}
.gift-card-02 .gift-card-box .gift-card-from {
  font-size: 1.3rem;
  padding-bottom: 1.85rem;
  line-height: 1.75rem;
}
.gift-card-02 .gift-card-box div {}
.gift-card-02 .gift-card-message {
  text-align: center;
  font-size: 1.1rem;
  padding: 1rem 0 0 0;
  max-width: 280px;
  margin: 0 auto;
}
.gift-card-02 .gift-card-qr-code .gift-card-qr-code-left {
  text-align: right;
  font-size: 2rem;
  font-family: NeutraTextTF-Bold;
  line-height: initial;
  padding: 0 2rem;
}
.gift-card-02 .gift-card-qr-code .gift-card-qr-code-right {
  text-align: left;
  padding: 0 1.25rem;
}
.gift-card-02 .gift-card-footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  flex-direction: column;
  font-size: .55rem;
}
.gift-card-02 .gift-card-footer .gift-card-footer-left {
  text-align: center;
}
.gift-card-02 .gift-card-footer .gift-card-contact {
  padding-top: .5rem;
}
.gift-card-02 .gift-card-footer .gift-card-footer-right {
  text-align: center;
}
.gift-card-02 .gift-card-footer .gift-card-footer-right ul {
  text-align: left;
  margin: 0;
  padding: 0;
  padding-left: 1.25rem;
}
.gift-card-02 .gift-card-footer .gift-card-footer-right ul {
  line-height: .75rem;
}

/* Extra small devices (portrait phones, less than 576px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .gift-card-02 .gift-card-footer {
    flex-direction: row;
  }
  .gift-card-02 .gift-card-footer .gift-card-footer-left {
    text-align: right;
    padding-right: 1rem;
    width: 50% !important;
    min-width: 50% !important;
    max-width: 50% !important;
  }
  .gift-card-02 .gift-card-footer .gift-card-footer-right {
    text-align: left;
    border-left: 2px solid #7f7f7f;
    width: 50% !important;
    min-width: 50% !important;
    max-width: 50% !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}


@media print {
   html { -webkit-print-color-adjust: exact; }
  .gift-card {
    max-width: 53% !important;
    width: 53% !important;
    min-width: 53% !important;
  }
}


#gc-new-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin-top: 2rem;
}

/* Ensure the box stays centered in both screen & PDF */
#gc-new-box {
    background-color: #e0e0e0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    width: 420px;
    position: relative;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    margin: auto; /* Helps in PDF rendering */
}

/* Adjust logo for better PDF positioning */
#gc-new-logo {
    position: absolute;
    top: -30px; /* Adjusted slightly for PDFs */
    left: 37%; /*beebop*/
    transform: translateX(-50%);
    width: 240px;
    height: auto;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);

}

#gc-new-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #008f9a;
    margin-top: 2rem;
}

/* New text formatting */
#gc-new-recipient, #gc-new-from {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0.6rem 0;
}

/* Fix for PDF alignment issues */
@media print {
    #gc-new-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: relative;
    }

    #gc-new-box {
        display: block;
        margin: 0 auto; /* Forces proper centering */
        page-break-inside: avoid; /* Helps in PDFs */
    }

    #gc-new-logo {
    left: 33%;
        right: 0; /* Reset right */
        margin-left: auto;  /* Forces centering */
        margin-right: auto; /* Forces centering */
        display: block; /* Ensures it respects margins */
    }
}
