#detailfast-coupons {
    width: 100%;
    overflow: auto;
    padding: 0.5rem 0;
}

.coupon-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border: solid 1px #A0A0A0;
    border-radius: 0.5rem;
    gap: 0.5rem;
}

.coupon-preview-button {
    cursor: pointer;
}

.coupon-preview-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.coupon-label {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.coupon-count {
    color: #C04058;
    font-weight: 600;
    font-size: 0.8rem;
}

.coupon-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.coupon-code-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.coupon-code {
    color: #C04058;
    font-weight: 600;
}

.coupon-copy-icon {
    font-family: feather;
    cursor: pointer;
    font-size: 1.25rem;
}

    .coupon-copy-icon:before {
        content: "\e934";
    }

    .coupon-copy-icon:hover {
        opacity: 50%;
    }

    .coupon-copy-icon[data-active="true"]:hover {
        opacity: 100%;
        cursor: default;
    }

    .coupon-copy-icon[data-active="true"]:before {
        content: "\e93d";
    }

.coupon-view-icon {
    font-size: 1.25rem;
    font-family: feather;
}
    .coupon-view-icon:before {
        content: "\e942";
    }

.coupon-preview:hover .coupon-view-icon {
    opacity: 50%;
}

.coupon-drawer-container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

    .coupon-drawer-container[data-state="open"] {
        opacity: 1;
        z-index: 500;
    }

.coupon-drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    min-height: 100%;
    width: 30rem;
    max-width: 100%;
    background: #fff;
    transform: translate(100%, 0px);
    -webkit-transform: translate(100%, 0px);
    -moz-transform: translate(100%, 0px);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.coupon-drawer-container[data-state="open"] .coupon-drawer {
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
}

.coupon-drawer-close-icon {
    height: 2rem;
    width: 2rem;
    padding: 0.1rem;
    cursor: pointer;
    text-align: center;
    position: absolute;
    top: 0;
    left: -2rem;
    background: #000;
    font-family: feather;
    color: #fff;
    font-size: 1.25rem;
}

    .coupon-drawer-close-icon:before {
        content: '\ea16';
    }

.coupon-drawer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    overflow-y: auto;
    height: 100%;
}

.coupon-drawer-divider {
    border-bottom: solid 1px #A0A0A0;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.coupon-drawer-header {
    background: #C04058;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
}

.coupon-drawer-close-button {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 0.0625rem solid;
    color: #000;
    font-size: 0.75rem;
    cursor: pointer;
    letter-spacing: 0.1rem;
    gap: 0.25rem;
    font-family: feather;
}

    .coupon-drawer-close-button:before {
        content: '\ea16';
    }
