    .modal-dialog {
        max-width: 700px;
    }

    #lightExplanation{
    margin-top: 8px;
    font-size: 14px;
    color: #00754a;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
    display:none;
}


.copyright-text{
    font-size:10px;
    font-style:italic;
    margin-top:10px;
    }

    .sub-text{
    font-size:10px;
    text-align:center;
    margin-top:0px;
    margin-bottom:0px;
    }

    #starbucks-calculator .input-wrapper {
    display: flex;
    border: 1px solid #ccc;
    overflow: hidden;
    border-radius:4px;
}

#starbucks-calculator .input-wrapper input {
    flex: 1;
    border: none;
    padding: 5px;
    text-align: center;
    outline: none;
}

#starbucks-calculator .input-wrapper button {
    background: #f5f5f5;
    border: none;
    color:#173b33 !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0); /* This makes the tap highlight transparent */
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
        font-size: 1.5em;
        touch-action: manipulation;  /* Disables double-tap zoom, but allows panning */

}

#starbucks-calculator .input-wrapper button:hover, #starbucks-calculator .input-wrapper button:focus{
    background-color: #ddd;

}


#donateButton.btn-primary{
    background: #00754a;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    color:#ffffff;
    max-width: 600px;
    margin: 24px 0 0 0;
    transition: all 0.2s ease;
    text-transform: capitalize;
    vertical-align: bottom;
    border-color:#00754a;
}


button.gift {
    background: #00754a;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    color:#ffffff;
    max-width: 600px;
    margin: 24px 0 0 0;
    transition: all 0.2s ease;
    text-transform: none;
    border-color:#00754a;
}

#donateButton.btn-primary svg{
    margin:5px;
}

#donateButton.btn-primary:hover {
    background: #005c3b;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}



/* Drink Dropdown */

#starbucks-calculator .select2-search__field::placeholder {
        color: #6c757d;
        opacity: 0.8;
    }

    #starbucks-calculator .select2-search--dropdown .select2-search__field {
        padding: 8px 12px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        margin: 5px;
        width: calc(100% - 10px);
        outline:none;
    }

    #starbucks-calculator .select2-results__message {
        color: #6c757d;
        padding: 8px 12px;
    }

#starbucks-calculator .select2-dropdown-clean.select2-selection--single,
        #starbucks-calculator .select2-container--default .select2-selection--single {
            height: 38px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            background-color: #fff;
            outline: none;
        }
        
        #starbucks-calculator .select2-container--default .select2-selection--single .select2-selection__rendered {
            line-height: 36px !important;
            padding-left: 12px !important;
            padding-right: 30px !important;
            color: #444 !important;
            font-size:1rem !important;
        }
        
        #starbucks-calculator .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 36px !important;
            position: absolute;
            top: 0 !important;
            right: 0 !important;
            width: 30px !important;
        }
        
        #starbucks-calculator .select2-dropdown {
            border: 1px solid #ced4da;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        #starbucks-calculator .select2-container--default .select2-results__option {
            padding: 8px 12px;
        }
        
       #starbucks-calculator .select2-container--default .select2-results__option--highlighted[aria-selected] {
            background-color: #006241 !important;
            color: white !important;
        }
        
        #starbucks-calculator .select2-container--default .select2-results__group {
            padding: 8px;
            font-weight: bold;
            background: #f8f9fa;
        }

        /* Make sure all Select2 containers are full width */
       #starbucks-calculator  .select2-container {
            width: 100% !important;
            margin-bottom: 10px;
        }

        /* Style for disabled options */
        #starbucks-calculator .select2-container--default .select2-results__option[aria-disabled=true] {
            color: #999;
        }

        /* Hover state for options */
        #starbucks-calculator .select2-container--default .select2-results__option[aria-selected=false]:hover {
            background-color: #f8f9fa;
        }

        /* Selected state */
        #starbucks-calculator .select2-container--default .select2-results__option[aria-selected=true] {
            background-color: #e9ecef;
        }

        /* Focus state */
        #starbucks-calculator .select2-container--default.select2-container--focus .select2-selection--single {
            border-color: #006241;
        }

        /* Dropdown arrow color */
        #starbucks-calculator .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #666 transparent transparent transparent;
        }

/* Remove the appearance of the number spinner for modern browsers */
#starbucks-calculator .input-wrapper input[type="number"]::-webkit-inner-spin-button,
#starbucks-calculator .input-wrapper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    touch-action: manipulation;  /* Disables double-tap zoom, but allows panning */

}

#starbucks-calculator .input-wrapper input[type="number"] {
    -moz-appearance: textfield;

}


.addinTitle {
    text-align: center;
    overflow: hidden;
    color: #173b33;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1em;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
    font-weight: 300;
}

.addinTitle:before,
.addinTitle:after {
  content: '';
  width: 10%;
  display: inline-block;
  border-bottom: 2px solid;
  height: 0;
  vertical-align: middle;
}
.addinTitle:before {
  margin-left: -100%;
  margin-right: 10px;
}
.addinTitle:after {
  margin-left: 10px;
  margin-right: -100%;
}


#starbucks-calculator .custom-radio {
    display: inline-block;
    position: relative;
    border-bottom: 3px solid transparent;
    width:24%;
    text-align: center;


}

.category-title {
    font-size: 1em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 600;
    color: #00754a;
    text-transform: none;
    margin: 10px;
}

.addinTitle{
    font-size:1.25em;
}






#starbucks-calculator div#checkboxes .flex-align {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 10px;
    background: #fafafa;
    padding: 10px;
    border-radius:3px;
}

.custom-radio input[type="radio"] {
    display: none;
}


.radio-icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 50px;
    margin: 0 auto;
}

.radio-icon svg {
    width: 50px;  
    height: 50px;
    display: block;
}

#cupSize_Short + label .radio-icon svg {
    width: 40px;
    height: 40px;
}

#cupSize_Tall + label .radio-icon svg {
    width: 45px;
    height: 45px;
}

#cupSize_Grande + label .radio-icon svg {
    width: 50px;
    height: 50px;
}

#cupSize_Venti + label .radio-icon svg {
    width: 55px;
    height: 55px;
}

#cupSize_Trenta + label .radio-icon svg {
    width: 60px;
    height: 60px;
}

/* Add these properties to improve rendering */
.radio-icon svg {
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
}


.custom-radio input[type="radio"]:checked + label {
    font-weight: bold;
    color: #00754a;
}

.custom-radio input[type="radio"]:checked + label .radio-icon svg {
    fill: #00754a;
}

.custom-radio label {
    display: flex;
    flex-direction: column;
    align-items: center;
}



#shakenEspressoNote {
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #f8f4ea;
    border-left: 3px solid #00754a;
    color: #1e3932;
    font-size: 13px;
    border-radius: 4px;
    display: none; /* Hidden by default */
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

#shakenEspressoNote.visible {
    display: flex; 
}

#shakenEspressoNote svg {
    margin-right: 8px;
    flex-shrink: 0;
}


select#milkAmount{
    width:300px;
}

#espresso-shots{
    max-width:200px;
}

#starbucks-calculator #checkboxes label {
    box-sizing: border-box;
    vertical-align: middle;
    line-height: 1.2em;
    color: #173b33;
    padding-left: 5px;
    margin-bottom: 15px;
    font-size: .85em !important;
}
.addInDiv {
    padding: 5px;
    width: 25%;
}

#starbucks-calculator input[type="checkbox"] {
    appearance: none;
    border: 2px solid #00754a;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    padding:10px;
    background:#ffffff;

}

#starbucks-calculator input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
    background-color: #00754a;
    border-radius: 50%;
    background-image: url(check.svg);
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}


#starbucks-calculator input[type="checkbox"]:checked + label{
    font-weight:bold;
}



#starbucks-calculator div#checkboxes {
    background: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ededed;
}


#starbucks-calculator select{
    width: 100%;
    margin-bottom: 10px;

}


#starbucks-calculator input[type="number"]#espressoShots{
    width:auto;
}

#checkboxes select{
    font-size: 12px;
}




#addAnotherSyrup, .remove-syrup-btn, #printOrder {
    background:none;
    color: #173b33;
    padding: 5px 10px;
    border:2px solid #173b33;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}




#addAnotherSyrup:hover, .remove-syrup-btn:hover, #printOrder:hover, #donateButton:hover  {
    background-color: #173b33;
    color:#ffffff;
}

#addAnotherSyrup, .remove-syrup-btn{
    margin-top:10px;
}

div#starbucks-calculator {
    padding: 20px;
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 10px;
    max-width:900px;
        position: relative;

}

div#starbucks-calculator label {
    font-size: 0.8em;
}


#nutrition-facts {
    width: 400px;
    border: 2px solid #333;
    border-radius:5px;
    padding: 15px;
    margin: 20px 0;
    background: #fff;

}


#calories-section {
    font-size: 22px;
    border-bottom: 4px solid #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
    width: 100%;
    display: block;
}

#nutrition-facts p {
    margin: 0;
    padding: 4px 0;
    border-bottom: 1px solid #ccc;
    display: block;
    width: 100%;
}

#nutrition-facts p.caffeineText {
    border-bottom: none;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

#nutrition-facts p b {
    font-weight: 700;
}


.flex-container {
    display: flex;
    justify-content: space-between;
}

.flex-item {
    flex: 1;
    margin-right: 10px;
}

.flex-item.largerContainer{
      flex: 1.5;
    margin-right: 10px;
}
}

.flex-item:last-child {
    margin-right: 0;
}
.btn-radio {
    display: inline-block;
    padding: 15px 10px 10px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 15%;
    text-align: center;

}

div#starbucks-calculator label.btn-radio {
    font-size: 1em;
    font-weight: bold;
    font-style: normal;
}

.btn-radio:hover {
    background-color: #cfcfcf;
}

.btn-radio input[type="radio"] {
    display: none;
}


.btn-radio svg{
    width:60px;
    height:60px;
    margin:0 auto;
    display:block;
    text-align:center;
}

/* Appearance when the associated radio button is checked */
input[type="radio"]:checked + .btn-radio {
    color: #ffffff;
    background:#00754a;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
}

/* SVG color changes */
input[type="radio"]:checked + .btn-radio svg path {
    fill: #ffffff;  /* Color for selected SVG */
}

.btn-radio svg path {
    fill: #000;  /* Color for unselected SVG */
    transition: fill 0.3s;  /* Optional: transition for color change */
}



div#drinkType, select#dairyOptions {
    padding-bottom: 10px;
}


#printOrder {
    margin-top:10px;
    background: #173b33 !important;  
    color: #ffffff !important;
    margin-bottom:5px;
}



div#orderSummary li {
    font-size: 0.8em;
    margin-bottom: 0px;
}

div#orderSummary{
        border-bottom: 8px solid #333;

}

.input-append-text {
    /* background-color: #ffffff; */
    align-items: center;
    color: #495057;
    display: flex;
    /* font-weight: 600; */
    padding: 10px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.8em;
    background: #f5f5f5;
}

#orderSummary h4 {
    font-weight: 800;
    margin-top: 0px;
    font-size: 1.5em;
    text-transform: none;
}

.modal-header {
    display: inline-block;
}

h5.modal-title {
    font-weight: 800;
    margin-top: 0px;
    font-size: 2em;
    text-transform: none;
    line-height: 1em;
    color: #00754a;
}

#orderSummary ul{
    margin-top:0px;
}

.reset-button-2 {
   position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.reset-icon {
    width: 1rem;
    height: 1rem;
}

#sticky-banner {
    position: fixed;
    bottom: 110px;
    right: 20px;
    background:#ffffff;
    color: black;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    z-index: 1000;
    display: block;
    text-align: center;
    cursor: pointer;
    border: 2px solid #000000;
        max-width: 175px;
}

span.small-text {
    display: block;
    font-size: .75rem;
    font-style: italic;
}

#sticky-button{
    display:inline-block;
    width:10px;
    padding:2px;
    background:none;
    color: #173b33;
       -webkit-tap-highlight-color: rgba(0,0,0,0); 

}


/************* Mobile view ****************/



@media (max-width: 768px) {  

    #nutrition-facts {
    width:100%;

}

.category-title {
    font-size: 0.9em;
    text-align:center;
}

#starbucks-calculator div#checkboxes {
    padding: 20px 0;
}

    input[type="number"] {
    font-size: 16px;
}

div#drinkType{
    padding-top: 20px;
}

    .flex-container {
        flex-direction: column;
    }
   #checkboxes > div {
        flex-wrap: wrap; 
    }

    #checkboxes .addInDiv {
        flex: 0 0 50%; 
        box-sizing: border-box; 
    }

    .btn-radio {
        width:30%;
    }
 

div#nutrition-facts p {
    display: block;
    padding-right: 20px;
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 2em;
}

div#starbucks-calculator label {
    font-size: 0.8em;
}

div#syrupContainer {
    padding: 20px 0;
}

div#starbucks-calculator input[type="checkbox"] {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}

#starbucks-calculator input[type="checkbox"]:checked::before {
    font-size: 25px;
    line-height: 1.5em;
}

   #checkboxes label {
    display: block;
    text-align: center;
    padding-top:5px;
}

#addAnotherSyrup,.remove-syrup-btn, #printOrder {
    background: none;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}





div#cupSizeContainer {
    margin: 10px 0;
}

div#nutrition-facts h4 {
    color: #00754a;
    font-size: 1.75em;
}

#starbucks-calculator .input-wrapper input {
    flex: 2;
    border: none;
    padding: 1% 15%;
    text-align: center;
    outline: none;
}



}