.my-addresses {
    padding: 25px;

    .address-card-wrap {
        .btn-add-new-address {
            margin-top: 0;
        }

        .address-card-actions {
            display: flex;
            margin-left: -10px;

            .btn {
                padding: 0 10px;
            }

            .btn-edit-address {
                display: flex;
                align-items: center;

                svg {
                    height: 16px;
                    width: 16px;
                    margin-right: 6px;
                    margin-top: -2px;

                    path {
                        stroke: $color-gray;
                    }
                }

                &:hover {
                    color: $color-default;
                    color: var(--color-primary);

                    svg {
                        path {
                            stroke: var(--color-primary);
                        }
                    }
                }
            }

            .btn-delete-address {
                display: flex;
                align-items: center;

                svg {
                    margin-top: -2px;
                    margin-right: 4px;
                    height: 16px;
                    width: 16px;

                    path {
                        stroke: $color-gray;
                    }
                }

                &:hover {
                    color: $color-red;

                    svg {
                        path {
                            stroke: $color-red;
                        }
                    }
                }
            }
        }
    }

    .add-new-address-form {
        margin-top: -7px;

        .section-title {
            margin-bottom: 25px;
            padding-bottom: 13px;
            border-bottom: 1px solid #e5e5e5;
        }

        .btn-cancel {
            margin-right: 12px;
        }
    }
}

@media screen and (max-width: 991px) {
    .my-addresses {
        padding: 20px;
    }

    .address-card-wrap .address-card {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 500px) {
    .my-addresses {
        .address-card-wrap {
            .btn-add-new-address {
                width: 100%;
            }
        }
        
        .add-new-address-form {
            .btn-cancel {
                width: 100%;
                margin-right: 0;
            }
            
            .btn-save-address {
                width: 100%;
                margin-top: 15px;
            }
        }
    }
}
