﻿/*****************************************************************/
/* Semi-Custom Cakes */
/*****************************************************************/
.sc-cake-qty {
    padding: 6px 12px;
    font-size: 14px;
    font-family: Roboto;
    color: #333;
    line-height: 1.3;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.sc-order-form {
    /*background-color: #f9f9f9;*/
    background: linear-gradient(145deg, rgba(249, 249, 249, 1) 0%, rgba(249, 249, 249, 0) 100%);
    border: 1px solid #dee2e6;
    padding: 10px;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.sc-order-form-title {
    font-family: Roboto-Thin;
    font-size: 34px;
    margin-bottom: 0px;
    color: #666666 !important;
}

.sc-order-form-note {
    font-family: Roboto-Light;
    font-size: 14px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #DF0000 !important;
}

.sc-order-title {
    font-family: Roboto-Thin;
    font-size: 28px;
    margin-bottom: 0px;
    color: #666666 !important;
}

.sc-details-title {
    font-family: Roboto-Thin;
    font-size: 40px;
    margin-bottom: 0px;
    color: #666666 !important;
}

.sc-img-card {
    max-width: 480px;
    max-height: 480px;
    padding: 10px;
    /*margin-top: 5px;*/
    border-radius: 5px 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.sc-details-img {
    max-width: 460px;
    max-height: 460px;
}

.sc-details-card {
    /*max-width: 480px;*/
    padding: 10px;
    /*margin-top: 5px;*/
    border-radius: 5px 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.sc-desc {
    font-size: 16px;
    color: #666666;
}


.sc-validation {
    padding: 6px;
    font-size: 14px;
    font-family: Roboto;
}

.req-indicator {
    display: inline-block;
    width: 1ch;
    color: red;
    font-weight: bold;
}


/* For tool tip on Flavor Picker */
.tooltip.tt-left .tooltip-inner {
    text-align: left;
}


/* Configure Cake Sizes */
/* Lighter header border for Cake Add-Ons table */
.cake-ao-table thead th {
    border-bottom: 1px solid #ccc !important; /* silver-ish, override BS */
}

/*****************************************************************/
/* Custom Cake Request */
/*****************************************************************/
.custom-cake-req {
    font-family: Roboto-Light;
    font-size: 14px;
    max-width: 800px;
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #dee2e6;
    padding: 10px;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.form-section {
    font-family: Roboto-Thin;
    font-size: 20px;
}

.instructions {
    color: #666666;
    font-family: Roboto-Light;
    font-size: 14px;
}

.request-label {
    background-color: #E6E6E6;
    color: #333;
    font-family: Roboto-Light;
    font-size: 14px;
    padding: 4px 6px; /*top right bottom left*/
    border-radius: 5px 5px;
    display: inline-block;
}

.config-label {
    background-color: #bbbbbb;
    color: white;
    font-family: Roboto-Light;
    font-size: 14px;
    padding: 4px 6px; /*top right bottom left*/
    border-radius: 5px 5px;
    display: inline-block;
}

.name-fields {
    max-width: 400px;
}

.zipcode-helper {
    max-width: 255px;
}

.zipcode-field {
    max-width: 200px;
}

.ph-field {
    max-width: 230px;
}

.yes-no-dropdown {
    width: 170px;
}

.num-guests {
    max-width: 100px;
}

.picker-modal-footer {
    padding: 4px !important;
}

/*For Rebinding form-data during Edits*/
/*.fade-options-container {
    opacity: 0;
    transition: opacity 0.3s ease;
}
    .fade-options-container.visible {
        opacity: 1;
    }*/

#icingColorOptions .picker-pill {
    display: grid;
    grid-template-columns: 25% auto; /* first column = 20%, second = only as wide as needed */
    align-items: center;
    gap: 8px; /* space between name and swatch */
    padding: 6px 12px;
    border-top: 1px solid #ddd; /* light gray outline */
    border-radius: 9999px;
    margin-bottom: 4px;
}

    /* optional: truncate overly long names */
    #icingColorOptions .picker-pill .color-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* fixed-size, non‑shrinking swatch */
    #icingColorOptions .picker-pill .color-swatch {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        flex-shrink: 0; /* just in case you ever mix flex/grid contexts */
    }


    #icingColorOptions .picker-pill.selected {
        background-color: #e2f0ff; /* light blue background */
        border: 1px solid #007bff; /* blue outline */
    }


    /* Optional: change hover for icing‑color only */
    #icingColorOptions .picker-pill:hover {
        background-color: #f8f9fa;
    }

    /* dim the whole pill */
    #icingColorOptions .picker-pill.disabled {
        opacity: 0.4; /* lowers everything, but keeps swatch visible */
        pointer-events: none; /* prevent clicks */
    }

        /* optional: make the swatch pop less when disabled */
        #icingColorOptions .picker-pill.disabled .color-swatch {
            box-shadow: none;
            transform: scale(1);
        }

        #icingColorOptions .picker-pill.disabled .item-label {
            opacity: 0.5;
        }

    /* Optionally give the pill itself a faint background to indicate disabled */
    #icingColorOptions .picker-pill.disabled {
        background-color: rgba(0,0,0,0.03);
    }

        /* Ensure swatches stay 100% opaque */
        #icingColorOptions .picker-pill.disabled .color-swatch {
            opacity: 1 !important;
        }

/* any badge with an inline white background will get a border */
.selected-color-badge[style*="background-color:#fff"],
.selected-color-badge[style*="background-color:#ffffff"] {
    border: 1px solid #ccc;
}


.selected-color-badge {
    display: inline-block;
    padding: 4px 8px;
    margin-right: 4px;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1;
}

.grecaptcha-badge {
    bottom: 50px !important; /* adjust to stay above your footer */
}


.custom-cake-req-header {
    padding: 6px;
    background-color: #494949;
    color: white;
}
