.delivery-widget {
    background: white;
    /* border-radius: 12px; */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-width: 100%;
    margin: 20px auto;
    /*overflow: hidden;*/
    font-family: 'Segoe UI', sans-serif;
}
.widget-header {
    background: #4a6bdf;
    color: white;
    padding: 20px;
    text-align: center;
}
.search-container {
    display: flex;
    margin: 20px;
    padding: 1%;
}
#zipcode-input {
    flex: 1;
    padding: 12px;
    border: 3px solid #CCE5F0;
    /* border-radius: 8px 0 0 8px; */
    font-size: 16px;
    /* color: #ADC1C9; */
}
#search-btn {
    background: transparent !important;
    color: white;
    border: none;
    padding: 0;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    position: absolute;
    right: 0%;
    top: 24%;
    color: #536C79;
}
.results-container {
    padding: 20px;
    padding-top: 0px;
}
.result-card {
    /* background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center; */
  border: 1px solid #d9e3ec;
  background: #f9fbfc;
  padding: 3%;
  padding-bottom: 2%;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
}
.success-card { border-top: 4px solid #28a745; height: auto;}
.error-card { border-top: 4px solid #8db9cd; display: flex !important; justify-content: start;}
.result-icon { font-size: 40px; margin-bottom: 10px; }
.success-icon { color: #28a745; }
.error-icon { color: #8db9cd; font-size: 300%;}
.result-title { font-size: 18px; margin: 10px 0; }
.success-title { color: #28a745; }
.error-title { color: #8db9cd; }
.phone-number { margin-top: -8px; font-size: 200%; color: #9EC3D5;}
.dal-cta-btn {
    display: inline-block;
    /* margin-top: 15px; */
    padding: 12px 20px;
    background: #91B7CA;
    color: #2A2826;
    font-weight: 600;
    width: 12%;
    display: flex;
    justify-content: center;
    /* border-radius: 8px; */
    text-decoration: none;
    font-weight: 700;
}
.dal-cta-btn:hover { background: #91B7CA; }
.hidden { display: none; }

.dal-suggestion {
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.dal-suggestion:hover {
    background: #f1f3f5;
}

#dal-suggestions {
    margin-top: 50px;
    font-size: 14px;
    background: #fff;
    border-radius: 6px;
    margin-left: 36.7%;
}
.dal-suggestion {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.dal-suggestion:last-child {
    border-bottom: none;
}
.dal-suggestion:hover {
    background: #f1f3f5;
}
.dal-suggestion.active {
    background: #f0f4ff;
    font-weight: 600;
}

@media (max-width: 1266px){
    #dal-suggestions {
    width: 10%;
    margin-left: 452.625px;
    margin-top: 59.0312px;
}
.dal-cta-btn{
    width: 20%;
}
}

@media (max-width: 1024px){
    #dal-suggestions {
    width: 10%;
    margin-left: 452.625px;
    margin-top: 59.0312px;
}
.dal-cta-btn{
    width: 25%;
}
}

@media (max-width: 900px){
    #dal-suggestions {
    width: 10%;
    margin-left: 430px;
    margin-top: 51.5938px;
}
}

@media (max-width: 800px){
    #dal-suggestions {
    width: 10%;
    margin-left: 418px;
    margin-top: 45.5938px;
}
}

@media (max-width: 768px){
.search-container{
    display: block;
}
.phone-number{
    font-size: 150%;
}
.location-details{
    font-size: 130% !important;
    line-height: 100%;
    margin-bottom: 10px !important;
}
.dal-cta-btn{
    width: 40%;
    text-align: center;
}
#dal-suggestions {
    width: 100% !important;
    margin-left: 0px;
    margin-top: 0px;
}
#search-btn{
    top: 55%;
}
}

@media (max-width: 575px){
    #search-btn {
    margin-top: 0% !important;
    margin-right: 0% !important;
}
.search-container h3 {
    padding: 0 !important;
    font-size: 24px;
}
.dal-cta-btn{
    width: 40% !important;
    font-size: 13px !important;
}
.franchisee-actions{
    width: auto !important;
}
}

@media (max-width: 493px){
    .result-card{
        display: block;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 452px){
    #search-btn {
    margin-top: 4.5% !important;
    margin-right: 0% !important;
}
}

@media (max-width: 493px){
    .dal-cta-btn{
        width: 55% !important;
    }
}