html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  padding:0;
}

body {
  margin-bottom: 60px;
  padding: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.card {
    width: 600px;
    border: none;
    height: auto;
    padding: 20px;
    box-shadow: 0px 5px 20px 0px #d2dae3;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center
}
.squareinputs input {
    width: 40px;
    height: 40px
}
.brewerName {
    font-size: 1.5em;
    color: #F26524;
    font-weight:bold;
}
.beerName {
    font-size: 1.2em;
    color: #F26524;
    font-weight: bold;
}
.beerInfo{
    background-color: #eee;

}
#shoppingcart {
    height: 35px;


}
#headerBackArrow {
    font-size: 20pt;
    position: absolute;
    left: 5%;
    top: 10px;
}
#headerLogo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}


/* Style iframe to look like a Bootstrap form-control */
.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 45px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1);
    transform-origin: 0 0;
}

.receipt {
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #f8f9fa;
}

.receipt-header {
    text-align: center;
    margin-bottom: 2rem;
}

.line-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.total {
    font-weight: bold;
    font-size: 1.2rem;
    border-top: 2px solid #000;
    padding-top: 1rem;
    margin-top: 2rem;
}

.checkout-btn {
    margin-top: 1rem;
    width: 100%;
}
.waiting-overlay {
    position: fixed;
    inset: 0;
    display: none; /* toggled to flex in JS */
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.45);
    z-index: 9999;
}

.waiting-overlay.show {
    display: flex;
}

.waiting-card {
    min-width: 220px;
    text-align: center;
    background: #fff;
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.or-divider hr {
    border-top: 1px solid #ccc;
}



/* Card hover and focus styling */
.package-card {
    transition: all 0.2s ease-in-out;
}

    .package-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    /* Selected card highlight */
    .package-card.selected {
        border: 3px solid #0d6efd !important;
        box-shadow: 0 0 1rem rgba(13, 110, 253, 0.5);
        position: relative;
    }

/* Overlay spinner during submission */
.loading-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem; /* matches Bootstrap .card rounded */
    z-index: 5;
}