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%;
}

body {
    margin-bottom: 60px;
}

.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;
}

.credit-card-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .credit-card-icons i {
        font-size: 2rem;
        color: #6c757d;
    }

    .credit-card-icons .fa-cc-visa {
        color: #1A1F71;
    }

    .credit-card-icons .fa-cc-mastercard {
        color: #EB001B;
    }

    .credit-card-icons .fa-cc-amex {
        color: #006FCF;
    }

    .credit-card-icons .fa-cc-discover {
        color: #FF6000;
    }

/* Menu Image Placeholders */
.card-img-wrapper.no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.no-image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* Increased padding for better spacing */
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem; /* Center horizontally and add bottom margin */
    display: block;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.placeholder-text {
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.2;
    max-width: 80%;
    color: #6c757d;
    font-weight: 500;
}

/* Hover effects */
.menu-card:hover .no-image-placeholder {
    opacity: 0.9;
}

.menu-card:hover .placeholder-icon {
    transform: translateY(-3px);
    opacity: 0.4;
}

/* For different views that might use the helper */
.menu-image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    padding: 2rem;
}

    .menu-image-placeholder svg {
        width: 50px;
        height: 50px;
        opacity: 0.3;
        margin-bottom: 0.5rem;
    }

    .menu-image-placeholder span {
        font-size: 0.875rem;
        color: #6c757d;
        text-align: center;
        padding: 0 1rem;
    }

/* Specific adjustments for different contexts */
/* Quick view modal */
.modal-body .placeholder-icon {
    width: 50px;
    height: 50px;
}

/* Menu sidebar view */
.card .bg-light .placeholder-icon {
    width: 40px;
    height: 40px;
}

/* Item detail page */
.col-md-6 .bg-light img[src*="food-placeholder"] {
    width: 80px;
    height: 80px;
}