withfriends-dropdown {
    display: inline-block;
    line-height: 1.42857143;
    width:100%;
    color:black;
    margin-top:12px;
    margin-bottom:12px;
}

withfriends-dropdown .wf-membership-widget-wrapper {
    display:flex;
}
withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget {
    flex-grow: 1; 
    display:initial !important;
}
withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget > fieldset {
    padding:0;
    margin:0;
    border:0;
}

.wf-ad {
    position:relative;
    cursor: pointer;
    text-align:center;
    font-size:14px;
    margin:auto;
    width:max-content;
    margin-top:0;
    margin-bottom:0;
}
.wf-ad > p {
    text-decoration: underline;
    font-weight: bold;
    display:inline;
}
.wf-ad:hover {
    margin:initial;
    width:initial;
}
.wf-ad:hover > p {
    display:block;
}
.wf-ad:hover .wf-popup {
    display:block;
}
.wf-ad .wf-popup {
    display:none;
    position:absolute;
    top:0;
    left: 50%;
    transform: translate(-50%);
    width:max-content;
    max-width:100%;
    z-index:2147483647;
    font-size:14px;
}
.wf-ad .wf-popup > div {
    margin-top:32px;
    padding:1rem 1.5rem;
    background:white;
    border: solid 1px black;
    box-shadow: 0 1px 4px rgb(0 0 0 / 50%);
    position:relative;
}
.wf-ad .wf-popup > div::before {
    content:'';
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    position:absolute;
    top: -7px;
    left: calc(50% - 6px);
    background:white;
    border-left: solid 1px black;
    border-top: solid 1px black;
}
.wf-ad .wf-popup .wf-powered-by {
    text-decoration:none;
    display: inline-block;
    margin-top:20px;
    margin-bottom:.25rem;
    background: #ff877b;
    color: white;
    padding: 9px;
    border: none;
    padding-left: 24px;
    padding-right: 24px;
    box-shadow: 0 2px 4px 0px rgb(0 0 0 / 20%);
}
.wf-ad .wf-popup .wf-powered-by:hover {
    text-decoration:none;
    background: #ff7668;
}
.wf-ad .wf-popup .wf-link {
    line-height: 1;
    font-weight: 700;
    width: fit-content;
    display: inline-block;
    color:black;
    text-decoration:none;
}
.wf-ad .wf-popup .wf-link:hover {
    color:black;
    border-bottom: solid 1px #ff877b;
}

withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget h2 {
    padding: 0;
    margin: 0;
    font-size: 24px;
    font-weight: 700; 
    text-transform: none;
    letter-spacing: initial;	
    float:none;
}

withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget .input-wrapper {
    border: solid 1px black; 
    padding-right:2px; 
    margin-top:1rem; 
    margin-bottom:1rem;
    position:relative;
    box-shadow:none;
    background-color:white;
}

withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget .input-wrapper img {
    height: 16px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translate(0, -50%);
    z-index:1;
}
@media (min-width: 768px){
    withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget .input-wrapper img {
        height:20px
    }	
}

withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget .input-wrapper select {
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    background-image: url(https://withfriends-assets.s3.us-east-2.amazonaws.com/images/icons8-expand-arrow-100.png);
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: calc(100% + -5px);
    background-color:white;
    font-weight:bold; display:block; margin-left:auto; margin-right:auto; text-align:center; cursor:pointer; outline:none;
    border:none;
    width:100%;
    padding-left: 48px;
    padding-right: 32px;
    padding-top:10px;
    padding-bottom:10px;
    box-shadow:none;
    font-size:16px;
    height:min-content;
    color:black;
    margin:0;
}
withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget .input-wrapper select option {
    line-height:20px;
    font-size:16px;
}
withfriends-dropdown .wf-membership-widget-wrapper .wf-membership-widget .input-wrapper select:focus {
    outline:none;
}
withfriends-dropdown .wf-first-shipment-date {
    display:none;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: solid 1px #ff877b;
    text-align:center;
    padding: 1rem;
}

#wf-gift-button-wrapper {
    text-align: center; /* This will help keep the button centered */
    margin-top:20px;
}

#wf-gift-button.loading {
    display:none;
}

#wf-gift-button {
    background: linear-gradient(135deg, #ff877b, #e76a70);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    position:relative;
    overflow:hidden;
}

#wf-gift-button svg {
    position: absolute; /* Absolute position the icon */
    left: 10px; /* Or your desired spacing from the left */
    top: calc(50% - 1px);
    transform: translateY(-50%);
}

#wf-gift-button .button-text {
    display: block;
    text-align: center; /* Center the text */
    width: 100%;
    height: 100%;
}

#wf-gift-button:hover {
    background: linear-gradient(135deg, #ff9988, #e77a75);
    background: linear-gradient(135deg, #e76265, #cf6058);
}