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%;
}

.tap-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tap-row {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

    .tap-row:is(:hover,:focus) {
        background: #fafafa;
    }

    .tap-row.is-empty {
        cursor: default;
    }

.tap-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex: 0 0 auto;
    object-fit: cover;
    background: #f2f2f2;
}

    .tap-img.placeholder {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: #f2f2f2;
    }

.tap-text {
    margin-left: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.tap-title {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.tap-number {
    font-size: 12px;
    color: #888;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 999px;
}

.beer-name {
    font-weight: 600;
    color: #111;
}

.brewer-name {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.muted {
    color: #bbb;
}

.chevron {
    font-size: 24px;
    color: #ccc;
    margin-left: 8px;
}
.alert-hide {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}