
.main-container {
    background-color: #f3f4f6;
    position: relative;
    min-height: 80vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.top-container button{
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #6A49C9;
    border-radius: 50px;
    border: 0;
    padding: 12px 24px;
}

.top-container button i{
    margin-right: 8px;
}

.container {
    max-width: 53em;
    width: 100%;
    background-color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: space-between;
    max-width: 53em;
    width: 100%;
}

.step {
    display: flex;
    align-items: center;
    color: #9ca3af;
    font-weight: bold;
    padding: 40px 0 28px;
    cursor: pointer;
    justify-content: flex-start;
    flex-basis: 33.33333%;
}

.step .text {
    margin-left: 10px;
}

.step .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: #00215421;
}

.step .step-icon-path {
    stroke: #9ca3af;
}

.step.active, .step.completed {
    color: #6a49c9;
}

.step.active .icon, .step.completed .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: #6a49c9;
}

.step.active .step-icon-path, .step.completed .step-icon-path {
    stroke: #fff;
}

.delivery-progress-bar {
    width: 100%;
    max-width: 53em;
    background-color: #e0e0e0;
    /*overflow: hidden;*/
}

.progress-bar-inner {
    height: 4px;
    background-color: #6A49C9;
    width: 0;
    /*transition: width 0.3s;*/
}

.step-title {
    font-weight: 700;
    font-size: 28px;
    margin: 48px 0;
    color: #002956;
    text-transform: uppercase;
}

.address-container {
    max-width: 23em;
    width: 100%;
    margin: 0 auto 20px;
}

.address-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    max-width: 23em;
    width: 100%;
    margin: 20px auto;
    position: relative;
    cursor: pointer;
    border: 2px solid #e6ebf59c;
}

.address-item:hover {
    background: #f0f3fa;
}

.address-item.selected {
    background-color: #e6ebf59c;
}

.address-item p {
    margin: 0;
}

.address-item .label {
    color: #002956;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 17px;
}

.address-item .text {
    line-height: 19px;
    color: #8e98b4;
    font-size: 1em;
    font-weight: 500;
}

.address-container .check-icon {
    background: #002956;
    padding: 2px 5px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    margin-left: 10px;
    position: absolute;
    right: 4px;
    top: 4px;
}

.address-form-inner {
    max-width: 23em;
    width: 100%;
    margin: 20px auto;
}

.check-icon {
    display: none;
}

/* Common button styles */
.add-address-btn, .next-btn, .submit-btn, .save-address-btn {
    background-color: #6A49C9;
    color: white;
    padding: 8px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.add-address-btn {
    margin-top: 20px;
}

.cancel-address-btn {
    background-color: #f3f3f3;
    color: #6A49C9;
    border: 1px solid #e6ebf59c !important;
    padding: 8px 24px;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cancel-address-btn:hover, .cancel-address-btn:focus {
    background-color: #f3f3f3;
    color: #6A49C9;
}

.address-button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 47.5px;
    margin-bottom: 60px;
}

.address-button-group button {
    width: 100%;
    max-width: 170px;
    padding: 12px 36px;
    margin: 0;
}

/* Shared styles for next and submit buttons */
.next-btn, .submit-btn {
    padding: 12px;
    margin: 20px auto 60px;
    max-width: 368px;
    max-height: 44px;
    width: 100%;
}

/* Hover state */
.add-address-btn:hover, .save-address-btn:hover, .next-btn:hover, .submit-btn:hover {
    background-color: #5a3db8;
}

/* Focus state */
.add-address-btn:focus, .save-address-btn:focus, .next-btn:focus, .submit-btn:focus {
    background-color: #6A49C9;
}

.help-text {
    text-align: center;
    color: #8e98b4;
    font-size: 12px;
    line-height: 17px;
    margin: 0 58px 40px;
    font-weight: 600;
}

.address-container .info-text {
    color: #ccc;
    text-align: center;
    margin-top: .25em;
    line-height: 1.15;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.address-form .input-group label {
    font-size: 14px;
}

.input-group .required {
    color: #ccc;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.times {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.times select {
    margin: 0 10px;
    border: 1px solid #e6ebf5;
    border-radius: 5px;
    width: 96px;
    font-weight: 700;
    font-size: 1.1em;
    color: #002956;
    padding: 16px;
    appearance: none;
}

.hidden {
    display: none;
}

.button-holder {
    display: flex;
    margin: 20px auto 40px;
    width: 100%;
    max-width: 33.5em;
}

.later-content {
    margin-top: 40px;
}

.button-holder button {
    transition: all .05s ease-in-out;
    position: relative;
    font-weight: 700;
    color: #002956;
    font-size: 17px;
    border: 1px solid #e6ebf5;
    height: 73.5px;
    display: block;
    width: 100%;
    border-radius: 0;
}

.button-holder button:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.button-holder button:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.button-holder button:hover, .button-holder button:focus {
    background-color: #e6ebf5;
}

.option-btn {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: relative;
}

.slots-holder {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.time-slot-btn {
    font-weight: 600;
    color: #002956;
    font-size: 17px;
    border: 1px solid #e6ebf5;
    border-radius: 10px;
    transition: all .05s ease-in-out;
    background: #ffffff;
}

.time-slot-btn:hover {
    color: #002956;
    background-color: #e6ebf5;
}

.time-slot-btn:focus {
    color: #002956;
    background: #ffffff;
}

.time-slot-btn.selected {
    background: #002956;
    color: #fff;
}

.error-msg {
    font-size: 0.75em;
    color: red;
    margin-top: .25em;
    font-weight: 600;
}

.next-btn.disabled {
    background-color: #ccc;
    cursor: default;
    pointer-events: none;
    opacity: 1;
}

.option-btn::after, .date-btn.selected::after {
    content: "";
    display: none; /* Default hidden */
    font-family: 'Font Awesome 5 Free'; /* If using Font Awesome */
    background: #002956;
    padding: 2px 5px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    margin-left: 10px;
    position: absolute;
    right: 4px;
    top: 4px;
}

.option-btn.active::after, .date-btn.selected::after {
    content: "\f00c"; /* Font Awesome checkmark */
    display: inline-block; /* Show for the active button */
}

.option-btn.active, .date-btn.selected {
    background: #e6ebf5;
}

.option-btn.disabled {
    background-color: #ccc;
    color: #666;
    pointer-events: none;
    opacity: 0.6;
}

.asap-content p, .later-content p {
    font-weight: 600;
    margin-bottom: 20px;
}

.payment {
    text-align: left;
}

.delivery-info {
    display: inline-flex;
    width: 100%;
    margin-bottom: 25px;
    border: 1px solid rgba(230, 235, 245, .61);
    border-radius: 5px;
    padding: 20px;
}

.delivery-info .info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex-grow: 1;
}

.delivery-info .info-label {
    font-weight: 800;
    margin-bottom: 7px;
    font-size: 14px;
    color: #002154;
}

.delivery-info .info-text {
    line-height: 1.5em;
    color: #002956;
    font-weight: 500;
}

.payment-title {
    font-weight: 700;
    text-align: center;
    margin: 48px 0 40px;
    padding: 0 80px;
    font-size: 28px;
    color: #002154;
    text-transform: uppercase;

}

.payment {
    padding: 40px 80px 53px;
}

.payment .comment {
    color: #002154;
    margin-bottom: 25px;
    position: relative;
    border: 1px solid rgba(230, 235, 245, .61);
    border-radius: 5px;
    padding: 15px;
}

.payment .comment-title {
    font-size: 14px;
    font-weight: 700;
    color: #002154;
    margin-left: 2px;
}

.payment textarea {
    width: 100%;
    height: 55px;
    border: none;
    color: #002154;
    padding: 0;
}

.payment .order-title {
    color: #002956;
    font-size: 24px;
    margin: 40px 0 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.payment .order-list .labels {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #002956;
    border-bottom: .5px solid #858f9a;
    padding: 15px;
}

.product {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid #f3f3f3;
    height: 80px;
    position: relative;
    padding: 15px;
}

.product-info {
    font-weight: 700;
    flex-grow: 1;
    margin: 0 10px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.product-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, 0) 60%, #fff);
}

.product-image {
    padding: 12px;
    width: 5em;
    height: 5em;
}

.product-underline {
    color: #858f9a;
    font-size: .8em;
    font-weight: 600;
}

.product-details .price {
    font-weight: 700;
    text-align: right;
    color: #002956;
    font-size: 24px;
}

.product-details .line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.product-details .total.line {
    color: #002956;
    font-weight: 700;
    font-size: 20px;
    border-top: .5px solid #858f9a;
    border-bottom: .5px solid #858f9a;
    padding: 25px 15px 15px;
    margin-bottom: 50px;
}

.attention {
    background-color: #f1f4fc;
    padding: 20px;
    border-radius: 5px;
    color: #002154;
    line-height: 21px;
    margin-bottom: 20px;
}

.attention .label{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.attention .text{
    font-size: 15px;
    font-weight: 500;
}

.delivery-fee .label{
    font-weight: 600;
}

.delivery-fee .price{
    font-size: 18px;
}

/*-----------------------------------------------------------------*/
.autocomplete-container {
    /* relative position for at de absolut positionerede forslag får korrekt placering.*/
    position: relative;
    width: 100%;
    max-width: 30em;
}

.autocomplete-container input {
    /* Både input og forslag får samme bredde som omkringliggende DIV */
    width: 100%;
    box-sizing: border-box;
}

.dawa-autocomplete-suggestions {
    margin: 0.3em 0 0 0;
    padding: 0;
    text-align: left;
    border-radius: 0.3125em;
    background: #fcfcfc;
    box-shadow: 0 0.0625em 0.15625em rgba(0, 0, 0, .15);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9999;
    overflow-y: auto;
    box-sizing: border-box;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
    margin: 0;
    list-style: none;
    cursor: pointer;
    padding: 0.4em 0.6em;
    color: #333;
    border: 0.0625em solid #ddd;
    border-bottom-width: 0;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    border-bottom-width: 0.0625em;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected,
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover {
    background: #f0f0f0;
}